Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 101.7 kB / 19.59 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 194.3 kB / 22.85 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 225.6 MB / 251.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002345/0.002345, allocations: 291.5 kB / 307 MB, free: 8.367 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.109/1.109, allocations: 180.8 MB / 0.5304 GB, free: 14.48 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00262/0.00262, allocations: 103.1 kB / 0.7311 GB, free: 38.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1416, allocations: 94.19 MB / 0.8231 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003342/0.145, allocations: 2.137 MB / 0.8252 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1466, allocations: 1.045 MB / 0.8262 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.749e-05/0.1467, allocations: 11.88 kB / 0.8262 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.35e-05/0.1468, allocations: 19.73 kB / 0.8262 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.147, allocations: 91.2 kB / 0.8263 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000385/0.1474, allocations: 187.6 kB / 0.8265 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.1478, allocations: 306.6 kB / 0.8268 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.1479, allocations: 52.84 kB / 0.8268 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.148, allocations: 115.5 kB / 0.8269 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.1483, allocations: 139.4 kB / 0.8271 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.164e-05/0.1483, allocations: 20 kB / 0.8271 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004131/0.1487, allocations: 295.7 kB / 0.8274 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.697e-05/0.1488, allocations: 47.77 kB / 0.8274 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.1489, allocations: 127.3 kB / 0.8275 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004025/0.1493, allocations: 334.5 kB / 0.8278 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1493, allocations: 0 / 0.8278 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1493, allocations: 0 / 0.8278 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.1493, allocations: 0 / 0.8278 GB, free: 13.14 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001029/0.1503, allocations: 0.5593 MB / 0.8284 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1504, allocations: 8.031 kB / 0.8284 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002016/0.1506, allocations: 40.73 kB / 0.8284 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.1509, allocations: 225.4 kB / 0.8287 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.1509, allocations: 12.66 kB / 0.8287 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.151, allocations: 16.31 kB / 0.8287 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005106/0.1515, allocations: 236.9 kB / 0.8289 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1515, allocations: 0 / 0.8289 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.1515, allocations: 8 kB / 0.8289 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1515, allocations: 4 kB / 0.8289 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000618/0.1521, allocations: 199.7 kB / 0.8291 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.1533, allocations: 0.9025 MB / 0.83 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007331/0.154, allocations: 237.2 kB / 0.8302 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/0.1543, allocations: 93.64 kB / 0.8303 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.1543, allocations: 11.88 kB / 0.8303 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.1544, allocations: 38.56 kB / 0.8304 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.1544, allocations: 0 / 0.8304 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.001058/0.1554, allocations: 341.5 kB / 0.8307 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.1555, allocations: 81.11 kB / 0.8308 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.1558, allocations: 264.2 kB / 0.831 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.1558, allocations: 25.7 kB / 0.831 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.1559, allocations: 168.3 kB / 0.8312 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.53e-05/0.156, allocations: 67.41 kB / 0.8313 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-05/0.156, allocations: 37.7 kB / 0.8313 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1562, allocations: 338.8 kB / 0.8316 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.1565, allocations: 87.91 kB / 0.8317 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/0.1568, allocations: 137.9 kB / 0.8318 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005897/0.1574, allocations: 242.4 kB / 0.8321 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1574, allocations: 0 / 0.8321 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007646/0.1582, allocations: 301.2 kB / 0.8324 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1582, allocations: 5.875 kB / 0.8324 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1582, allocations: 4.094 kB / 0.8324 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1582, allocations: 7.938 kB / 0.8324 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/0.1585, allocations: 59.88 kB / 0.8324 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.1585, allocations: 4 kB / 0.8324 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.1587, allocations: 39.81 kB / 0.8325 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.1587, allocations: 16.09 kB / 0.8325 GB, free: 8.113 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 0.0001242/0.1588, allocations: 138.4 kB / 0.8326 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.1589, allocations: 31.8 kB / 0.8326 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007554/0.1597, allocations: 283.2 kB / 0.8329 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1597, allocations: 4 kB / 0.8329 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.1597, allocations: 3.938 kB / 0.8329 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1597, allocations: 0 / 0.8329 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003679/0.1601, allocations: 264.5 kB / 0.8332 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1601, allocations: 3.938 kB / 0.8332 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/0.1603, allocations: 51.95 kB / 0.8332 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1603, allocations: 4 kB / 0.8332 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.1603, allocations: 4 kB / 0.8332 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.1603, allocations: 3.984 kB / 0.8332 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1604, allocations: 4 kB / 0.8332 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007915/0.1611, allocations: 442.4 kB / 0.8337 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.1612, allocations: 39.69 kB / 0.8337 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.1612, allocations: 3.984 kB / 0.8337 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.1615, allocations: 27.97 kB / 0.8337 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.975e-05/0.1615, allocations: 19.97 kB / 0.8338 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.1615, allocations: 8 kB / 0.8338 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001914/0.1617, allocations: 191.1 kB / 0.8339 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1617, allocations: 0 / 0.8339 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003337/0.1621, allocations: 56.06 kB / 0.834 GB, free: 6.484 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0001788/0.1623, allocations: 123.1 kB / 0.8341 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006969/0.1629, allocations: 229.5 kB / 0.8343 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.163, allocations: 0 / 0.8343 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003259/0.1633, allocations: 112.2 kB / 0.8344 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005034/0.1638, allocations: 78.7 kB / 0.8345 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007823/0.1646, allocations: 450.6 kB / 0.8349 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.1649, allocations: 0.748 MB / 0.8357 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001228/0.1651, allocations: 26.3 kB / 0.8357 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.799e-05/0.1651, allocations: 23.42 kB / 0.8357 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of SimCode: time 3.3e-07/0.1651, allocations: 8 kB / 0.8357 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of Templates: time 0.008129/0.1733, allocations: 4.091 MB / 0.8397 GB, free: 0.625 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.470911056996556] Failed to read output from testmodel.py, exit status != 0: 0.18007272200338775 0.194430231 0.042325969000000005 Calling exit ...