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: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.39/1.39, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001622/0.001622, allocations: 181.5 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.191/2.191, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.001077/0.001078, allocations: 81.7 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004311/0.0004312, allocations: 9 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.288, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.517/5.805, allocations: 2.205 GB / 3.105 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/5.806, allocations: 75.97 kB / 3.105 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7284/6.534, allocations: 50.71 MB / 3.155 GB, free: 325.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.404e-06/6.534, allocations: 0 / 3.155 GB, free: 325.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.221e-05/6.534, allocations: 3.688 kB / 3.155 GB, free: 325.4 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.001518/6.536, allocations: 0.5798 MB / 3.155 GB, free: 324.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/6.536, allocations: 13.14 kB / 3.155 GB, free: 324.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001041/6.536, allocations: 56.83 kB / 3.155 GB, free: 324.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/6.537, allocations: 141.3 kB / 3.155 GB, free: 324.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/6.537, allocations: 227.5 kB / 3.156 GB, free: 324.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/6.537, allocations: 13.12 kB / 3.156 GB, free: 324.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-05/6.538, allocations: 19.91 kB / 3.156 GB, free: 324.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005866/6.538, allocations: 338.9 kB / 3.156 GB, free: 324.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/6.538, allocations: 0 / 3.156 GB, free: 324.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.679e-05/6.538, allocations: 11.38 kB / 3.156 GB, free: 324.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.239e-05/6.538, allocations: 22.36 kB / 3.156 GB, free: 324.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005127/6.539, allocations: 314.2 kB / 3.156 GB, free: 324.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/6.54, allocations: 1.188 MB / 3.157 GB, free: 323.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004688/6.541, allocations: 198.1 kB / 3.158 GB, free: 323.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005373/6.541, allocations: 454.7 kB / 3.158 GB, free: 322.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/6.541, allocations: 34.44 kB / 3.158 GB, free: 322.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=20): time 2.275e-06/6.541, allocations: 7.906 kB / 3.158 GB, free: 322.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=20): time 0.0006924/6.542, allocations: 326.2 kB / 3.158 GB, free: 322.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/6.542, allocations: 58.28 kB / 3.159 GB, free: 322.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/6.542, allocations: 207.5 kB / 3.159 GB, free: 322.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/6.542, allocations: 25.7 kB / 3.159 GB, free: 322.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.239e-05/6.542, allocations: 150.4 kB / 3.159 GB, free: 322.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/6.543, allocations: 69.12 kB / 3.159 GB, free: 322.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.375e-05/6.543, allocations: 3.5 kB / 3.159 GB, free: 322.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.848e-05/6.543, allocations: 334.7 kB / 3.159 GB, free: 321.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/6.543, allocations: 68.88 kB / 3.159 GB, free: 321.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/6.543, allocations: 154.9 kB / 3.159 GB, free: 321.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/6.543, allocations: 93.64 kB / 3.16 GB, free: 321.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/6.543, allocations: 0 / 3.16 GB, free: 321.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004692/6.544, allocations: 292 kB / 3.16 GB, free: 321.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/6.544, allocations: 6.469 kB / 3.16 GB, free: 321.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/6.544, allocations: 3.875 kB / 3.16 GB, free: 321.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/6.544, allocations: 3.844 kB / 3.16 GB, free: 321.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/6.544, allocations: 65.16 kB / 3.16 GB, free: 321.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/6.544, allocations: 7.922 kB / 3.16 GB, free: 321.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/6.544, allocations: 33.5 kB / 3.16 GB, free: 321.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/6.544, allocations: 15.8 kB / 3.16 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.0001283/6.544, allocations: 136.8 kB / 3.16 GB, free: 321.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/6.544, allocations: 35.22 kB / 3.16 GB, free: 321.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004124/6.545, allocations: 244.4 kB / 3.16 GB, free: 321.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/6.545, allocations: 3.938 kB / 3.16 GB, free: 321.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/6.545, allocations: 0 / 3.16 GB, free: 321.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/6.545, allocations: 112 / 3.16 GB, free: 321.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005769/6.546, allocations: 0.532 MB / 3.161 GB, free: 321 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/6.546, allocations: 7.906 kB / 3.161 GB, free: 321 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/6.546, allocations: 25.7 kB / 3.161 GB, free: 321 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/6.546, allocations: 3.031 kB / 3.161 GB, free: 321 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/6.546, allocations: 7.719 kB / 3.161 GB, free: 321 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.207e-06/6.546, allocations: 3 kB / 3.161 GB, free: 321 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/6.546, allocations: 0 / 3.161 GB, free: 321 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004237/6.546, allocations: 321.5 kB / 3.161 GB, free: 320.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/6.546, allocations: 132.1 kB / 3.161 GB, free: 320.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/6.546, allocations: 0 / 3.161 GB, free: 320.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/6.547, allocations: 12.03 kB / 3.161 GB, free: 320.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/6.547, allocations: 12.92 kB / 3.161 GB, free: 320.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-05/6.547, allocations: 13.64 kB / 3.161 GB, free: 320.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001241/6.547, allocations: 154.6 kB / 3.162 GB, free: 320.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.11e-07/6.547, allocations: 0 / 3.162 GB, free: 320.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007137/6.548, allocations: 147.9 kB / 3.162 GB, free: 320.5 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.001841/6.549, allocations: 1.464 MB / 3.163 GB, free: 319.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004075/6.55, allocations: 189.4 kB / 3.163 GB, free: 319.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/6.55, allocations: 4.25 kB / 3.163 GB, free: 319.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/6.55, allocations: 83.11 kB / 3.163 GB, free: 319.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005847/6.551, allocations: 92.3 kB / 3.163 GB, free: 319.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/6.553, allocations: 3.264 MB / 3.167 GB, free: 316.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/6.553, allocations: 0.7471 MB / 3.167 GB, free: 315.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003357/6.554, allocations: 54.62 kB / 3.167 GB, free: 315.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/6.554, allocations: 52.86 kB / 3.167 GB, free: 315.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.783e-06/6.554, allocations: 7.938 kB / 3.168 GB, free: 315.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03169/6.586, allocations: 15.93 MB / 3.183 GB, free: 302 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/6.586, allocations: 173.1 kB / 3.183 GB, free: 301.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.232/8.818, allocations: 0 / 3.183 GB, free: 301.8 MB / 0.8855 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_AirProperties.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe 2>&1)