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.001223/0.001223, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001374/0.001374, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.343/1.343, 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/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.002384/0.002384, allocations: 278.1 kB / 313.5 MB, free: 2.797 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.145/1.145, allocations: 180.6 MB / 0.5377 GB, free: 12.89 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="cs",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.003244/0.003244, allocations: 105.9 kB / 0.7404 GB, free: 28.64 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1645, allocations: 95.39 MB / 0.8335 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002829/0.1673, allocations: 1.619 MB / 0.8351 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.1689, allocations: 1.004 MB / 0.8361 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.356e-05/0.169, allocations: 0 / 0.8361 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.29e-05/0.169, allocations: 7.875 kB / 0.8361 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.1692, allocations: 23.78 kB / 0.8361 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.1696, allocations: 155.6 kB / 0.8362 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.1698, allocations: 83.59 kB / 0.8363 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.64e-05/0.1698, allocations: 12.27 kB / 0.8363 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.17, allocations: 39.86 kB / 0.8364 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.628e-05/0.1701, allocations: 43.77 kB / 0.8364 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.1701, allocations: 4 kB / 0.8364 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004245/0.1705, allocations: 287.6 kB / 0.8367 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.1705, allocations: 12 kB / 0.8367 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.1706, allocations: 31.8 kB / 0.8367 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.1708, allocations: 167.3 kB / 0.8369 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1708, allocations: 0 / 0.8369 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1708, allocations: 4 kB / 0.8369 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.1708, allocations: 0 / 0.8369 GB, free: 5.117 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.00054/0.1714, allocations: 333.7 kB / 0.8372 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1714, allocations: 9.344 kB / 0.8372 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.406e-05/0.1714, allocations: 192 / 0.8372 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.1715, allocations: 42.73 kB / 0.8373 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002567/0.1717, allocations: 32.83 kB / 0.8373 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.172, allocations: 139.2 kB / 0.8374 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.172, allocations: 384 / 0.8374 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.172, allocations: 4.375 kB / 0.8374 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.1722, allocations: 61.61 kB / 0.8375 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1722, allocations: 3.984 kB / 0.8375 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1722, allocations: 7.984 kB / 0.8375 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1722, allocations: 4 kB / 0.8375 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.1724, allocations: 43.95 kB / 0.8376 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.1728, allocations: 263.9 kB / 0.8378 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.1729, allocations: 62.48 kB / 0.8379 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.067e-05/0.173, allocations: 32.97 kB / 0.8379 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.173, allocations: 3.938 kB / 0.8379 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.1731, allocations: 30.56 kB / 0.8379 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1731, allocations: 0 / 0.8379 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0003682/0.1734, allocations: 117.5 kB / 0.838 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.1735, allocations: 51.41 kB / 0.8381 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.1736, allocations: 136.4 kB / 0.8382 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.1736, allocations: 33.7 kB / 0.8383 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.1737, allocations: 88.14 kB / 0.8383 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.1737, allocations: 23.78 kB / 0.8384 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.1738, allocations: 17.72 kB / 0.8384 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1739, allocations: 326.8 kB / 0.8387 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.893e-05/0.174, allocations: 19.98 kB / 0.8387 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.296e-05/0.1741, allocations: 27.98 kB / 0.8387 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.1742, allocations: 56.77 kB / 0.8388 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1742, allocations: 0 / 0.8388 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002204/0.1745, allocations: 93.55 kB / 0.8389 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1745, allocations: 4 kB / 0.8389 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1745, allocations: 0 / 0.8389 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1745, allocations: 4 kB / 0.8389 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.1746, allocations: 15.98 kB / 0.8389 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1746, allocations: 0 / 0.8389 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.88e-05/0.1747, allocations: 8 kB / 0.8389 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.1747, allocations: 7.984 kB / 0.8389 GB, free: 2.859 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.684e-05/0.1748, allocations: 114.4 kB / 0.839 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.1748, allocations: 7.953 kB / 0.839 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.1751, allocations: 102 kB / 0.8391 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.1751, allocations: 3.984 kB / 0.8391 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1751, allocations: 0 / 0.8391 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1751, allocations: 0 / 0.8391 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.1753, allocations: 164.7 kB / 0.8393 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1753, allocations: 0.5 kB / 0.8393 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.499e-05/0.1754, allocations: 15.98 kB / 0.8393 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1754, allocations: 0 / 0.8393 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1754, allocations: 8 kB / 0.8393 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1754, allocations: 0 / 0.8393 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.1754, allocations: 0 / 0.8393 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.1757, allocations: 203.3 kB / 0.8395 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.19e-05/0.1757, allocations: 3.953 kB / 0.8395 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.1757, allocations: 4 kB / 0.8395 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.294e-05/0.1758, allocations: 3.984 kB / 0.8395 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.1758, allocations: 4 kB / 0.8395 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.1758, allocations: 0 / 0.8395 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.225e-05/0.1759, allocations: 114 kB / 0.8396 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1759, allocations: 0 / 0.8396 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000243/0.1761, allocations: 27.94 kB / 0.8397 GB, free: 2.016 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.0006579/0.1768, allocations: 0.7241 MB / 0.8404 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002132/0.177, allocations: 59.89 kB / 0.8404 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.177, allocations: 0 / 0.8404 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.351e-05/0.1771, allocations: 27.98 kB / 0.8404 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.1774, allocations: 19.91 kB / 0.8405 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.1792, allocations: 1.485 MB / 0.8419 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.1795, allocations: 0.6924 MB / 0.8426 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.384e-05/0.1795, allocations: 7.984 kB / 0.8426 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.831e-05/0.1796, allocations: 31.42 kB / 0.8426 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.1796, allocations: 0 / 0.8426 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.202, allocations: 2.528 MB / 0.8451 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.77, allocations: 5.312 kB / 0.8451 GB, free: 12.46 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.682104874984361] Failed to read output from testmodel.py, exit status != 0: 10.91933343699202 10.934666437 10.760768001 Calling exit ...