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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirProperties") translateModel(BuildingSystems.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 106.1 kB / 16.4 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 192 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002546/0.002546, allocations: 291.7 kB / 291.5 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.028/1.028, allocations: 169.2 MB / 0.499 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00282/0.00282, allocations: 91.86 kB / 0.6822 GB, free: 6.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4488/0.4516, allocations: 86.99 MB / 0.7671 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.1791/0.6307, allocations: 149.5 MB / 0.9131 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.004616/0.6354, allocations: 3.614 MB / 0.9166 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.6355, allocations: 7.875 kB / 0.9167 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0003973/0.6359, allocations: 71.62 kB / 0.9167 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0003634/0.6362, allocations: 143.2 kB / 0.9169 GB, free: 9.926 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002768/0.639, allocations: 1.03 MB / 0.9179 GB, free: 8.895 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0004564/0.6395, allocations: 319.7 kB / 0.9182 GB, free: 8.582 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 5.844e-05/0.6395, allocations: 5.562 kB / 0.9182 GB, free: 8.574 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004614/0.64, allocations: 206.9 kB / 0.9184 GB, free: 8.375 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.6402, allocations: 139.5 kB / 0.9185 GB, free: 8.238 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.6402, allocations: 8 kB / 0.9185 GB, free: 8.23 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002297/0.6425, allocations: 1.22 MB / 0.9197 GB, free: 7.008 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.6426, allocations: 71.78 kB / 0.9198 GB, free: 6.938 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.6428, allocations: 107.5 kB / 0.9199 GB, free: 6.832 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.6439, allocations: 0.6328 MB / 0.9205 GB, free: 6.203 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6439, allocations: 0 / 0.9205 GB, free: 6.203 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.934e-06/0.644, allocations: 0 / 0.9205 GB, free: 6.203 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.644, allocations: 0 / 0.9205 GB, free: 6.203 MB / 0.6856 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.001547/0.6455, allocations: 0.6035 MB / 0.9211 GB, free: 5.551 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.6456, allocations: 12.03 kB / 0.9211 GB, free: 5.539 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/0.6476, allocations: 140.6 kB / 0.9212 GB, free: 5.402 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.6479, allocations: 220 kB / 0.9214 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.211e-05/0.648, allocations: 28.3 kB / 0.9215 GB, free: 5.121 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.648, allocations: 16 kB / 0.9215 GB, free: 5.105 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006235/0.6486, allocations: 342.2 kB / 0.9218 GB, free: 4.754 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.6486, allocations: 0 / 0.9218 GB, free: 4.754 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.703e-05/0.6487, allocations: 12 kB / 0.9218 GB, free: 4.742 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.786e-05/0.6487, allocations: 12 kB / 0.9218 GB, free: 4.73 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005759/0.6493, allocations: 324.1 kB / 0.9221 GB, free: 4.414 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.6512, allocations: 1.113 MB / 0.9232 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005243/0.6517, allocations: 178.5 kB / 0.9234 GB, free: 3.027 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.6518, allocations: 73.75 kB / 0.9235 GB, free: 2.953 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006524/0.6525, allocations: 461.4 kB / 0.9239 GB, free: 2.41 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.505e-05/0.6525, allocations: 42.5 kB / 0.9239 GB, free: 2.359 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=21): time 2.104e-06/0.6525, allocations: 0 / 0.9239 GB, free: 2.359 MB / 0.6856 GB Notification: Performance of matching and sorting (n=21): time 0.0007473/0.6533, allocations: 259.2 kB / 0.9242 GB, free: 2.102 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.6533, allocations: 59.39 kB / 0.9243 GB, free: 2.031 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.6536, allocations: 199.1 kB / 0.9244 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.366e-05/0.6536, allocations: 33.7 kB / 0.9245 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.6538, allocations: 156.2 kB / 0.9246 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.352e-05/0.6538, allocations: 71.33 kB / 0.9247 GB, free: 1.555 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.789e-05/0.6539, allocations: 53.66 kB / 0.9247 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.6541, allocations: 330.8 kB / 0.9251 GB, free: 1.164 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.6543, allocations: 72.22 kB / 0.9251 GB, free: 1.094 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.6545, allocations: 161.3 kB / 0.9253 GB, free: 0.8984 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.6549, allocations: 245 kB / 0.9255 GB, free: 0.6211 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.6549, allocations: 8 kB / 0.9255 GB, free: 0.6133 MB / 0.6856 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005654/0.6554, allocations: 281.2 kB / 0.9258 GB, free: 340 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.6555, allocations: 10.81 kB / 0.9258 GB, free: 332 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.6555, allocations: 4 kB / 0.9258 GB, free: 328 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.6555, allocations: 7.938 kB / 0.9258 GB, free: 320 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.6558, allocations: 60.28 kB / 0.9259 GB, free: 260 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.6558, allocations: 4 kB / 0.9259 GB, free: 256 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.656, allocations: 31.73 kB / 0.9259 GB, free: 224 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/0.6561, allocations: 16 kB / 0.9259 GB, free: 208 kB / 0.6856 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 0.0001618/0.6562, allocations: 137.8 kB / 0.926 GB, free: 60 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.6564, allocations: 27.94 kB / 0.9261 GB, free: 32 kB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005581/0.6569, allocations: 271.2 kB / 0.9263 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.657, allocations: 11.92 kB / 0.9263 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.657, allocations: 4 kB / 0.9263 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.657, allocations: 0 / 0.9263 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009007/0.6579, allocations: 0.5808 MB / 0.9269 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6579, allocations: 0 / 0.9269 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.6581, allocations: 35.91 kB / 0.927 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.6581, allocations: 4 kB / 0.927 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.6581, allocations: 8 kB / 0.927 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.6581, allocations: 4 kB / 0.927 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6581, allocations: 4.062 kB / 0.927 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005783/0.6587, allocations: 364 kB / 0.9273 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.6588, allocations: 116.9 kB / 0.9274 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.6589, allocations: 4 kB / 0.9274 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.6591, allocations: 19.98 kB / 0.9275 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.6592, allocations: 11.98 kB / 0.9275 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.6592, allocations: 12 kB / 0.9275 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001444/0.6593, allocations: 152.3 kB / 0.9276 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.6593, allocations: 0 / 0.9276 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0005529/0.6599, allocations: 119.8 kB / 0.9277 GB, free: 14.23 MB / 0.7012 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.0005345/0.6604, allocations: 218.8 kB / 0.9279 GB, free: 14 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004291/0.6609, allocations: 199.6 kB / 0.9281 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6609, allocations: 0.75 kB / 0.9281 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.661, allocations: 91.89 kB / 0.9282 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006669/0.6617, allocations: 107.8 kB / 0.9283 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009339/0.6626, allocations: 469.1 kB / 0.9288 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.663, allocations: 0.7328 MB / 0.9295 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002531/0.6633, allocations: 62.19 kB / 0.9295 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.006e-05/0.6634, allocations: 27.42 kB / 0.9296 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of SimCode: time 5.91e-07/0.6634, allocations: 0 / 0.9296 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of Templates: time 0.01188/0.6752, allocations: 5.54 MB / 0.935 GB, free: 6.805 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirProperties.makefile (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=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe 2>&1)