Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirProperties.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.0008095/0.0008095, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009664/0.0009664, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9937/0.9937, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 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.002182/0.002182, allocations: 246.3 kB / 260.5 MB, free: 12.7 MB / 250.7 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 0.7086/0.7086, allocations: 138.4 MB / 402.2 MB, free: 0.5938 MB / 362.7 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: translateModel(BuildingSystems.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirProperties") translateModel(BuildingSystems.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 462.3 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.734e-05, allocations: 2.859 kB / 462.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.137/0.1371, allocations: 144.4 MB / 0.5925 GB, free: 2.082 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.002849/0.1399, allocations: 3.827 MB / 0.5962 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.689e-05/0.14, allocations: 4 kB / 0.5962 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002773/0.1403, allocations: 59.67 kB / 0.5963 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.1405, allocations: 151.1 kB / 0.5964 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00196/0.1425, allocations: 1.167 MB / 0.5976 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003392/0.1428, allocations: 343.5 kB / 0.5979 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.005e-05/0.1429, allocations: 6.469 kB / 0.5979 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000351/0.1432, allocations: 267.1 kB / 0.5982 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.1433, allocations: 115.6 kB / 0.5983 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.1434, allocations: 8 kB / 0.5983 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001279/0.1446, allocations: 1.063 MB / 0.5993 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.992e-05/0.1447, allocations: 79.78 kB / 0.5994 GB, free: 11 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.395e-05/0.1448, allocations: 83.83 kB / 0.5995 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000826/0.1456, allocations: 0.6465 MB / 0.6001 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1456, allocations: 0 / 0.6001 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1456, allocations: 0 / 0.6001 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.1456, allocations: 0 / 0.6001 GB, free: 10.27 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006249/0.1463, allocations: 0.5013 MB / 0.6006 GB, free: 9.746 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1463, allocations: 8.031 kB / 0.6006 GB, free: 9.738 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006561/0.147, allocations: 249.3 kB / 0.6008 GB, free: 9.496 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.1471, allocations: 150.3 kB / 0.601 GB, free: 9.324 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.1471, allocations: 12.75 kB / 0.601 GB, free: 9.312 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.1472, allocations: 28.36 kB / 0.601 GB, free: 9.285 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.1475, allocations: 478.5 kB / 0.6015 GB, free: 8.738 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.1475, allocations: 0 / 0.6015 GB, free: 8.738 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.1475, allocations: 8 kB / 0.6015 GB, free: 8.73 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.1475, allocations: 12 kB / 0.6015 GB, free: 8.719 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.1477, allocations: 153.9 kB / 0.6016 GB, free: 8.57 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007463/0.1485, allocations: 0.7763 MB / 0.6024 GB, free: 7.766 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.1487, allocations: 155.4 kB / 0.6026 GB, free: 7.602 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.595e-05/0.1487, allocations: 36.84 kB / 0.6026 GB, free: 7.562 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001651/0.1489, allocations: 76.67 kB / 0.6027 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.1489, allocations: 34.56 kB / 0.6027 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=21): time 1.232e-06/0.1489, allocations: 0 / 0.6027 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of matching and sorting (n=21): time 0.000276/0.1492, allocations: 149.4 kB / 0.6028 GB, free: 7.293 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.1492, allocations: 55.41 kB / 0.6029 GB, free: 7.227 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.518e-05/0.1493, allocations: 151.5 kB / 0.603 GB, free: 7.066 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.1493, allocations: 29.7 kB / 0.6031 GB, free: 7.031 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.522e-05/0.1494, allocations: 152.2 kB / 0.6032 GB, free: 6.879 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.1494, allocations: 83.28 kB / 0.6033 GB, free: 6.797 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.563e-05/0.1495, allocations: 53.64 kB / 0.6033 GB, free: 6.738 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.163e-05/0.1495, allocations: 330.7 kB / 0.6037 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.702e-05/0.1496, allocations: 27.09 kB / 0.6037 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.513e-05/0.1497, allocations: 116.4 kB / 0.6038 GB, free: 6.223 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.1498, allocations: 175.2 kB / 0.604 GB, free: 6.008 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1498, allocations: 3.938 kB / 0.604 GB, free: 6.004 MB / 0.5573 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000214/0.15, allocations: 189.7 kB / 0.6041 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.15, allocations: 8 kB / 0.6042 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.15, allocations: 384 / 0.6042 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.15, allocations: 12 kB / 0.6042 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.1501, allocations: 51.91 kB / 0.6042 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1502, allocations: 7.938 kB / 0.6042 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.245e-05/0.1502, allocations: 27.78 kB / 0.6042 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/0.1504, allocations: 12 kB / 0.6043 GB, free: 5.691 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.186e-05/0.1505, allocations: 120.6 kB / 0.6044 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.705e-05/0.1505, allocations: 37.11 kB / 0.6044 GB, free: 5.527 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/0.1507, allocations: 159.6 kB / 0.6046 GB, free: 5.375 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.1507, allocations: 7.938 kB / 0.6046 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.1507, allocations: 4 kB / 0.6046 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1507, allocations: 0 / 0.6046 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/0.151, allocations: 388.8 kB / 0.6049 GB, free: 4.953 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.151, allocations: 4 kB / 0.6049 GB, free: 4.949 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.777e-05/0.1511, allocations: 23.94 kB / 0.605 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1511, allocations: 7.984 kB / 0.605 GB, free: 4.918 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.1511, allocations: 4 kB / 0.605 GB, free: 4.914 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1511, allocations: 0 / 0.605 GB, free: 4.914 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1511, allocations: 4 kB / 0.605 GB, free: 4.91 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.1513, allocations: 320.5 kB / 0.6053 GB, free: 4.578 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.1514, allocations: 31.78 kB / 0.6053 GB, free: 4.547 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.1514, allocations: 4 kB / 0.6053 GB, free: 4.543 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.504e-05/0.1515, allocations: 11.98 kB / 0.6053 GB, free: 4.531 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.039e-05/0.1515, allocations: 11.98 kB / 0.6053 GB, free: 4.52 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.1515, allocations: 15.98 kB / 0.6054 GB, free: 4.504 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.623e-05/0.1516, allocations: 30.52 kB / 0.6054 GB, free: 4.473 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.1516, allocations: 0 / 0.6054 GB, free: 4.473 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002802/0.1519, allocations: 135.7 kB / 0.6055 GB, free: 4.34 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002717/0.1521, allocations: 209.5 kB / 0.6057 GB, free: 4.125 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.1523, allocations: 112.6 kB / 0.6058 GB, free: 4.012 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.1523, allocations: 4 kB / 0.6058 GB, free: 4.008 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.932e-05/0.1523, allocations: 57.45 kB / 0.6059 GB, free: 3.949 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.1526, allocations: 93.36 kB / 0.606 GB, free: 3.863 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006776/0.1533, allocations: 422.3 kB / 0.6064 GB, free: 3.418 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.125e-05/0.1534, allocations: 87.44 kB / 0.6065 GB, free: 3.316 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001475/0.1535, allocations: 46.27 kB / 0.6065 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.1537, allocations: 140.5 kB / 0.6066 GB, free: 3.145 MB / 0.5573 GB Notification: Performance of SimCode: time 4.51e-07/0.1537, allocations: 0 / 0.6066 GB, free: 3.145 MB / 0.5573 GB Notification: Performance of Templates: time 0.007249/0.161, allocations: 5.84 MB / 0.6123 GB, free: 13.5 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirProperties.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.920958736911416]