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.000889/0.000889, allocations: 80.48 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.0008989/0.0008989, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.8877/0.8877, allocations: 177.1 MB / 203.5 MB, free: 5.715 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.57/0.57, allocations: 114 MB / 373.9 MB, free: 8.688 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.402e-06/1.402e-06, allocations: 0 / 0.5542 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.301e-05/1.442e-05, allocations: 10.28 kB / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00187/0.001884, allocations: 1.567 MB / 0.5557 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.002971, allocations: 0.9231 MB / 0.5566 GB, free: 276 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.99e-05/0.003031, allocations: 0 / 0.5566 GB, free: 276 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.737e-05/0.003058, allocations: 7.875 kB / 0.5566 GB, free: 268 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.003254, allocations: 23.78 kB / 0.5567 GB, free: 244 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.003544, allocations: 171.3 kB / 0.5568 GB, free: 72 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.003685, allocations: 83.64 kB / 0.5569 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.515e-05/0.00377, allocations: 4 kB / 0.5569 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.003903, allocations: 51.88 kB / 0.557 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.769e-05/0.00397, allocations: 31.86 kB / 0.557 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.003986, allocations: 4 kB / 0.557 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002627/0.004248, allocations: 279.6 kB / 0.5573 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.004262, allocations: 11.92 kB / 0.5573 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.004287, allocations: 15.98 kB / 0.5573 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.004496, allocations: 191.5 kB / 0.5575 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004498, allocations: 0 / 0.5575 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.042e-06/0.004499, allocations: 0 / 0.5575 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.004503, 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.0004275/0.004931, allocations: 337.7 kB / 0.5578 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.004971, allocations: 12.62 kB / 0.5578 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.147e-05/0.005003, allocations: 38.75 kB / 0.5578 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.005161, allocations: 32.81 kB / 0.5579 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.005329, allocations: 137.6 kB / 0.558 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.005338, allocations: 4.375 kB / 0.558 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.005348, allocations: 384 / 0.558 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.005478, allocations: 65.55 kB / 0.5581 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.005485, allocations: 4 kB / 0.5581 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.005496, allocations: 12 kB / 0.5581 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.005501, allocations: 0 / 0.5581 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.027e-05/0.005591, allocations: 43.95 kB / 0.5581 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.005913, allocations: 263.9 kB / 0.5584 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.5e-05/0.006008, allocations: 54.44 kB / 0.5584 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.701e-05/0.006055, allocations: 24.97 kB / 0.5585 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.00607, allocations: 4 kB / 0.5585 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.00609, allocations: 38.56 kB / 0.5585 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 1.093e-06/0.006092, allocations: 0 / 0.5585 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.0002386/0.00633, allocations: 105.6 kB / 0.5586 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.006356, allocations: 51.41 kB / 0.5586 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.901e-05/0.006435, allocations: 136.6 kB / 0.5588 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.006446, allocations: 25.7 kB / 0.5588 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.006491, allocations: 108 kB / 0.5589 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.006504, allocations: 19.84 kB / 0.5589 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.006534, allocations: 21.7 kB / 0.5589 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.991e-05/0.006604, allocations: 318.8 kB / 0.5592 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.443e-05/0.006649, allocations: 27.98 kB / 0.5593 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-05/0.006687, allocations: 23.97 kB / 0.5593 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.778e-05/0.006775, allocations: 48.84 kB / 0.5593 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.006776, allocations: 0 / 0.5593 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001236/0.0069, allocations: 93.61 kB / 0.5594 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.006911, allocations: 4 kB / 0.5594 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.006915, allocations: 0 / 0.5594 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.006926, allocations: 0 / 0.5594 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.902e-05/0.006995, allocations: 27.86 kB / 0.5595 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.006999, allocations: 0 / 0.5595 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.874e-05/0.007028, allocations: 7.984 kB / 0.5595 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.007037, allocations: 4.422 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.814e-05/0.007095, allocations: 117.8 kB / 0.5596 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.007117, allocations: 7.953 kB / 0.5596 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.007273, allocations: 106.1 kB / 0.5597 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.007275, allocations: 0 / 0.5597 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.007278, allocations: 0 / 0.5597 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.007282, allocations: 0 / 0.5597 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.007401, allocations: 160.6 kB / 0.5598 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.007402, allocations: 0 / 0.5598 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.935e-05/0.007441, allocations: 19.92 kB / 0.5599 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.007444, allocations: 0 / 0.5599 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.00745, allocations: 0 / 0.5599 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.007451, allocations: 4 kB / 0.5599 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.007452, allocations: 0 / 0.5599 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.007591, allocations: 191.4 kB / 0.5601 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-06/0.0076, allocations: 7.953 kB / 0.5601 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.007612, allocations: 0 / 0.5601 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.169e-05/0.007654, allocations: 8 kB / 0.5601 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.007686, allocations: 7.922 kB / 0.5601 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.00769, allocations: 4 kB / 0.5601 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.404e-05/0.007734, allocations: 105.7 kB / 0.5602 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.007735, allocations: 4 kB / 0.5602 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001688/0.007903, 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.0003598/0.008263, allocations: 0.7318 MB / 0.5609 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001257/0.008389, allocations: 59.89 kB / 0.561 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.00839, allocations: 0 / 0.561 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.354e-05/0.008434, allocations: 28.3 kB / 0.561 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.008633, allocations: 22.45 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.001027/0.00966, allocations: 1.478 MB / 0.5625 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.102e-05/0.009711, allocations: 83.31 kB / 0.5625 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.534e-05/0.009746, allocations: 11.73 kB / 0.5626 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/0.009791, allocations: 28.48 kB / 0.5626 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of SimCode: time 6.02e-07/0.009792, allocations: 0 / 0.5626 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01429/0.02408, allocations: 3.06 MB / 0.5656 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.761/6.785, allocations: 7.984 kB / 0.5656 GB, free: 6.883 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 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.26091184746474] Failed to read output from testmodel.py, exit status != 0: 6.869169256649911 6.88324703 6.87669865 Calling exit ...