Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.0009239/0.0009239, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001012/0.001012, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8858/0.8858, allocations: 177.1 MB / 203.5 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.5611/0.5611, allocations: 114 MB / 373.9 MB, free: 8.695 MB / 346.7 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.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.5542 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.405e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002552/0.002576, allocations: 2.031 MB / 0.5562 GB, free: 0.6914 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.004111, allocations: 1.009 MB / 0.5572 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.004242, allocations: 11.88 kB / 0.5572 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 4.674e-05/0.004289, allocations: 23.73 kB / 0.5572 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.004563, allocations: 83.16 kB / 0.5573 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.004961, allocations: 203.4 kB / 0.5575 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002821/0.005243, allocations: 298.6 kB / 0.5578 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.005383, allocations: 40.91 kB / 0.5578 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.005541, allocations: 155.7 kB / 0.5579 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.005713, allocations: 111.7 kB / 0.5581 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.005744, allocations: 16 kB / 0.5581 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003006/0.006044, allocations: 279.6 kB / 0.5583 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.227e-05/0.006087, allocations: 55.75 kB / 0.5584 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.782e-05/0.006164, allocations: 79.77 kB / 0.5585 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004159/0.00658, allocations: 358.8 kB / 0.5588 GB, free: 14 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.006583, allocations: 0 / 0.5588 GB, free: 14 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.343e-06/0.006585, allocations: 3.938 kB / 0.5588 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.006591, allocations: 0 / 0.5588 GB, free: 13.99 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006963/0.007287, allocations: 0.5631 MB / 0.5594 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.007325, allocations: 8.031 kB / 0.5594 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.113e-05/0.007366, allocations: 46.73 kB / 0.5594 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.007502, allocations: 36.75 kB / 0.5594 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.007794, allocations: 236.7 kB / 0.5597 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.007806, allocations: 8.656 kB / 0.5597 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.007823, allocations: 16.38 kB / 0.5597 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.00814, allocations: 236.5 kB / 0.5599 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.008148, allocations: 0 / 0.5599 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.008164, allocations: 8 kB / 0.5599 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.00817, allocations: 8 kB / 0.5599 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003453/0.008516, allocations: 195.7 kB / 0.5601 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007474/0.009263, allocations: 0.879 MB / 0.561 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004544/0.009717, allocations: 233.1 kB / 0.5612 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.009884, allocations: 101.6 kB / 0.5613 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.009904, allocations: 0 / 0.5613 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.009923, allocations: 38.56 kB / 0.5613 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.009924, allocations: 0 / 0.5613 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.0006387/0.01056, allocations: 333.5 kB / 0.5617 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.01061, allocations: 89.03 kB / 0.5617 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.01079, allocations: 268.1 kB / 0.562 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.01081, allocations: 33.7 kB / 0.562 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.284e-05/0.01089, allocations: 160.4 kB / 0.5622 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.01092, allocations: 55.52 kB / 0.5622 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.557e-05/0.01098, allocations: 45.7 kB / 0.5623 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.975e-05/0.01107, allocations: 334.8 kB / 0.5626 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.01124, allocations: 91.92 kB / 0.5627 GB, free: 9.777 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.01142, allocations: 146.4 kB / 0.5628 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.01178, allocations: 245.7 kB / 0.5631 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01178, allocations: 0 / 0.5631 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005477/0.01233, allocations: 297.1 kB / 0.5633 GB, free: 9.055 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.01235, allocations: 4 kB / 0.5633 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.01235, allocations: 4 kB / 0.5633 GB, free: 9.047 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.01237, allocations: 0 / 0.5633 GB, free: 9.047 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.01253, allocations: 59.95 kB / 0.5634 GB, free: 8.988 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.01254, allocations: 8.062 kB / 0.5634 GB, free: 8.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.01266, allocations: 43.84 kB / 0.5635 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.01267, allocations: 8 kB / 0.5635 GB, free: 8.93 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 9.241e-05/0.01277, allocations: 125.9 kB / 0.5636 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/0.01283, allocations: 35.69 kB / 0.5636 GB, free: 8.762 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004704/0.0133, allocations: 291.2 kB / 0.5639 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.01331, allocations: 4 kB / 0.5639 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.01331, allocations: 0 / 0.5639 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.01332, allocations: 4 kB / 0.5639 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003572/0.01367, allocations: 244.5 kB / 0.5641 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.01368, allocations: 0 / 0.5641 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/0.01392, allocations: 59.88 kB / 0.5642 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.01393, allocations: 4 kB / 0.5642 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.01394, allocations: 4 kB / 0.5642 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.01395, allocations: 4 kB / 0.5642 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.01395, allocations: 0 / 0.5642 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007428/0.01469, allocations: 442.3 kB / 0.5646 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.696e-05/0.01474, allocations: 27.78 kB / 0.5647 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.01477, allocations: 8 kB / 0.5647 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.015, allocations: 23.97 kB / 0.5647 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.574e-05/0.01507, allocations: 19.97 kB / 0.5647 GB, free: 7.582 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.01509, allocations: 4 kB / 0.5647 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000196/0.01528, allocations: 195.1 kB / 0.5649 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.01528, allocations: 0 / 0.5649 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004175/0.0157, allocations: 63.88 kB / 0.565 GB, free: 7.324 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (20): * Single equations (assignments): 20 * 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.001141/0.01684, allocations: 0.9906 MB / 0.5659 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006683/0.01751, allocations: 219.8 kB / 0.5661 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.01751, allocations: 4.312 kB / 0.5661 GB, free: 6.09 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002918/0.01781, allocations: 115.8 kB / 0.5662 GB, free: 5.977 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006017/0.01841, allocations: 72.08 kB / 0.5663 GB, free: 5.906 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/0.02167, allocations: 2.725 MB / 0.569 GB, free: 3.059 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.079e-05/0.02176, allocations: 142.9 kB / 0.5691 GB, free: 2.902 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001075/0.02186, allocations: 26.28 kB / 0.5691 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.02197, allocations: 88.47 kB / 0.5692 GB, free: 2.785 MB / 0.5261 GB Notification: Performance of SimCode: time 9.01e-07/0.02197, allocations: 0 / 0.5692 GB, free: 2.785 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.04417, allocations: 7.673 MB / 0.5767 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.824/6.869, allocations: 5.953 kB / 0.5767 GB, free: 11.38 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv --start-time 0 --stop-time 80 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.032 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.408269208855927] Failed to read output from testmodel.py, exit status != 0: 6.95590621419251 6.965909052 6.956823001 Calling exit ...