Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001203/0.001203, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001394/0.001394, allocations: 217.3 kB / 22.26 MB, free: 5.078 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.325/1.325, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002377/0.002377, allocations: 283.1 kB / 312.7 MB, free: 2.805 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.132/1.132, allocations: 180.6 MB / 0.5369 GB, free: 13 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002688/0.002688, allocations: 100.7 kB / 0.7396 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1599, allocations: 95.39 MB / 0.8327 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003223/0.1631, allocations: 1.617 MB / 0.8343 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001745/0.1649, allocations: 0.9997 MB / 0.8353 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.933e-05/0.1649, allocations: 3.938 kB / 0.8353 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.458e-05/0.165, allocations: 3.938 kB / 0.8353 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.1652, allocations: 23.78 kB / 0.8353 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.1656, allocations: 170.5 kB / 0.8355 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000174/0.1658, allocations: 79.64 kB / 0.8356 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.825e-05/0.1659, allocations: 8.281 kB / 0.8356 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.166, allocations: 39.91 kB / 0.8356 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.1661, allocations: 39.78 kB / 0.8356 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.1662, allocations: 4 kB / 0.8356 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004413/0.1666, allocations: 295.6 kB / 0.8359 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.027e-05/0.1666, allocations: 11.97 kB / 0.8359 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.1667, allocations: 31.75 kB / 0.836 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.167, allocations: 171.3 kB / 0.8361 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.167, allocations: 0 / 0.8361 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.193e-06/0.167, allocations: 0 / 0.8361 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.167, allocations: 0 / 0.8361 GB, free: 5.148 MB / 0.5762 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.0005703/0.1675, allocations: 329.7 kB / 0.8365 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1676, allocations: 21.33 kB / 0.8365 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.311e-05/0.1676, allocations: 34.75 kB / 0.8365 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002588/0.1679, allocations: 32.83 kB / 0.8365 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.1681, allocations: 137.3 kB / 0.8367 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1681, allocations: 4.375 kB / 0.8367 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.1681, allocations: 384 / 0.8367 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.1683, allocations: 73.72 kB / 0.8367 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1683, allocations: 0 / 0.8367 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1683, allocations: 8 kB / 0.8367 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1683, allocations: 0 / 0.8367 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.1685, allocations: 39.97 kB / 0.8368 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000427/0.1689, allocations: 267.8 kB / 0.837 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.169, allocations: 54.56 kB / 0.8371 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.987e-05/0.1691, allocations: 32.91 kB / 0.8371 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.1691, allocations: 0 / 0.8371 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.1692, allocations: 38.5 kB / 0.8372 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.1692, allocations: 0 / 0.8372 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0003534/0.1695, allocations: 113.6 kB / 0.8373 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.1696, allocations: 55.41 kB / 0.8373 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.1697, allocations: 130.2 kB / 0.8374 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.1697, allocations: 29.7 kB / 0.8375 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.96e-05/0.1698, allocations: 96.12 kB / 0.8376 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.1698, allocations: 19.86 kB / 0.8376 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.1699, allocations: 25.7 kB / 0.8376 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.17, allocations: 322.8 kB / 0.8379 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.951e-05/0.1701, allocations: 23.92 kB / 0.8379 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.391e-05/0.1702, allocations: 27.97 kB / 0.838 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.1703, allocations: 48.84 kB / 0.838 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1703, allocations: 0 / 0.838 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002083/0.1705, allocations: 89.61 kB / 0.8381 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1705, allocations: 12 kB / 0.8381 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1705, allocations: 0 / 0.8381 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1705, allocations: 0 / 0.8381 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.1707, allocations: 19.92 kB / 0.8381 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1707, allocations: 0 / 0.8381 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.033e-05/0.1707, allocations: 11.98 kB / 0.8381 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.1707, allocations: 3.938 kB / 0.8381 GB, free: 2.895 MB / 0.5762 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 9.221e-05/0.1708, allocations: 118.4 kB / 0.8383 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.1709, allocations: 7.953 kB / 0.8383 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.1711, allocations: 98.05 kB / 0.8384 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1711, allocations: 4 kB / 0.8384 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1711, allocations: 0 / 0.8384 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1711, allocations: 0 / 0.8384 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.1713, allocations: 157.1 kB / 0.8385 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1713, allocations: 4 kB / 0.8385 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.367e-05/0.1714, allocations: 15.92 kB / 0.8385 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1714, allocations: 0 / 0.8385 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.1714, allocations: 16 kB / 0.8385 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1714, allocations: 0 / 0.8385 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1714, allocations: 0 / 0.8385 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.1717, allocations: 187.4 kB / 0.8387 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.6e-05/0.1717, allocations: 15.88 kB / 0.8387 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.1717, allocations: 0 / 0.8387 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.844e-05/0.1718, allocations: 11.98 kB / 0.8388 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.1718, allocations: 3.984 kB / 0.8388 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.1718, allocations: 4 kB / 0.8388 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.512e-05/0.1719, allocations: 102 kB / 0.8389 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1719, allocations: 0 / 0.8389 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002371/0.1721, allocations: 27.94 kB / 0.8389 GB, free: 2.055 MB / 0.5762 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.0006865/0.1728, allocations: 0.7357 MB / 0.8396 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001992/0.173, allocations: 51.97 kB / 0.8397 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.173, allocations: 3.938 kB / 0.8397 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.1732, allocations: 23.98 kB / 0.8397 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.1734, allocations: 18.8 kB / 0.8397 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.1751, allocations: 1.489 MB / 0.8412 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.1754, allocations: 0.6885 MB / 0.8418 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.287e-05/0.1754, allocations: 8 kB / 0.8418 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.323e-05/0.1755, allocations: 27.42 kB / 0.8419 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.1755, allocations: 0 / 0.8419 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.2041, allocations: 2.5 MB / 0.8443 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/10.67, allocations: 8.562 kB / 0.8443 GB, free: 12.52 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.48296035407111] Failed to read output from testmodel.py, exit status != 0: 10.768732307013124 10.785109554 10.615080441 Calling exit ...