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.001217/0.001217, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.00124/0.00124, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002111/0.002111, allocations: 301.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9296/0.9296, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 99.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.4001, allocations: 86.98 MB / 0.7671 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.138/0.5381, allocations: 149.1 MB / 0.9127 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.003606/0.5418, allocations: 3.617 MB / 0.9162 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.5419, allocations: 0 / 0.9162 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.5422, allocations: 67.64 kB / 0.9163 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.5425, allocations: 139.2 kB / 0.9164 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.5448, allocations: 1.01 MB / 0.9174 GB, free: 9.172 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.000339/0.5451, allocations: 319.7 kB / 0.9177 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.775e-05/0.5452, allocations: 17.53 kB / 0.9177 GB, free: 8.84 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003234/0.5455, allocations: 194.9 kB / 0.9179 GB, free: 8.652 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.5457, allocations: 135.5 kB / 0.918 GB, free: 8.52 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.5457, allocations: 12 kB / 0.918 GB, free: 8.508 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001763/0.5475, allocations: 1.22 MB / 0.9192 GB, free: 7.285 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 8.493e-05/0.5476, allocations: 71.78 kB / 0.9193 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.5477, allocations: 107.6 kB / 0.9194 GB, free: 7.109 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0009071/0.5486, allocations: 0.6338 MB / 0.92 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.5486, allocations: 0 / 0.92 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5486, allocations: 0 / 0.92 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.5486, allocations: 4 kB / 0.92 GB, free: 6.473 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.001007/0.5496, allocations: 0.5889 MB / 0.9206 GB, free: 5.836 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.5497, allocations: 11.97 kB / 0.9206 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.5508, allocations: 132.6 kB / 0.9207 GB, free: 5.695 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.5511, allocations: 227.9 kB / 0.921 GB, free: 5.434 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.5511, allocations: 20.31 kB / 0.921 GB, free: 5.414 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.5512, allocations: 16 kB / 0.921 GB, free: 5.398 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/0.5517, allocations: 338.3 kB / 0.9213 GB, free: 5.051 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.5517, allocations: 0 / 0.9213 GB, free: 5.051 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.5517, allocations: 8 kB / 0.9213 GB, free: 5.043 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.159e-05/0.5518, allocations: 23.92 kB / 0.9213 GB, free: 5.02 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004712/0.5522, allocations: 324.1 kB / 0.9217 GB, free: 4.703 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.001501/0.5537, allocations: 1.109 MB / 0.9227 GB, free: 3.504 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004642/0.5542, allocations: 190.4 kB / 0.9229 GB, free: 3.309 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.5543, allocations: 80.81 kB / 0.923 GB, free: 3.227 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004928/0.5548, allocations: 465.4 kB / 0.9234 GB, free: 2.68 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.5549, allocations: 34.56 kB / 0.9235 GB, free: 2.637 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/0.5549, allocations: 0 / 0.9235 GB, free: 2.637 MB / 0.6856 GB Notification: Performance of matching and sorting (n=21): time 0.000605/0.5555, allocations: 258.9 kB / 0.9237 GB, free: 2.379 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.5555, allocations: 51.41 kB / 0.9238 GB, free: 2.316 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.5557, allocations: 215 kB / 0.924 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.5558, allocations: 33.7 kB / 0.924 GB, free: 2.051 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 7.504e-05/0.5558, allocations: 136 kB / 0.9241 GB, free: 1.914 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.206e-05/0.5559, allocations: 82.84 kB / 0.9242 GB, free: 1.832 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.83e-05/0.556, allocations: 49.7 kB / 0.9243 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.968e-05/0.5561, allocations: 326.8 kB / 0.9246 GB, free: 1.449 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.5562, allocations: 68.22 kB / 0.9246 GB, free: 1.383 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.5564, allocations: 165.3 kB / 0.9248 GB, free: 1.184 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.5567, allocations: 249.3 kB / 0.925 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5567, allocations: 0 / 0.925 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004655/0.5571, allocations: 293 kB / 0.9253 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.5572, allocations: 4 kB / 0.9253 GB, free: 0.6055 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.5572, allocations: 4 kB / 0.9253 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.5572, allocations: 8.312 kB / 0.9253 GB, free: 0.5938 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.5575, allocations: 59.91 kB / 0.9254 GB, free: 0.5352 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.5575, allocations: 4 kB / 0.9254 GB, free: 0.5312 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.5577, allocations: 35.59 kB / 0.9254 GB, free: 0.4961 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.5577, allocations: 12 kB / 0.9254 GB, free: 496 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.0001095/0.5578, allocations: 141.6 kB / 0.9256 GB, free: 344 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.5579, allocations: 27.81 kB / 0.9256 GB, free: 316 kB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004137/0.5584, allocations: 263.3 kB / 0.9258 GB, free: 44 kB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.5584, allocations: 7.938 kB / 0.9259 GB, free: 36 kB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5584, allocations: 112 / 0.9259 GB, free: 36 kB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.5584, allocations: 11.92 kB / 0.9259 GB, free: 24 kB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000656/0.5591, allocations: 0.5799 MB / 0.9264 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.5591, allocations: 0 / 0.9264 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.5593, allocations: 35.97 kB / 0.9265 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.5593, allocations: 0 / 0.9265 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.5593, allocations: 8 kB / 0.9265 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.5593, allocations: 11.94 kB / 0.9265 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5593, allocations: 0 / 0.9265 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.5598, allocations: 344.1 kB / 0.9268 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.5599, allocations: 124.7 kB / 0.9269 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.5599, allocations: 12 kB / 0.9269 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.5602, allocations: 14.81 kB / 0.927 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.5602, allocations: 15.92 kB / 0.927 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.5602, allocations: 15.98 kB / 0.927 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001093/0.5604, allocations: 152.3 kB / 0.9271 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5604, allocations: 0 / 0.9271 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004493/0.5608, allocations: 115.9 kB / 0.9272 GB, free: 14.52 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.0003635/0.5612, allocations: 215.1 kB / 0.9275 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0003273/0.5615, allocations: 207.6 kB / 0.9277 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5615, allocations: 0.75 kB / 0.9277 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.5617, allocations: 107.9 kB / 0.9278 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005753/0.5623, allocations: 98.88 kB / 0.9278 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007461/0.563, allocations: 0.4931 MB / 0.9283 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.5633, allocations: 0.7328 MB / 0.929 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.793e-05/0.5634, allocations: 23.44 kB / 0.9291 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of SimCode: time 4.31e-07/0.5634, allocations: 4 kB / 0.9291 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of Templates: time 0.006609/0.57, allocations: 4.382 MB / 0.9334 GB, free: 8.219 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe 2>&1)