Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.0007372/0.0007372, allocations: 72.5 kB / 19.92 MB, free: 4.633 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.000758/0.000758, 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.8405/0.8405, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.5493/0.5493, allocations: 114 MB / 373.9 MB, free: 8.676 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.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.5542 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.108e-05/1.257e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001807/0.00182, allocations: 1.584 MB / 0.5557 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.002832, allocations: 0.9193 MB / 0.5566 GB, free: 272 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.779e-05/0.00289, allocations: 3.938 kB / 0.5566 GB, free: 268 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.063e-05/0.00292, allocations: 7.922 kB / 0.5566 GB, free: 260 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.003104, allocations: 23.73 kB / 0.5567 GB, free: 236 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.003364, allocations: 171.4 kB / 0.5568 GB, free: 64 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.003494, allocations: 79.59 kB / 0.5569 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.277e-05/0.003576, allocations: 11.98 kB / 0.5569 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.003692, allocations: 51.89 kB / 0.557 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.095e-05/0.003753, allocations: 27.91 kB / 0.557 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.003767, allocations: 4 kB / 0.557 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002379/0.004005, allocations: 275.6 kB / 0.5573 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.004019, allocations: 7.938 kB / 0.5573 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.228e-05/0.004082, allocations: 15.98 kB / 0.5573 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.004285, allocations: 191.5 kB / 0.5575 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.004287, allocations: 4 kB / 0.5575 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.51e-07/0.004287, allocations: 0 / 0.5575 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.004291, allocations: 0 / 0.5575 GB, free: 15.41 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003986/0.00469, allocations: 340.1 kB / 0.5578 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.004727, allocations: 12.62 kB / 0.5578 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.936e-05/0.004757, allocations: 38.69 kB / 0.5578 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.004901, allocations: 32.81 kB / 0.5579 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.005049, allocations: 137.7 kB / 0.558 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.005058, allocations: 4.375 kB / 0.558 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.946e-06/0.005067, allocations: 384 / 0.558 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.005186, allocations: 65.59 kB / 0.5581 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.005192, allocations: 0 / 0.5581 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.005202, allocations: 4 kB / 0.5581 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.005207, allocations: 0 / 0.5581 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.178e-05/0.005299, allocations: 39.97 kB / 0.5581 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002935/0.005592, allocations: 267.8 kB / 0.5584 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.988e-05/0.005682, allocations: 54.55 kB / 0.5584 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.3e-05/0.005725, allocations: 24.97 kB / 0.5584 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.005738, allocations: 0 / 0.5584 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.005755, allocations: 38.5 kB / 0.5585 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 7.61e-07/0.005756, allocations: 0 / 0.5585 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.0002299/0.005986, allocations: 117.5 kB / 0.5586 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.006009, allocations: 51.41 kB / 0.5586 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.487e-05/0.006084, allocations: 131.7 kB / 0.5588 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.006096, allocations: 29.7 kB / 0.5588 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/0.006141, allocations: 104 kB / 0.5589 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/0.006155, allocations: 15.89 kB / 0.5589 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.006187, allocations: 17.72 kB / 0.5589 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.436e-05/0.006261, allocations: 326.8 kB / 0.5592 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.357e-05/0.006304, allocations: 19.98 kB / 0.5593 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.852e-05/0.006343, allocations: 27.98 kB / 0.5593 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.362e-05/0.006427, allocations: 52.83 kB / 0.5593 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.006428, allocations: 3.938 kB / 0.5593 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001206/0.006549, allocations: 94.05 kB / 0.5594 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.00656, allocations: 7.938 kB / 0.5594 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.006565, allocations: 0 / 0.5594 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.006575, allocations: 0 / 0.5594 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.705e-05/0.006642, allocations: 19.98 kB / 0.5595 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.006647, allocations: 0 / 0.5595 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.736e-05/0.006674, allocations: 8 kB / 0.5595 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.00668, allocations: 4 kB / 0.5595 GB, free: 13.16 MB / 0.5261 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 (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 prepare postOptimizeDAE: time 5.253e-05/0.006733, allocations: 113.8 kB / 0.5596 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.006754, allocations: 15.92 kB / 0.5596 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.006898, allocations: 98.06 kB / 0.5597 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.006899, allocations: 0 / 0.5597 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.006903, allocations: 4 kB / 0.5597 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.006906, allocations: 3.984 kB / 0.5597 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.007023, allocations: 160.6 kB / 0.5598 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.007024, allocations: 0 / 0.5598 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.007059, allocations: 15.98 kB / 0.5599 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.00706, allocations: 0 / 0.5599 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.007066, allocations: 0 / 0.5599 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.007068, allocations: 3.984 kB / 0.5599 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.007069, allocations: 0 / 0.5599 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.007213, allocations: 195.4 kB / 0.5601 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-06/0.007222, allocations: 7.953 kB / 0.5601 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.007233, allocations: 3.984 kB / 0.5601 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.024e-05/0.007274, allocations: 4 kB / 0.5601 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.007304, allocations: 8.109 kB / 0.5601 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.007309, allocations: 8 kB / 0.5601 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.062e-05/0.00735, allocations: 102.2 kB / 0.5602 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.00735, allocations: 3.938 kB / 0.5602 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001559/0.007506, allocations: 20 kB / 0.5602 GB, free: 12.34 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0003345/0.00784, allocations: 0.7396 MB / 0.5609 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.007963, allocations: 51.97 kB / 0.561 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.007964, allocations: 0 / 0.561 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.395e-05/0.008008, allocations: 35.91 kB / 0.561 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.0082, allocations: 8 kB / 0.561 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009853/0.009186, allocations: 1.475 MB / 0.5625 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.837e-05/0.009234, allocations: 75.89 kB / 0.5625 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.415e-05/0.009268, allocations: 15.73 kB / 0.5625 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.009311, allocations: 24.5 kB / 0.5626 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of SimCode: time 7.52e-07/0.009312, allocations: 0 / 0.5626 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01339/0.0227, allocations: 3.065 MB / 0.5656 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.942/6.965, allocations: 3.938 kB / 0.5656 GB, free: 6.891 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.390322901308537] Failed to read output from testmodel.py, exit status != 0: 7.041505081579089 7.050386728 7.044460988 Calling exit ...