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.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.001419/0.001419, allocations: 109.8 kB / 19.58 MB, free: 2.336 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.001502/0.001502, allocations: 193.2 kB / 22.85 MB, free: 5.641 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.29/1.29, allocations: 225.6 MB / 251.5 MB, free: 13.05 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.002367/0.002367, allocations: 291.7 kB / 307 MB, free: 8.379 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.108/1.108, 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.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: Performance of FrontEnd - loaded program: time 0.002643/0.002643, allocations: 99.64 kB / 0.7311 GB, free: 38.67 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1334, allocations: 94.2 MB / 0.8231 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002725/0.1361, allocations: 1.587 MB / 0.8246 GB, free: 428 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.1376, allocations: 0.9294 MB / 0.8255 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.711e-05/0.1377, allocations: 0 / 0.8255 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.506e-05/0.1377, allocations: 11.86 kB / 0.8255 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.1379, allocations: 23.8 kB / 0.8256 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.1382, allocations: 145.8 kB / 0.8257 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.1384, allocations: 67.78 kB / 0.8258 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.449e-05/0.1384, allocations: 8 kB / 0.8258 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.377e-05/0.1385, allocations: 39.78 kB / 0.8258 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.1386, allocations: 39.84 kB / 0.8258 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.1387, allocations: 8 kB / 0.8259 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003838/0.139, allocations: 279.6 kB / 0.8261 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.1391, allocations: 7.938 kB / 0.8261 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.1391, allocations: 31.86 kB / 0.8262 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.1393, allocations: 159.4 kB / 0.8263 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1393, allocations: 0 / 0.8263 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1393, allocations: 0 / 0.8263 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.1393, allocations: 0 / 0.8263 GB, free: 14.68 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.0005336/0.1399, allocations: 341.7 kB / 0.8266 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.1399, allocations: 12.03 kB / 0.8266 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.14, allocations: 8.891 kB / 0.8267 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.1402, allocations: 138.2 kB / 0.8268 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.1402, allocations: 8.375 kB / 0.8268 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.1402, allocations: 384 / 0.8268 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.1404, allocations: 69.97 kB / 0.8269 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1404, allocations: 4 kB / 0.8269 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.1404, allocations: 0 / 0.8269 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.1405, allocations: 0 / 0.8269 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.1406, allocations: 43.95 kB / 0.8269 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.141, allocations: 275.8 kB / 0.8272 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.1412, allocations: 54.55 kB / 0.8272 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.634e-05/0.1412, allocations: 28.95 kB / 0.8273 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.1413, allocations: 3.938 kB / 0.8273 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.1413, allocations: 38.56 kB / 0.8273 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1413, allocations: 0 / 0.8273 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0003364/0.1416, allocations: 109.5 kB / 0.8274 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.1417, allocations: 51.41 kB / 0.8274 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.1418, allocations: 127.4 kB / 0.8276 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.1418, allocations: 29.7 kB / 0.8276 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.55e-05/0.1419, allocations: 96.12 kB / 0.8277 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.1419, allocations: 15.84 kB / 0.8277 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.1419, allocations: 21.7 kB / 0.8277 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1421, allocations: 318.8 kB / 0.828 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.536e-05/0.1422, allocations: 27.97 kB / 0.8281 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.848e-05/0.1422, allocations: 27.98 kB / 0.8281 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.1424, allocations: 53.14 kB / 0.8281 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1424, allocations: 4 kB / 0.8281 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002041/0.1426, allocations: 93.56 kB / 0.8282 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1426, allocations: 4 kB / 0.8282 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.1426, allocations: 4 kB / 0.8282 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1426, allocations: 0 / 0.8282 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.1427, allocations: 15.98 kB / 0.8282 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1427, allocations: 0 / 0.8282 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.36e-05/0.1428, allocations: 11.94 kB / 0.8283 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1428, allocations: 4 kB / 0.8283 GB, free: 12.49 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 8.675e-05/0.1429, allocations: 114.4 kB / 0.8284 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/0.1429, allocations: 11.95 kB / 0.8284 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.1432, allocations: 102 kB / 0.8285 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1432, allocations: 4 kB / 0.8285 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1432, allocations: 0 / 0.8285 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1432, allocations: 0 / 0.8285 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.1434, allocations: 152.7 kB / 0.8286 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1434, allocations: 0 / 0.8286 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.757e-05/0.1435, allocations: 15.98 kB / 0.8286 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1435, allocations: 0 / 0.8286 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.1435, allocations: 4 kB / 0.8287 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1435, allocations: 4 kB / 0.8287 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1435, allocations: 0 / 0.8287 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.1437, allocations: 195.3 kB / 0.8288 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.1438, allocations: 11.89 kB / 0.8289 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.1438, allocations: 4 kB / 0.8289 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.62e-05/0.1439, allocations: 8.172 kB / 0.8289 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.1439, allocations: 7.984 kB / 0.8289 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.527e-06/0.1439, allocations: 8 kB / 0.8289 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.401e-05/0.144, allocations: 105.2 kB / 0.829 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.144, allocations: 0 / 0.829 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002302/0.1442, allocations: 16 kB / 0.829 GB, free: 11.66 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.0001471/0.1444, allocations: 119.2 kB / 0.8291 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001973/0.1445, allocations: 55.91 kB / 0.8292 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1445, allocations: 4 kB / 0.8292 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.53e-05/0.1446, allocations: 31.86 kB / 0.8292 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.1449, allocations: 14.98 kB / 0.8292 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003886/0.1453, allocations: 184.7 kB / 0.8294 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.1456, allocations: 0.6962 MB / 0.8301 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.397e-05/0.1456, allocations: 7.75 kB / 0.8301 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.1456, allocations: 15.42 kB / 0.8301 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.1456, allocations: 0 / 0.8301 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of Templates: time 0.003591/0.1492, allocations: 1.136 MB / 0.8312 GB, free: 9.359 MB / 0.5762 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.407692587003112] Failed to read output from testmodel.py, exit status != 0: 0.15603454200027045 0.169756272 0.027611209 Calling exit ...