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.001236/0.001236, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001704/0.001704, allocations: 186.5 kB / 16.25 MB, free: 6.617 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.327/1.327, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00203/0.00203, allocations: 286.8 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9444/0.9444, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001642, allocations: 97.97 kB / 0.5947 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1586, allocations: 86.99 MB / 0.6796 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.4626/0.6212, allocations: 147 MB / 0.8232 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003626/0.6248, allocations: 3.608 MB / 0.8267 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.625, allocations: 1.062 kB / 0.8267 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.6253, allocations: 54.53 kB / 0.8267 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.6257, allocations: 127.3 kB / 0.8269 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.628, allocations: 0.9492 MB / 0.8278 GB, free: 392 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000399/0.6284, allocations: 318.1 kB / 0.8281 GB, free: 324 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.438e-05/0.6285, allocations: 17.52 kB / 0.8281 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003843/0.6289, allocations: 187.8 kB / 0.8283 GB, free: 280 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.6291, allocations: 146.7 kB / 0.8284 GB, free: 252 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.6291, allocations: 14.19 kB / 0.8284 GB, free: 248 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002055/0.6312, allocations: 1.273 MB / 0.8297 GB, free: 112 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.789e-05/0.6313, allocations: 69.69 kB / 0.8297 GB, free: 104 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.6314, allocations: 106.9 kB / 0.8298 GB, free: 80 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.6326, allocations: 0.7381 MB / 0.8306 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.6326, allocations: 0 / 0.8306 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6326, allocations: 1.375 kB / 0.8306 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.6326, allocations: 0 / 0.8306 GB, free: 15.98 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001137/0.6337, allocations: 0.5826 MB / 0.8311 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.6338, allocations: 13.97 kB / 0.8311 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.6349, allocations: 138.5 kB / 0.8313 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.6352, allocations: 223.4 kB / 0.8315 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.6352, allocations: 18.5 kB / 0.8315 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.6352, allocations: 15.47 kB / 0.8315 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005387/0.6358, allocations: 332.2 kB / 0.8318 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.6358, allocations: 7.938 kB / 0.8318 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/0.6358, allocations: 10.12 kB / 0.8319 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.381e-05/0.6359, allocations: 15.08 kB / 0.8319 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005171/0.6364, allocations: 325.3 kB / 0.8322 GB, free: 15.21 MB / 0.5762 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.001591/0.638, allocations: 1.108 MB / 0.8333 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000468/0.6385, allocations: 191.8 kB / 0.8334 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.6386, allocations: 83.48 kB / 0.8335 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005434/0.6392, allocations: 461.2 kB / 0.834 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.6392, allocations: 35.31 kB / 0.834 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.6392, allocations: 0 / 0.834 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21): time 0.0006491/0.6399, allocations: 268.7 kB / 0.8343 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.6399, allocations: 53.53 kB / 0.8343 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.6401, allocations: 204.2 kB / 0.8345 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.6402, allocations: 31.27 kB / 0.8345 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.831e-05/0.6402, allocations: 144.6 kB / 0.8347 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.16e-05/0.6403, allocations: 76.59 kB / 0.8347 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.234e-05/0.6404, allocations: 52.02 kB / 0.8348 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.6405, allocations: 326.6 kB / 0.8351 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.6406, allocations: 71.77 kB / 0.8352 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.6408, allocations: 170.9 kB / 0.8353 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.6411, allocations: 239.3 kB / 0.8356 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6411, allocations: 5.219 kB / 0.8356 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004703/0.6416, allocations: 288.3 kB / 0.8358 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.6416, allocations: 7.062 kB / 0.8359 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.6416, allocations: 4.984 kB / 0.8359 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.6416, allocations: 4.312 kB / 0.8359 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.6419, allocations: 63.27 kB / 0.8359 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.6419, allocations: 6.062 kB / 0.8359 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.6421, allocations: 34.22 kB / 0.836 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.6422, allocations: 14.12 kB / 0.836 GB, free: 12.81 MB / 0.5762 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.0001243/0.6423, allocations: 136.5 kB / 0.8361 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.6424, allocations: 22.12 kB / 0.8361 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004303/0.6429, allocations: 285.6 kB / 0.8364 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.6429, allocations: 10.88 kB / 0.8364 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.6429, allocations: 0 / 0.8364 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.6429, allocations: 2.016 kB / 0.8364 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006586/0.6436, allocations: 0.5888 MB / 0.837 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.6436, allocations: 3.938 kB / 0.837 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.6438, allocations: 35.08 kB / 0.837 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.6438, allocations: 5.375 kB / 0.837 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.6438, allocations: 8.812 kB / 0.837 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.6438, allocations: 1.5 kB / 0.837 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6438, allocations: 1.531 kB / 0.837 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005181/0.6444, allocations: 339.7 kB / 0.8374 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.6445, allocations: 124 kB / 0.8375 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.939e-05/0.6445, allocations: 11.47 kB / 0.8375 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.6448, allocations: 12.84 kB / 0.8375 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.017e-05/0.6448, allocations: 16.06 kB / 0.8375 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.6449, allocations: 13.75 kB / 0.8375 GB, free: 12 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001207/0.645, allocations: 150.4 kB / 0.8377 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.645, allocations: 0 / 0.8377 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005163/0.6455, allocations: 117.9 kB / 0.8378 GB, free: 11.91 MB / 0.5762 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.0003991/0.6459, allocations: 216.2 kB / 0.838 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003671/0.6463, allocations: 225.8 kB / 0.8382 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.6463, allocations: 1.375 kB / 0.8382 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.6465, allocations: 105 kB / 0.8383 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00058/0.647, allocations: 103.8 kB / 0.8384 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007957/0.6478, allocations: 0.5236 MB / 0.8389 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.6482, allocations: 0.7367 MB / 0.8396 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000294/0.6485, allocations: 57.73 kB / 0.8397 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.371e-05/0.6486, allocations: 22.94 kB / 0.8397 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.6486, allocations: 0 / 0.8397 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of Templates: time 0.008949/0.6576, allocations: 5.473 MB / 0.8451 GB, free: 8.363 MB / 0.5762 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)