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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8283/0.8283, allocations: 143.4 MB / 159.2 MB, free: 4.918 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001234, allocations: 183.5 kB / 191.9 MB, free: 5.719 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 222.9 MB / 447.3 MB, free: 5.836 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 111.7 kB / 0.517 GB, free: 3.688 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001856/0.001856, allocations: 281.3 kB / 0.5973 GB, free: 49.34 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001398, allocations: 83.88 kB / 0.6885 GB, free: 3.816 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.404, allocations: 81.29 MB / 0.7679 GB, free: 27.62 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.5341/0.9381, allocations: 146.8 MB / 0.9113 GB, free: 0.7148 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004007/0.9421, allocations: 3.668 MB / 0.9149 GB, free: 0.6562 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.9423, allocations: 4.688 kB / 0.9149 GB, free: 0.6523 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003583/0.9427, allocations: 59.25 kB / 0.915 GB, free: 0.6523 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003117/0.943, allocations: 125.2 kB / 0.9151 GB, free: 0.6445 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002648/0.9457, allocations: 0.9484 MB / 0.916 GB, free: 0.5859 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000649/0.9464, allocations: 494 kB / 0.9165 GB, free: 0.5859 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 6.223e-05/0.9464, allocations: 19.23 kB / 0.9165 GB, free: 0.582 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003961/0.9468, allocations: 173.8 kB / 0.9167 GB, free: 0.582 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.947, allocations: 139 kB / 0.9168 GB, free: 0.582 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.9471, allocations: 8.344 kB / 0.9168 GB, free: 0.582 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002787/0.9499, allocations: 1.538 MB / 0.9183 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.95, allocations: 63.14 kB / 0.9184 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.9501, allocations: 110.9 kB / 0.9185 GB, free: 0.5625 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.9516, allocations: 0.7361 MB / 0.9192 GB, free: 0.5234 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.9517, allocations: 0 / 0.9192 GB, free: 0.5234 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9517, allocations: 0 / 0.9192 GB, free: 0.5234 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.9517, allocations: 2.375 kB / 0.9192 GB, free: 0.5234 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.001398/0.9531, allocations: 0.5862 MB / 0.9198 GB, free: 16.08 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 6.633e-05/0.9532, allocations: 9.406 kB / 0.9198 GB, free: 16.08 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/0.9545, allocations: 132.3 kB / 0.9199 GB, free: 16.07 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.9549, allocations: 223 kB / 0.9201 GB, free: 15.86 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.955, allocations: 19.25 kB / 0.9201 GB, free: 15.86 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.147e-05/0.955, allocations: 22.14 kB / 0.9202 GB, free: 15.85 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007041/0.9557, allocations: 341.2 kB / 0.9205 GB, free: 15.78 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.9558, allocations: 0.5938 kB / 0.9205 GB, free: 15.78 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.057e-05/0.9558, allocations: 9.562 kB / 0.9205 GB, free: 15.78 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.552e-05/0.9559, allocations: 17.61 kB / 0.9205 GB, free: 15.78 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006846/0.9566, allocations: 320.3 kB / 0.9208 GB, free: 15.77 MB / 0.573 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.001865/0.9584, allocations: 1.108 MB / 0.9219 GB, free: 15.01 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004914/0.959, allocations: 198.7 kB / 0.9221 GB, free: 14.98 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.9591, allocations: 80.89 kB / 0.9222 GB, free: 14.97 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006193/0.9597, allocations: 456.7 kB / 0.9226 GB, free: 14.5 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.9598, allocations: 38.06 kB / 0.9226 GB, free: 14.46 MB / 0.573 GB Notification: Performance of pre-optimization done (n=21): time 2.214e-06/0.9598, allocations: 4 kB / 0.9226 GB, free: 14.45 MB / 0.573 GB Notification: Performance of matching and sorting (n=21): time 0.0007417/0.9605, allocations: 260.7 kB / 0.9229 GB, free: 14.41 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.9606, allocations: 53.94 kB / 0.9229 GB, free: 14.35 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.9608, allocations: 208.6 kB / 0.9231 GB, free: 14.24 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.9608, allocations: 31.52 kB / 0.9232 GB, free: 14.21 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.961, allocations: 143.6 kB / 0.9233 GB, free: 14.09 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 6.578e-05/0.961, allocations: 71.09 kB / 0.9234 GB, free: 14.05 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.9611, allocations: 57.25 kB / 0.9234 GB, free: 14.03 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.9613, allocations: 329.2 kB / 0.9237 GB, free: 13.71 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.9614, allocations: 72.81 kB / 0.9238 GB, free: 13.71 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.9616, allocations: 158 kB / 0.924 GB, free: 13.61 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.9619, allocations: 255.2 kB / 0.9242 GB, free: 13.5 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.962, allocations: 0 / 0.9242 GB, free: 13.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004632/0.9624, allocations: 285.4 kB / 0.9245 GB, free: 13.45 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.9624, allocations: 5.312 kB / 0.9245 GB, free: 13.45 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.9625, allocations: 2.688 kB / 0.9245 GB, free: 13.45 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.9625, allocations: 9.297 kB / 0.9245 GB, free: 13.45 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.9627, allocations: 61.47 kB / 0.9245 GB, free: 13.45 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.9628, allocations: 7.75 kB / 0.9246 GB, free: 13.45 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.963, allocations: 40.81 kB / 0.9246 GB, free: 13.43 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/0.9631, allocations: 12.28 kB / 0.9246 GB, free: 13.42 MB / 0.573 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.0001681/0.9632, allocations: 134.9 kB / 0.9247 GB, free: 13.31 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.9634, allocations: 28.59 kB / 0.9248 GB, free: 13.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004876/0.9639, allocations: 280.2 kB / 0.925 GB, free: 13.25 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.9639, allocations: 7.125 kB / 0.925 GB, free: 13.25 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.9639, allocations: 0 / 0.925 GB, free: 13.25 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.319e-06/0.9639, allocations: 3.094 kB / 0.925 GB, free: 13.25 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007263/0.9646, allocations: 0.5827 MB / 0.9256 GB, free: 12.93 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.9647, allocations: 12.97 kB / 0.9256 GB, free: 12.92 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.9648, allocations: 29.89 kB / 0.9256 GB, free: 12.92 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.9649, allocations: 0 / 0.9256 GB, free: 12.92 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.9649, allocations: 7.609 kB / 0.9257 GB, free: 12.92 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.9649, allocations: 2.625 kB / 0.9257 GB, free: 12.92 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.9649, allocations: 6 kB / 0.9257 GB, free: 12.92 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.966, allocations: 1.009 MB / 0.9266 GB, free: 12.17 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.9662, allocations: 117.5 kB / 0.9268 GB, free: 12.07 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.9663, allocations: 5.969 kB / 0.9268 GB, free: 12.07 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.9665, allocations: 15.5 kB / 0.9268 GB, free: 12.06 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.9666, allocations: 15.81 kB / 0.9268 GB, free: 12.06 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.859e-05/0.9666, allocations: 15.14 kB / 0.9268 GB, free: 12.06 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001457/0.9668, allocations: 155.2 kB / 0.927 GB, free: 11.98 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9668, allocations: 0 / 0.927 GB, free: 11.98 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0008321/0.9676, allocations: 117.5 kB / 0.9271 GB, free: 11.97 MB / 0.573 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.0005349/0.9681, allocations: 217.9 kB / 0.9273 GB, free: 11.86 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0003816/0.9685, allocations: 209.1 kB / 0.9275 GB, free: 11.86 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.9686, allocations: 0.75 kB / 0.9275 GB, free: 11.86 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.9687, allocations: 108.2 kB / 0.9276 GB, free: 11.86 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006717/0.9694, allocations: 96.52 kB / 0.9277 GB, free: 11.85 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.9705, allocations: 0.6979 MB / 0.9284 GB, free: 11.41 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.9709, allocations: 0.7479 MB / 0.9291 GB, free: 10.71 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003394/0.9713, allocations: 54.41 kB / 0.9291 GB, free: 10.69 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.67e-05/0.9713, allocations: 21.47 kB / 0.9292 GB, free: 10.68 MB / 0.573 GB Notification: Performance of SimCode: time 2.81e-07/0.9714, allocations: 3.938 kB / 0.9292 GB, free: 10.68 MB / 0.573 GB Notification: Performance of Templates: time 0.01294/0.9843, allocations: 5.416 MB / 0.9345 GB, free: 10.29 MB / 0.573 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)