Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.784/1.784, allocations: 289.9 MB / 297.4 MB, free: 6.441 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001368/0.001368, allocations: 188.8 kB / 366.7 MB, free: 1.672 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.2 MB / 0.626 GB, free: 7.141 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 85.05 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.286e-05/2.281e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7212/0.7213, allocations: 116.3 MB / 0.9733 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.469/6.191, allocations: 2.077 GB / 3.05 GB, free: 7.906 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/6.191, allocations: 72.97 kB / 3.05 GB, free: 7.871 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7217/6.913, allocations: 49.76 MB / 3.099 GB, free: 338 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.643e-06/6.913, allocations: 0.9688 kB / 3.099 GB, free: 338 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.558e-05/6.913, allocations: 7 kB / 3.099 GB, free: 338 MB / 0.948 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.001564/6.914, allocations: 0.5626 MB / 3.099 GB, free: 337.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/6.914, allocations: 8.75 kB / 3.099 GB, free: 337.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/6.916, allocations: 136.4 kB / 3.1 GB, free: 337.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/6.916, allocations: 218.7 kB / 3.1 GB, free: 337.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/6.916, allocations: 6.062 kB / 3.1 GB, free: 337.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.131e-05/6.916, allocations: 10.16 kB / 3.1 GB, free: 337.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006137/6.917, allocations: 315.6 kB / 3.1 GB, free: 337.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005018/6.917, allocations: 282.7 kB / 3.1 GB, free: 337.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/6.918, allocations: 1.375 kB / 3.1 GB, free: 337.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/6.918, allocations: 1.375 kB / 3.1 GB, free: 337.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.795e-05/6.918, allocations: 13.62 kB / 3.1 GB, free: 337.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/6.919, allocations: 1.101 MB / 3.101 GB, free: 336.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004448/6.92, allocations: 175.9 kB / 3.102 GB, free: 336.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/6.92, allocations: 79.05 kB / 3.102 GB, free: 336.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004071/6.92, allocations: 359 kB / 3.102 GB, free: 335.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/6.92, allocations: 36.78 kB / 3.102 GB, free: 335.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=21): time 1.884e-06/6.92, allocations: 1.062 kB / 3.102 GB, free: 335.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=21): time 0.0005283/6.921, allocations: 176.6 kB / 3.102 GB, free: 335.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.318e-05/6.921, allocations: 53.5 kB / 3.102 GB, free: 335.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/6.921, allocations: 145 kB / 3.102 GB, free: 335.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/6.921, allocations: 26.95 kB / 3.102 GB, free: 335.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.876e-05/6.921, allocations: 149 kB / 3.103 GB, free: 335.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/6.921, allocations: 71.08 kB / 3.103 GB, free: 335.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-05/6.921, allocations: 0 / 3.103 GB, free: 335.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.982e-05/6.921, allocations: 328.2 kB / 3.103 GB, free: 334.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/6.921, allocations: 58.11 kB / 3.103 GB, free: 334.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/6.922, allocations: 153.7 kB / 3.103 GB, free: 334.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/6.922, allocations: 82.48 kB / 3.103 GB, free: 334.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/6.922, allocations: 1.375 kB / 3.103 GB, free: 334.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004692/6.922, allocations: 252.5 kB / 3.104 GB, free: 334.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/6.922, allocations: 7.25 kB / 3.104 GB, free: 334.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/6.922, allocations: 6.75 kB / 3.104 GB, free: 334.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/6.922, allocations: 5.5 kB / 3.104 GB, free: 334.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/6.923, allocations: 57.8 kB / 3.104 GB, free: 334.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/6.923, allocations: 4.125 kB / 3.104 GB, free: 334.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/6.923, allocations: 20 kB / 3.104 GB, free: 334.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/6.923, allocations: 22.5 kB / 3.104 GB, free: 334.7 MB / 0.948 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 9.357e-05/6.923, allocations: 119.4 kB / 3.104 GB, free: 334.5 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003379/6.923, allocations: 183.4 kB / 3.104 GB, free: 334.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.891e-05/6.923, allocations: 16.34 kB / 3.104 GB, free: 334.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004254/6.924, allocations: 205.5 kB / 3.104 GB, free: 334.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/6.924, allocations: 2.844 kB / 3.104 GB, free: 334.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/6.924, allocations: 2.578 kB / 3.104 GB, free: 334.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/6.924, allocations: 0 / 3.104 GB, free: 334.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006294/6.925, allocations: 494.6 kB / 3.105 GB, free: 334 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/6.925, allocations: 5.875 kB / 3.105 GB, free: 334 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/6.925, allocations: 33.47 kB / 3.105 GB, free: 334 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/6.925, allocations: 1.688 kB / 3.105 GB, free: 334 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/6.925, allocations: 4.953 kB / 3.105 GB, free: 334 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/6.925, allocations: 1.594 kB / 3.105 GB, free: 334 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/6.925, allocations: 1.188 kB / 3.105 GB, free: 334 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000432/6.925, allocations: 315.9 kB / 3.105 GB, free: 333.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/6.925, allocations: 116.9 kB / 3.105 GB, free: 333.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/6.925, allocations: 1.219 kB / 3.105 GB, free: 333.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/6.926, allocations: 12.48 kB / 3.105 GB, free: 333.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/6.926, allocations: 8.266 kB / 3.105 GB, free: 333.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/6.926, allocations: 17 kB / 3.105 GB, free: 333.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.583e-05/6.926, allocations: 111.3 kB / 3.105 GB, free: 333.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.31e-07/6.926, allocations: 1.531 kB / 3.105 GB, free: 333.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008251/6.927, allocations: 137.4 kB / 3.105 GB, free: 333.6 MB / 0.948 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.001867/6.929, allocations: 1.601 MB / 3.107 GB, free: 332.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003572/6.929, allocations: 173 kB / 3.107 GB, free: 332.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/6.929, allocations: 0 / 3.107 GB, free: 332.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/6.929, allocations: 76.33 kB / 3.107 GB, free: 332.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/6.93, allocations: 57.33 kB / 3.107 GB, free: 332.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009809/6.931, allocations: 306.9 kB / 3.108 GB, free: 332.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/6.931, allocations: 0.7396 MB / 3.108 GB, free: 331.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003262/6.931, allocations: 49.69 kB / 3.108 GB, free: 331.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/6.931, allocations: 54.8 kB / 3.108 GB, free: 331.5 MB / 0.948 GB Notification: Performance of SimCode: time 6.91e-07/6.931, allocations: 0 / 3.108 GB, free: 331.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04176/6.973, allocations: 9.42 MB / 3.118 GB, free: 327.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/6.973, allocations: 118.5 kB / 3.118 GB, free: 327.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.131/9.104, allocations: 4.75 kB / 3.118 GB, free: 327.6 MB / 0.948 GB (rm -f Buildings_8_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_AirProperties.fmu > Buildings_8_Buildings.Media.Examples.AirProperties.pipe 2>&1)