Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009394/0.0009394, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8942/0.8942, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5256/0.5256, allocations: 110.3 MB / 369.4 MB, free: 12.61 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.5473 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.267e-05, allocations: 4.953 kB / 0.5473 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002487/0.002509, allocations: 1.303 MB / 0.5485 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.003553, allocations: 0.5409 MB / 0.5491 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.162e-05/0.003585, allocations: 3.938 kB / 0.5491 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.47e-05/0.003609, allocations: 7.922 kB / 0.5491 GB, free: 7.949 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.268e-05/0.003652, allocations: 3.984 kB / 0.5491 GB, free: 7.945 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006105/0.004263, allocations: 143.2 kB / 0.5492 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.181e-05/0.004334, allocations: 23.91 kB / 0.5493 GB, free: 7.781 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.004378, allocations: 4 kB / 0.5493 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.974e-05/0.004438, allocations: 15.92 kB / 0.5493 GB, free: 7.762 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.954e-05/0.004488, allocations: 8 kB / 0.5493 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.004504, allocations: 0 / 0.5493 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002757/0.004779, allocations: 275.3 kB / 0.5495 GB, free: 7.484 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.004793, allocations: 4 kB / 0.5495 GB, free: 7.48 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.773e-05/0.004811, allocations: 8 kB / 0.5496 GB, free: 7.473 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.004997, allocations: 151.5 kB / 0.5497 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.004999, allocations: 0 / 0.5497 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.142e-06/0.005, allocations: 0 / 0.5497 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.005004, allocations: 0 / 0.5497 GB, free: 7.324 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003424/0.005346, allocations: 282 kB / 0.55 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.005387, allocations: 12.03 kB / 0.55 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.838e-05/0.005415, allocations: 34.75 kB / 0.55 GB, free: 6.961 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.679e-05/0.005442, allocations: 4.891 kB / 0.55 GB, free: 6.957 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.19e-05/0.005524, allocations: 113.7 kB / 0.5501 GB, free: 6.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.005535, allocations: 384 / 0.5501 GB, free: 6.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.005555, allocations: 4.375 kB / 0.5501 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.005669, allocations: 71.88 kB / 0.5502 GB, free: 6.734 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.331e-06/0.005675, allocations: 192 / 0.5502 GB, free: 6.734 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.005685, allocations: 4.375 kB / 0.5502 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.005691, allocations: 4.125 kB / 0.5502 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.624e-05/0.005727, allocations: 15.92 kB / 0.5502 GB, free: 6.711 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001359/0.005863, allocations: 128.8 kB / 0.5503 GB, free: 6.543 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.006047, allocations: 38.61 kB / 0.5504 GB, free: 6.496 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.899e-05/0.006076, allocations: 24.88 kB / 0.5504 GB, free: 6.469 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.006094, allocations: 0 / 0.5504 GB, free: 6.469 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.006114, allocations: 34.5 kB / 0.5504 GB, free: 6.426 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.006115, allocations: 0 / 0.5504 GB, free: 6.426 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0004871/0.006602, allocations: 237.1 kB / 0.5507 GB, free: 6.16 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.006628, allocations: 55.39 kB / 0.5507 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.886e-05/0.006677, allocations: 97.86 kB / 0.5508 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.006686, allocations: 25.7 kB / 0.5508 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.212e-05/0.006708, allocations: 84.14 kB / 0.5509 GB, free: 5.871 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.006733, allocations: 31.73 kB / 0.5509 GB, free: 5.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/0.006759, allocations: 17.72 kB / 0.551 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.172e-05/0.006831, allocations: 314.8 kB / 0.5513 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.873e-05/0.00685, allocations: 11.98 kB / 0.5513 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.742e-05/0.006867, allocations: 12 kB / 0.5513 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.44e-05/0.006911, allocations: 32.8 kB / 0.5513 GB, free: 5.441 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.006912, allocations: 0 / 0.5513 GB, free: 5.441 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.577e-05/0.006978, allocations: 65.69 kB / 0.5514 GB, free: 5.371 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.00699, allocations: 4 kB / 0.5514 GB, free: 5.367 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.006994, allocations: 4 kB / 0.5514 GB, free: 5.363 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.007006, allocations: 3.938 kB / 0.5514 GB, free: 5.359 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.631e-05/0.007043, allocations: 15.98 kB / 0.5514 GB, free: 5.344 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.007047, allocations: 0 / 0.5514 GB, free: 5.344 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.029e-05/0.007057, allocations: 0 / 0.5514 GB, free: 5.344 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.007063, allocations: 4 kB / 0.5514 GB, free: 5.34 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.588e-05/0.007119, allocations: 113.8 kB / 0.5515 GB, free: 5.219 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-06/0.007125, allocations: 4 kB / 0.5515 GB, free: 5.215 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.616e-05/0.007222, allocations: 77.8 kB / 0.5516 GB, free: 5.129 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.007224, allocations: 3.938 kB / 0.5516 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.007229, allocations: 4 kB / 0.5516 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.007232, allocations: 0.5156 kB / 0.5516 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.007448, allocations: 286.5 kB / 0.5519 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.00745, allocations: 3.938 kB / 0.5519 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.00749, allocations: 15.98 kB / 0.5519 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.007493, allocations: 7.938 kB / 0.5519 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.007499, allocations: 0 / 0.5519 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.0075, allocations: 0 / 0.5519 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.007501, allocations: 0 / 0.5519 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.007628, allocations: 180.3 kB / 0.5521 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.648e-05/0.007644, allocations: 12.06 kB / 0.5521 GB, free: 4.555 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.298e-06/0.007654, allocations: 4 kB / 0.5521 GB, free: 4.551 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.107e-05/0.007695, allocations: 0 / 0.5521 GB, free: 4.551 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.007708, allocations: 7.984 kB / 0.5521 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.007712, allocations: 4 kB / 0.5521 GB, free: 4.539 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.285e-05/0.007735, allocations: 79.28 kB / 0.5522 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.007735, allocations: 0 / 0.5522 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001638/0.007899, allocations: 23.92 kB / 0.5522 GB, free: 4.438 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003394/0.008238, allocations: 0.7365 MB / 0.5529 GB, free: 3.672 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.818e-05/0.008317, allocations: 40.05 kB / 0.553 GB, free: 3.633 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.008318, allocations: 0 / 0.553 GB, free: 3.633 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.866e-05/0.008337, allocations: 24.17 kB / 0.553 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.008493, allocations: 3.938 kB / 0.553 GB, free: 3.605 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007879/0.009281, allocations: 1.317 MB / 0.5543 GB, free: 2.199 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.015e-05/0.009321, allocations: 63.34 kB / 0.5543 GB, free: 2.117 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.239e-05/0.009344, allocations: 4 kB / 0.5543 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.009372, allocations: 16.5 kB / 0.5543 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of SimCode: time 4.01e-07/0.009372, allocations: 0 / 0.5543 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0155/0.02487, allocations: 2.283 MB / 0.5566 GB, free: 36 kB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.668/6.693, allocations: 4.359 kB / 0.5566 GB, free: 36 kB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.230325849726796] Failed to read output from testmodel.py, exit status != 0: 6.771821173839271 6.780007332 6.773276759 Calling exit ...