Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.001218/0.001218, allocations: 119 kB / 19.69 MB, free: 2.199 MB / 14.72 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.00141/0.00141, allocations: 222.2 kB / 23.01 MB, free: 5.047 MB / 14.72 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 1.376/1.376, allocations: 230.6 MB / 256.8 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9056/0.9056, allocations: 150 MB / 463.2 MB, free: 10.47 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 66.72 kB / 0.6413 GB, free: 10.29 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1725, allocations: 89.18 MB / 0.7284 GB, free: 1.18 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5731/0.7456, allocations: 183.2 MB / 0.9073 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.009747/0.7554, allocations: 7.937 MB / 0.9151 GB, free: 8.004 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005322/0.7559, allocations: 27.75 kB / 0.9151 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000715/0.7566, allocations: 266.1 kB / 0.9153 GB, free: 7.715 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003163/0.7598, allocations: 1.276 MB / 0.9166 GB, free: 6.434 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.7616, allocations: 0.7664 MB / 0.9173 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001365/0.763, allocations: 1.091 MB / 0.9184 GB, free: 4.574 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005263/0.7635, allocations: 333.5 kB / 0.9187 GB, free: 4.246 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002729/0.7663, allocations: 1.03 MB / 0.9197 GB, free: 3.223 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006426/0.7669, allocations: 442.4 kB / 0.9201 GB, free: 2.789 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 5.838e-05/0.767, allocations: 36 kB / 0.9202 GB, free: 2.754 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/0.7687, allocations: 1.009 MB / 0.9212 GB, free: 1.742 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.7689, allocations: 159.5 kB / 0.9213 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002523/0.7691, allocations: 258.7 kB / 0.9216 GB, free: 1.332 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.7704, allocations: 0.9404 MB / 0.9225 GB, free: 400 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7705, allocations: 0 / 0.9225 GB, free: 400 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7705, allocations: 0 / 0.9225 GB, free: 400 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.7705, allocations: 0 / 0.9225 GB, free: 400 kB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001148/0.7716, allocations: 0.7381 MB / 0.9232 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.7717, allocations: 16.02 kB / 0.9232 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.587e-05/0.7717, allocations: 78.53 kB / 0.9233 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009222/0.7727, allocations: 147.5 kB / 0.9234 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006009/0.7733, allocations: 340.4 kB / 0.9238 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.7733, allocations: 33 kB / 0.9238 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/0.7734, allocations: 36.88 kB / 0.9238 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007233/0.7741, allocations: 450.3 kB / 0.9242 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.7741, allocations: 0 / 0.9242 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.7741, allocations: 16 kB / 0.9243 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.7741, allocations: 16 kB / 0.9243 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006065/0.7747, allocations: 319.7 kB / 0.9246 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002279/0.777, allocations: 1.973 MB / 0.9265 GB, free: 12 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004106/0.7774, allocations: 226.4 kB / 0.9267 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.7777, allocations: 144.6 kB / 0.9269 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004652/0.7782, allocations: 76.33 kB / 0.9269 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.7782, allocations: 34.55 kB / 0.927 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=24): time 1.293e-06/0.7782, allocations: 0 / 0.927 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of matching and sorting (n=24): time 0.001018/0.7792, allocations: 460.8 kB / 0.9274 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.7792, allocations: 55.41 kB / 0.9275 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004338/0.7797, allocations: 398 kB / 0.9278 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.7797, allocations: 33.7 kB / 0.9279 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.7799, allocations: 232.5 kB / 0.9281 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 8.383e-05/0.78, allocations: 87.22 kB / 0.9282 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.08e-05/0.7801, allocations: 53.7 kB / 0.9282 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.7803, allocations: 354.7 kB / 0.9286 GB, free: 9.82 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.7805, allocations: 111.9 kB / 0.9287 GB, free: 9.711 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/0.7808, allocations: 182.8 kB / 0.9288 GB, free: 9.508 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005161/0.7813, allocations: 309.9 kB / 0.9291 GB, free: 9.184 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.7813, allocations: 0 / 0.9291 GB, free: 9.184 MB / 0.7012 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000654/0.782, allocations: 368.9 kB / 0.9295 GB, free: 8.816 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.782, allocations: 8 kB / 0.9295 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.782, allocations: 0 / 0.9295 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.782, allocations: 4 kB / 0.9295 GB, free: 8.805 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.7823, allocations: 64.12 kB / 0.9296 GB, free: 8.742 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.7823, allocations: 4 kB / 0.9296 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.7825, allocations: 39.72 kB / 0.9296 GB, free: 8.699 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/0.7826, allocations: 15.94 kB / 0.9296 GB, free: 8.684 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (31): * Single equations (assignments): 31 * 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 0.0001773/0.7827, allocations: 165.7 kB / 0.9298 GB, free: 8.512 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.293e-05/0.7828, allocations: 47.72 kB / 0.9298 GB, free: 8.465 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007139/0.7835, allocations: 366.6 kB / 0.9302 GB, free: 8.105 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.7835, allocations: 4 kB / 0.9302 GB, free: 8.102 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.7835, allocations: 0 / 0.9302 GB, free: 8.102 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/0.7835, allocations: 7.922 kB / 0.9302 GB, free: 8.094 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.785, allocations: 0.9145 MB / 0.9311 GB, free: 7.109 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.785, allocations: 3.938 kB / 0.9311 GB, free: 7.105 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.7853, allocations: 47.95 kB / 0.9311 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.7853, allocations: 7.984 kB / 0.9311 GB, free: 7.051 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.7853, allocations: 8 kB / 0.9311 GB, free: 7.043 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.7853, allocations: 7.984 kB / 0.9312 GB, free: 7.035 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.7853, allocations: 224 / 0.9312 GB, free: 7.035 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009759/0.7863, allocations: 0.6336 MB / 0.9318 GB, free: 6.363 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.7864, allocations: 75.66 kB / 0.9318 GB, free: 6.289 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.009e-05/0.7865, allocations: 0 / 0.9318 GB, free: 6.289 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.7867, allocations: 12 kB / 0.9319 GB, free: 6.277 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.7867, allocations: 19.97 kB / 0.9319 GB, free: 6.258 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.7868, allocations: 19.98 kB / 0.9319 GB, free: 6.238 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0003088/0.7871, allocations: 283.1 kB / 0.9322 GB, free: 5.965 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.7871, allocations: 0 / 0.9322 GB, free: 5.965 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004669/0.7875, allocations: 115.8 kB / 0.9323 GB, free: 5.852 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (24): * Single equations (assignments): 24 * 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.001498/0.789, allocations: 1.23 MB / 0.9335 GB, free: 4.578 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0006154/0.7897, allocations: 275.6 kB / 0.9337 GB, free: 4.309 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.7897, allocations: 4 kB / 0.9337 GB, free: 4.305 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002793/0.7899, allocations: 140.7 kB / 0.9339 GB, free: 4.168 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.791, allocations: 222.9 kB / 0.9341 GB, free: 3.961 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004998/0.796, allocations: 3.794 MB / 0.9378 GB, free: 8 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.7965, allocations: 0.8311 MB / 0.9386 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002769/0.7968, allocations: 91.42 kB / 0.9387 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.797, allocations: 139.4 kB / 0.9388 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of SimCode: time 5.81e-07/0.797, allocations: 3.938 kB / 0.9388 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04307/0.8401, allocations: 11.98 MB / 0.9505 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.92, allocations: 9.453 kB / 0.9505 GB, free: 3.211 MB / 0.7169 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.642141719999927] Failed to read output from testmodel.py, exit status != 0: 12.025816148001468 12.052211458 11.27679121 Calling exit ...