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.58/1.58, allocations: 249.3 MB / 261.8 MB, free: 5.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001215/0.001215, allocations: 173 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0009317/0.0009317, allocations: 84.22 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.761e-05/3.763e-05, allocations: 0 / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2575, allocations: 106.3 MB / 0.8919 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.637/6.895, allocations: 2.205 GB / 3.097 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003355/6.895, allocations: 72.81 kB / 3.097 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1062/7.001, allocations: 50.62 MB / 3.146 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.248e-06/7.001, allocations: 0 / 3.146 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.973e-05/7.001, allocations: 11.94 kB / 3.146 GB, free: 113.3 MB / 0.8698 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.001575/7.003, allocations: 0.5645 MB / 3.147 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.81e-05/7.003, allocations: 12.03 kB / 3.147 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.898e-05/7.003, allocations: 58.53 kB / 3.147 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/7.005, allocations: 135.6 kB / 3.147 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/7.005, allocations: 226.7 kB / 3.147 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/7.005, allocations: 12.44 kB / 3.147 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/7.005, allocations: 20 kB / 3.147 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006127/7.006, allocations: 343.4 kB / 3.148 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/7.006, allocations: 3.953 kB / 3.148 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/7.006, allocations: 12 kB / 3.148 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.854e-05/7.006, allocations: 12.38 kB / 3.148 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/7.006, allocations: 316.9 kB / 3.148 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/7.008, allocations: 1.197 MB / 3.149 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000458/7.008, allocations: 187 kB / 3.149 GB, free: 110 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/7.008, allocations: 76.83 kB / 3.149 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003799/7.009, allocations: 364.4 kB / 3.15 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/7.009, allocations: 34.56 kB / 3.15 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 2.405e-06/7.009, allocations: 0 / 3.15 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20): time 0.0004647/7.009, allocations: 180 kB / 3.15 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/7.009, allocations: 59.31 kB / 3.15 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/7.009, allocations: 194.2 kB / 3.15 GB, free: 109 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/7.01, allocations: 37.7 kB / 3.15 GB, free: 109 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.616e-05/7.01, allocations: 151.8 kB / 3.15 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/7.01, allocations: 70.94 kB / 3.15 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.262e-05/7.01, allocations: 8 kB / 3.15 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.327e-05/7.01, allocations: 334.8 kB / 3.151 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/7.01, allocations: 64.25 kB / 3.151 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/7.01, allocations: 156.5 kB / 3.151 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/7.01, allocations: 94.11 kB / 3.151 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/7.01, allocations: 0 / 3.151 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003871/7.011, allocations: 283.4 kB / 3.151 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/7.011, allocations: 7.938 kB / 3.151 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/7.011, allocations: 4 kB / 3.151 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/7.011, allocations: 4 kB / 3.151 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/7.011, allocations: 55.91 kB / 3.151 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/7.011, allocations: 8 kB / 3.151 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/7.011, allocations: 36.11 kB / 3.151 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/7.011, allocations: 23.94 kB / 3.151 GB, free: 107.7 MB / 0.8698 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 () * 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 8.759e-05/7.011, allocations: 121.4 kB / 3.151 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-05/7.011, allocations: 23.77 kB / 3.151 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003742/7.012, allocations: 215.1 kB / 3.152 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/7.012, allocations: 4 kB / 3.152 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/7.012, allocations: 3.953 kB / 3.152 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/7.012, allocations: 4 kB / 3.152 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005302/7.012, allocations: 0.5085 MB / 3.152 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/7.012, allocations: 0 / 3.152 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/7.012, allocations: 27.98 kB / 3.152 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/7.012, allocations: 4 kB / 3.152 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/7.012, allocations: 4 kB / 3.152 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/7.013, allocations: 0 / 3.152 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/7.013, allocations: 4 kB / 3.152 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/7.013, allocations: 308.4 kB / 3.153 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/7.013, allocations: 120.8 kB / 3.153 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/7.013, allocations: 4 kB / 3.153 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/7.013, allocations: 12 kB / 3.153 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/7.013, allocations: 11.92 kB / 3.153 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/7.013, allocations: 15.98 kB / 3.153 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001217/7.013, allocations: 160.2 kB / 3.153 GB, free: 106 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/7.013, allocations: 0 / 3.153 GB, free: 106 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007003/7.014, allocations: 155.8 kB / 3.153 GB, free: 105.9 MB / 0.8698 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 () * 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.001393/7.016, allocations: 1.432 MB / 3.154 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003676/7.016, allocations: 185.7 kB / 3.155 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/7.016, allocations: 0 / 3.155 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/7.016, allocations: 75.91 kB / 3.155 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005483/7.017, allocations: 89.27 kB / 3.155 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007524/7.017, allocations: 340.6 kB / 3.155 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/7.018, allocations: 0.7408 MB / 3.156 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002923/7.018, allocations: 65.97 kB / 3.156 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/7.018, allocations: 51.42 kB / 3.156 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of SimCode: time 9.52e-07/7.018, allocations: 0 / 3.156 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03221/7.05, allocations: 17.42 MB / 3.173 GB, free: 85.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/7.05, allocations: 155 kB / 3.173 GB, free: 85.27 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.481/9.532, allocations: 4 kB / 3.173 GB, free: 85.27 MB / 0.8698 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)