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.8709/0.8709, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001409/0.001409, allocations: 172.7 kB / 182.2 MB, free: 9.449 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.589/1.589, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.0009498/0.0009498, allocations: 84.05 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002265/0.002265, allocations: 281.2 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.736e-05/1.742e-05, allocations: 0 / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4572/0.4572, allocations: 82.78 MB / 0.7573 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.632/5.089, allocations: 1.881 GB / 2.638 GB, free: 71.69 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/5.09, allocations: 67.78 kB / 2.639 GB, free: 71.66 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.09696/5.187, allocations: 47.39 MB / 2.685 GB, free: 30.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.403e-06/5.187, allocations: 3.938 kB / 2.685 GB, free: 30.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.354e-05/5.187, allocations: 4 kB / 2.685 GB, free: 30.06 MB / 0.698 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/5.188, allocations: 0.5375 MB / 2.685 GB, free: 29.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/5.188, allocations: 12.03 kB / 2.685 GB, free: 29.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/5.189, allocations: 143.5 kB / 2.685 GB, free: 29.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/5.189, allocations: 218.8 kB / 2.686 GB, free: 29.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/5.189, allocations: 7.938 kB / 2.686 GB, free: 29.06 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/5.189, allocations: 12 kB / 2.686 GB, free: 29.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004717/5.19, allocations: 316.6 kB / 2.686 GB, free: 28.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003613/5.19, allocations: 285.8 kB / 2.686 GB, free: 28.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/5.19, allocations: 0 / 2.686 GB, free: 28.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/5.19, allocations: 4 kB / 2.686 GB, free: 28.44 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.957e-05/5.19, allocations: 11.98 kB / 2.686 GB, free: 28.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/5.192, allocations: 1.101 MB / 2.687 GB, free: 27.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003742/5.192, allocations: 178.6 kB / 2.688 GB, free: 27.05 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/5.192, allocations: 73.58 kB / 2.688 GB, free: 26.97 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003547/5.193, allocations: 364.3 kB / 2.688 GB, free: 26.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/5.193, allocations: 34.56 kB / 2.688 GB, free: 26.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=21): time 1.713e-06/5.193, allocations: 0 / 2.688 GB, free: 26.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=21): time 0.0004366/5.193, allocations: 173.9 kB / 2.688 GB, free: 26.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.952e-05/5.193, allocations: 59.41 kB / 2.688 GB, free: 26.26 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/5.193, allocations: 144.5 kB / 2.688 GB, free: 26.11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/5.193, allocations: 29.7 kB / 2.688 GB, free: 26.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/5.193, allocations: 152.1 kB / 2.689 GB, free: 25.92 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/5.193, allocations: 74.88 kB / 2.689 GB, free: 25.85 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.25e-05/5.193, allocations: 0 / 2.689 GB, free: 25.85 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.113e-05/5.194, allocations: 322.8 kB / 2.689 GB, free: 25.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.789e-05/5.194, allocations: 60.25 kB / 2.689 GB, free: 25.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/5.194, allocations: 159.5 kB / 2.689 GB, free: 25.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/5.194, allocations: 84.69 kB / 2.689 GB, free: 25.19 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/5.194, allocations: 3.938 kB / 2.689 GB, free: 25.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003831/5.194, allocations: 251.8 kB / 2.689 GB, free: 24.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/5.194, allocations: 8 kB / 2.689 GB, free: 24.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/5.194, allocations: 0 / 2.689 GB, free: 24.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/5.194, allocations: 8 kB / 2.689 GB, free: 24.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/5.195, allocations: 59.91 kB / 2.69 GB, free: 24.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/5.195, allocations: 4 kB / 2.69 GB, free: 24.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/5.195, allocations: 19.78 kB / 2.69 GB, free: 24.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/5.195, allocations: 15.98 kB / 2.69 GB, free: 24.82 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.915e-05/5.195, allocations: 116.9 kB / 2.69 GB, free: 24.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.898e-05/5.195, allocations: 23.77 kB / 2.69 GB, free: 24.68 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003625/5.195, allocations: 203.7 kB / 2.69 GB, free: 24.47 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/5.195, allocations: 7.984 kB / 2.69 GB, free: 24.46 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/5.195, allocations: 0 / 2.69 GB, free: 24.46 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/5.195, allocations: 0 / 2.69 GB, free: 24.46 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000515/5.196, allocations: 496.5 kB / 2.69 GB, free: 23.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/5.196, allocations: 0 / 2.69 GB, free: 23.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/5.196, allocations: 35.92 kB / 2.69 GB, free: 23.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/5.196, allocations: 4 kB / 2.69 GB, free: 23.89 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/5.196, allocations: 0 / 2.69 GB, free: 23.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/5.196, allocations: 7.953 kB / 2.69 GB, free: 23.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/5.196, allocations: 0 / 2.69 GB, free: 23.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/5.197, allocations: 308.9 kB / 2.691 GB, free: 23.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.142e-05/5.197, allocations: 116.9 kB / 2.691 GB, free: 23.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/5.197, allocations: 0 / 2.691 GB, free: 23.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/5.197, allocations: 15.89 kB / 2.691 GB, free: 23.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/5.197, allocations: 15.92 kB / 2.691 GB, free: 23.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/5.197, allocations: 23.98 kB / 2.691 GB, free: 23.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.881e-05/5.197, allocations: 113.8 kB / 2.691 GB, free: 23.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.01e-07/5.197, allocations: 0 / 2.691 GB, free: 23.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005697/5.198, allocations: 143.9 kB / 2.691 GB, free: 23.11 MB / 0.698 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009174/5.199, allocations: 0.7145 MB / 2.692 GB, free: 22.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002686/5.199, allocations: 177.3 kB / 2.692 GB, free: 22.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/5.199, allocations: 0 / 2.692 GB, free: 22.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.516e-05/5.199, allocations: 83.92 kB / 2.692 GB, free: 22.13 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/5.199, allocations: 47.94 kB / 2.692 GB, free: 22.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004588/5.2, allocations: 227.1 kB / 2.692 GB, free: 21.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/5.2, allocations: 0.7365 MB / 2.693 GB, free: 21.08 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002886/5.2, allocations: 53.75 kB / 2.693 GB, free: 21.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/5.2, allocations: 27.44 kB / 2.693 GB, free: 21 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/5.2, allocations: 0 / 2.693 GB, free: 21 MB / 0.698 GB Notification: Performance of Templates: time 0.01053/5.211, allocations: 6.919 MB / 2.7 GB, free: 14.12 MB / 0.698 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)