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.657/1.657, allocations: 289.7 MB / 302.2 MB, free: 2.145 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.001296/0.001296, allocations: 181.8 kB / 371.6 MB, free: 3.414 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.858/1.858, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.001054/0.001055, allocations: 89.23 kB / 0.745 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.756e-05/3.758e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3246, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.282/6.607, allocations: 2.078 GB / 3.057 GB, free: 165 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/6.607, allocations: 73.77 kB / 3.058 GB, free: 164.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1017/6.709, allocations: 50.48 MB / 3.107 GB, free: 114.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.665e-06/6.709, allocations: 1.219 kB / 3.107 GB, free: 114.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.22e-05/6.709, allocations: 4 kB / 3.107 GB, free: 114.1 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.001142/6.71, allocations: 0.5639 MB / 3.107 GB, free: 113.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/6.71, allocations: 12.03 kB / 3.107 GB, free: 113.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.357e-05/6.71, allocations: 54.53 kB / 3.107 GB, free: 113.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/6.711, allocations: 139.7 kB / 3.108 GB, free: 113.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/6.712, allocations: 214.8 kB / 3.108 GB, free: 113 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/6.712, allocations: 12.38 kB / 3.108 GB, free: 113 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/6.712, allocations: 20 kB / 3.108 GB, free: 113 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005808/6.712, allocations: 338.3 kB / 3.108 GB, free: 112.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/6.712, allocations: 0 / 3.108 GB, free: 112.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/6.712, allocations: 15.95 kB / 3.108 GB, free: 112.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.625e-05/6.712, allocations: 17.03 kB / 3.108 GB, free: 112.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004774/6.713, allocations: 316.2 kB / 3.108 GB, free: 112.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/6.714, allocations: 1.162 MB / 3.11 GB, free: 111.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004547/6.715, allocations: 183.3 kB / 3.11 GB, free: 110.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/6.715, allocations: 81.02 kB / 3.11 GB, free: 110.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000376/6.715, allocations: 356.5 kB / 3.11 GB, free: 110.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/6.715, allocations: 42.47 kB / 3.11 GB, free: 110.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=21): time 1.533e-06/6.716, allocations: 0 / 3.11 GB, free: 110.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=21): time 0.0004563/6.716, allocations: 187.8 kB / 3.11 GB, free: 110.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/6.716, allocations: 59.41 kB / 3.11 GB, free: 110.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/6.716, allocations: 182.6 kB / 3.111 GB, free: 109.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/6.716, allocations: 30.45 kB / 3.111 GB, free: 109.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.426e-05/6.716, allocations: 139.9 kB / 3.111 GB, free: 109.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/6.716, allocations: 78.98 kB / 3.111 GB, free: 109.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.247e-05/6.716, allocations: 4 kB / 3.111 GB, free: 109.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.9e-05/6.716, allocations: 330.8 kB / 3.111 GB, free: 109.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/6.717, allocations: 76.17 kB / 3.111 GB, free: 109.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/6.717, allocations: 155.7 kB / 3.111 GB, free: 109 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/6.717, allocations: 93.94 kB / 3.112 GB, free: 108.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/6.717, allocations: 0.75 kB / 3.112 GB, free: 108.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003845/6.717, allocations: 275.7 kB / 3.112 GB, free: 108.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/6.717, allocations: 8 kB / 3.112 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/6.717, allocations: 496 / 3.112 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/6.717, allocations: 15.94 kB / 3.112 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/6.718, allocations: 51.92 kB / 3.112 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/6.718, allocations: 7.984 kB / 3.112 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/6.718, allocations: 35.55 kB / 3.112 GB, free: 108.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/6.718, allocations: 16.84 kB / 3.112 GB, free: 108.5 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 8.771e-05/6.718, allocations: 124.8 kB / 3.112 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.633e-05/6.718, allocations: 19.81 kB / 3.112 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004204/6.718, allocations: 224.4 kB / 3.112 GB, free: 108.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/6.718, allocations: 4 kB / 3.112 GB, free: 108.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/6.718, allocations: 0 / 3.112 GB, free: 108.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/6.718, allocations: 0 / 3.112 GB, free: 108.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005302/6.719, allocations: 0.5313 MB / 3.113 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/6.719, allocations: 0 / 3.113 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/6.719, allocations: 39.98 kB / 3.113 GB, free: 107.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/6.719, allocations: 1.219 kB / 3.113 GB, free: 107.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/6.719, allocations: 12 kB / 3.113 GB, free: 107.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/6.719, allocations: 3.984 kB / 3.113 GB, free: 107.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/6.719, allocations: 4 kB / 3.113 GB, free: 107.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/6.72, allocations: 326.7 kB / 3.113 GB, free: 107.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/6.72, allocations: 120.8 kB / 3.113 GB, free: 107 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/6.72, allocations: 4 kB / 3.113 GB, free: 107 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/6.72, allocations: 8 kB / 3.113 GB, free: 107 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/6.72, allocations: 15.94 kB / 3.113 GB, free: 107 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/6.72, allocations: 11.98 kB / 3.113 GB, free: 107 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001069/6.72, allocations: 153.4 kB / 3.113 GB, free: 106.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/6.72, allocations: 4 kB / 3.113 GB, free: 106.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000619/6.721, allocations: 139.9 kB / 3.114 GB, free: 106.7 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.001319/6.722, allocations: 1.542 MB / 3.115 GB, free: 105.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003399/6.722, allocations: 179.8 kB / 3.115 GB, free: 104.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/6.722, allocations: 0 / 3.115 GB, free: 104.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/6.723, allocations: 79.89 kB / 3.115 GB, free: 104.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005361/6.723, allocations: 88.22 kB / 3.115 GB, free: 104.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007103/6.724, allocations: 344.4 kB / 3.116 GB, free: 104.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/6.724, allocations: 0.7328 MB / 3.116 GB, free: 103.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002769/6.724, allocations: 62.02 kB / 3.117 GB, free: 103.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/6.724, allocations: 55.42 kB / 3.117 GB, free: 103.5 MB / 0.948 GB Notification: Performance of SimCode: time 2.6e-07/6.724, allocations: 0 / 3.117 GB, free: 103.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03196/6.756, allocations: 17.28 MB / 3.133 GB, free: 86.38 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/6.757, allocations: 136.5 kB / 3.134 GB, free: 86.16 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/9.094, allocations: 0 / 3.134 GB, free: 86.16 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)