Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.293/1.293, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009551/0.0009552, allocations: 181.8 kB / 327.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.4 MB / 0.5785 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007496/0.0007498, allocations: 85.03 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003684, allocations: 11.5 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1733, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.661/3.834, allocations: 2.205 GB / 3.106 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/3.834, allocations: 71.97 kB / 3.106 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4179/4.252, allocations: 50.76 MB / 3.156 GB, free: 325.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.244e-06/4.252, allocations: 0 / 3.156 GB, free: 325.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.411e-05/4.252, allocations: 7.719 kB / 3.156 GB, free: 325.5 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001105/4.253, allocations: 0.5676 MB / 3.156 GB, free: 324.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/4.254, allocations: 9.5 kB / 3.156 GB, free: 324.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/4.255, allocations: 139.1 kB / 3.157 GB, free: 324.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/4.255, allocations: 224.4 kB / 3.157 GB, free: 324.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/4.255, allocations: 13.34 kB / 3.157 GB, free: 324.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/4.255, allocations: 18.97 kB / 3.157 GB, free: 324.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004954/4.255, allocations: 342.3 kB / 3.157 GB, free: 324.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/4.256, allocations: 11.92 kB / 3.157 GB, free: 324.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/4.256, allocations: 6.531 kB / 3.157 GB, free: 324.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.634e-05/4.256, allocations: 17.44 kB / 3.157 GB, free: 324.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004435/4.256, allocations: 313.2 kB / 3.157 GB, free: 324.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/4.257, allocations: 1.196 MB / 3.159 GB, free: 323.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/4.258, allocations: 181.7 kB / 3.159 GB, free: 323.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/4.258, allocations: 84.3 kB / 3.159 GB, free: 323.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003806/4.258, allocations: 456.3 kB / 3.159 GB, free: 322.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/4.258, allocations: 42.33 kB / 3.159 GB, free: 322.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=20): time 1.653e-06/4.258, allocations: 0 / 3.159 GB, free: 322.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=20): time 0.0005432/4.259, allocations: 247.9 kB / 3.16 GB, free: 322.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/4.259, allocations: 59.03 kB / 3.16 GB, free: 322.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/4.259, allocations: 222.8 kB / 3.16 GB, free: 322.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/4.259, allocations: 33.3 kB / 3.16 GB, free: 322.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.952e-05/4.259, allocations: 148.3 kB / 3.16 GB, free: 322.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/4.259, allocations: 67.75 kB / 3.16 GB, free: 322.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.207e-05/4.259, allocations: 9.656 kB / 3.16 GB, free: 322.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.312e-05/4.259, allocations: 328.8 kB / 3.16 GB, free: 322 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.673e-05/4.259, allocations: 64.23 kB / 3.16 GB, free: 322 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/4.26, allocations: 165.6 kB / 3.161 GB, free: 321.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/4.26, allocations: 250.5 kB / 3.161 GB, free: 321.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/4.26, allocations: 0 / 3.161 GB, free: 321.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004251/4.26, allocations: 282.6 kB / 3.161 GB, free: 321.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/4.26, allocations: 3.781 kB / 3.161 GB, free: 321.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/4.26, allocations: 4.375 kB / 3.161 GB, free: 321.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/4.26, allocations: 7.938 kB / 3.161 GB, free: 321.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/4.261, allocations: 61.41 kB / 3.161 GB, free: 321.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/4.261, allocations: 7.906 kB / 3.161 GB, free: 321.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/4.261, allocations: 37.47 kB / 3.161 GB, free: 321.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/4.261, allocations: 15.55 kB / 3.161 GB, free: 321.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001027/4.261, allocations: 135.8 kB / 3.161 GB, free: 321.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/4.261, allocations: 29.58 kB / 3.161 GB, free: 321.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000366/4.261, allocations: 252.9 kB / 3.162 GB, free: 321.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/4.261, allocations: 3.938 kB / 3.162 GB, free: 321.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/4.261, allocations: 3.938 kB / 3.162 GB, free: 321.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/4.261, allocations: 0 / 3.162 GB, free: 321.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005003/4.262, allocations: 0.5314 MB / 3.162 GB, free: 321 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/4.262, allocations: 0 / 3.162 GB, free: 321 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/4.262, allocations: 34.61 kB / 3.162 GB, free: 321 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/4.262, allocations: 7.969 kB / 3.162 GB, free: 321 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/4.262, allocations: 2.625 kB / 3.162 GB, free: 321 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/4.262, allocations: 3.781 kB / 3.162 GB, free: 321 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/4.262, allocations: 0 / 3.162 GB, free: 321 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003401/4.263, allocations: 303.4 kB / 3.163 GB, free: 320.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.88e-05/4.263, allocations: 121.4 kB / 3.163 GB, free: 320.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/4.263, allocations: 4 kB / 3.163 GB, free: 320.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/4.263, allocations: 14.27 kB / 3.163 GB, free: 320.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/4.263, allocations: 10.05 kB / 3.163 GB, free: 320.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/4.263, allocations: 14.69 kB / 3.163 GB, free: 320.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.81e-05/4.263, allocations: 155 kB / 3.163 GB, free: 320.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/4.263, allocations: 0 / 3.163 GB, free: 320.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005865/4.264, allocations: 161.6 kB / 3.163 GB, free: 320.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (17): * Single equations (assignments): 16 * 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.0007719/4.264, allocations: 0.6425 MB / 3.164 GB, free: 320.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003093/4.265, allocations: 181.7 kB / 3.164 GB, free: 320.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/4.265, allocations: 6.438 kB / 3.164 GB, free: 320.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.532e-05/4.265, allocations: 85.09 kB / 3.164 GB, free: 320.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005702/4.265, allocations: 99.11 kB / 3.164 GB, free: 320.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006039/4.266, allocations: 0.516 MB / 3.164 GB, free: 319.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/4.266, allocations: 0.7436 MB / 3.165 GB, free: 319.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002972/4.267, allocations: 57.97 kB / 3.165 GB, free: 319.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.217e-05/4.267, allocations: 27.05 kB / 3.165 GB, free: 319 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/4.267, allocations: 0 / 3.165 GB, free: 319 MB / 0.8855 GB Notification: Performance of Templates: time 0.01418/4.281, allocations: 12.26 MB / 3.177 GB, free: 308.5 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe 2>&1)