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.001435/0.001435, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001716/0.001716, allocations: 213.4 kB / 22.25 MB, free: 5.262 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.781 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.00269/0.00269, allocations: 289.8 kB / 312.7 MB, free: 2.57 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.361/1.361, allocations: 180.6 MB / 0.5369 GB, free: 14.56 MB / 382.1 MB " [Timeout remaining time 178] 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: translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [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.003018/0.003018, allocations: 97.72 kB / 0.74 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1632, allocations: 95.39 MB / 0.8331 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00312/0.1664, allocations: 1.579 MB / 0.8347 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001746/0.1681, allocations: 0.9257 MB / 0.8356 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.338e-05/0.1682, allocations: 3.938 kB / 0.8356 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.626e-05/0.1682, allocations: 7.922 kB / 0.8356 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.1684, allocations: 23.78 kB / 0.8356 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004331/0.1689, allocations: 159.5 kB / 0.8358 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.169, allocations: 83.66 kB / 0.8358 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.838e-05/0.1691, allocations: 11.97 kB / 0.8359 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.1693, allocations: 35.92 kB / 0.8359 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.373e-05/0.1694, allocations: 31.84 kB / 0.8359 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.1694, allocations: 7.984 kB / 0.8359 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000469/0.1699, allocations: 271.7 kB / 0.8362 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.844e-05/0.1699, allocations: 15.92 kB / 0.8362 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.657e-05/0.17, allocations: 23.86 kB / 0.8362 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.1702, allocations: 167.3 kB / 0.8364 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1702, allocations: 0 / 0.8364 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1703, allocations: 0 / 0.8364 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.1703, allocations: 0 / 0.8364 GB, free: 4.426 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.0005901/0.1708, allocations: 337.7 kB / 0.8367 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1709, allocations: 21.88 kB / 0.8367 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002747/0.1712, allocations: 28.86 kB / 0.8368 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.1714, allocations: 140.6 kB / 0.8369 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.1714, allocations: 384 / 0.8369 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.1714, allocations: 4.375 kB / 0.8369 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.1716, allocations: 65.97 kB / 0.837 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.577e-06/0.1716, allocations: 0 / 0.837 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.1716, allocations: 0 / 0.837 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.1717, allocations: 8 kB / 0.837 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.1718, allocations: 47.91 kB / 0.837 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.1722, allocations: 232.5 kB / 0.8372 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.1724, allocations: 62.48 kB / 0.8373 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.803e-05/0.1725, allocations: 28.97 kB / 0.8373 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.1725, allocations: 4 kB / 0.8373 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.1726, allocations: 34.5 kB / 0.8374 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1726, allocations: 0 / 0.8374 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0003785/0.1729, allocations: 109.5 kB / 0.8375 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.173, allocations: 55.41 kB / 0.8375 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.1731, allocations: 134.1 kB / 0.8376 GB, free: 3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.1732, allocations: 29.7 kB / 0.8377 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.456e-05/0.1732, allocations: 92.14 kB / 0.8378 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.753e-05/0.1733, allocations: 15.8 kB / 0.8378 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.071e-05/0.1733, allocations: 25.7 kB / 0.8378 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.1735, allocations: 322.8 kB / 0.8381 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.837e-05/0.1736, allocations: 19.98 kB / 0.8381 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.642e-05/0.1737, allocations: 27.92 kB / 0.8382 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.1738, allocations: 52.83 kB / 0.8382 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.1738, allocations: 3.938 kB / 0.8382 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002375/0.1741, allocations: 90.06 kB / 0.8383 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1741, allocations: 8 kB / 0.8383 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1741, allocations: 3.984 kB / 0.8383 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1741, allocations: 0 / 0.8383 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.1742, allocations: 16 kB / 0.8383 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1742, allocations: 3.984 kB / 0.8383 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.224e-05/0.1743, allocations: 8 kB / 0.8383 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.1743, allocations: 0 / 0.8383 GB, free: 2.262 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.487e-05/0.1744, allocations: 122.4 kB / 0.8384 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.1745, allocations: 7.953 kB / 0.8385 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/0.1747, allocations: 98.05 kB / 0.8386 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1747, allocations: 4 kB / 0.8386 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1747, allocations: 0 / 0.8386 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.1747, allocations: 0 / 0.8386 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.1749, allocations: 133.2 kB / 0.8387 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1749, allocations: 0 / 0.8387 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.616e-05/0.175, allocations: 15.98 kB / 0.8387 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.175, allocations: 3.938 kB / 0.8387 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.175, allocations: 0 / 0.8387 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.175, allocations: 4 kB / 0.8387 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.175, allocations: 4 kB / 0.8387 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.1753, allocations: 195.3 kB / 0.8389 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.003e-05/0.1753, allocations: 11.95 kB / 0.8389 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.1753, allocations: 0 / 0.8389 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.899e-05/0.1754, allocations: 11.92 kB / 0.8389 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.1755, allocations: 4 kB / 0.8389 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.1755, allocations: 4 kB / 0.8389 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.582e-05/0.1756, allocations: 105.7 kB / 0.839 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1756, allocations: 4 kB / 0.839 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002645/0.1758, allocations: 23.94 kB / 0.8391 GB, free: 1.453 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.0001747/0.176, allocations: 113.1 kB / 0.8392 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002254/0.1762, allocations: 51.97 kB / 0.8392 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1762, allocations: 0 / 0.8392 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.082e-05/0.1763, allocations: 28.23 kB / 0.8392 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.1766, allocations: 26.11 kB / 0.8393 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004843/0.1771, allocations: 197.4 kB / 0.8395 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.708e-05/0.1772, allocations: 75.58 kB / 0.8395 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.575e-05/0.1772, allocations: 15.97 kB / 0.8395 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.1773, allocations: 11.44 kB / 0.8395 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.1773, allocations: 0 / 0.8395 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of Templates: time 0.004336/0.1816, allocations: 1.198 MB / 0.8407 GB, free: 15.72 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.245710210874677] Failed to read output from testmodel.py, exit status != 0: 0.18992741592228413 0.206748126 0.033135781 Calling exit ...