Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.AirProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.845/0.845, allocations: 143.3 MB / 158.3 MB, free: 5.766 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 182.8 kB / 191.5 MB, free: 5.766 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 223.2 MB / 447.7 MB, free: 4.832 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000981/0.0009811, allocations: 84.39 kB / 0.5187 GB, free: 1.188 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001847/0.001847, allocations: 254.5 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004585/0.0004585, allocations: 16.53 kB / 0.6929 GB, free: 59.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1845, allocations: 82.8 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.322/4.507, allocations: 1.882 GB / 2.656 GB, free: 198.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003893/4.508, allocations: 72.88 kB / 2.656 GB, free: 198 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0991/4.607, allocations: 48.14 MB / 2.703 GB, free: 150.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.984e-06/4.607, allocations: 4 kB / 2.703 GB, free: 150.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.279e-05/4.607, allocations: 4 kB / 2.703 GB, free: 150.9 MB / 0.7136 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.001197/4.608, allocations: 0.5546 MB / 2.703 GB, free: 150.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/4.608, allocations: 15.97 kB / 2.703 GB, free: 150.2 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001035/4.608, allocations: 54.55 kB / 2.703 GB, free: 150.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/4.609, allocations: 135.6 kB / 2.703 GB, free: 150 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/4.61, allocations: 222.7 kB / 2.704 GB, free: 149.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/4.61, allocations: 16.36 kB / 2.704 GB, free: 149.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/4.61, allocations: 16 kB / 2.704 GB, free: 149.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005435/4.61, allocations: 346 kB / 2.704 GB, free: 149.4 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/4.61, allocations: 0 / 2.704 GB, free: 149.4 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/4.61, allocations: 8 kB / 2.704 GB, free: 149.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/4.61, allocations: 12 kB / 2.704 GB, free: 149.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004882/4.611, allocations: 316.1 kB / 2.704 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/4.612, allocations: 1.167 MB / 2.705 GB, free: 147.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004596/4.613, allocations: 191.2 kB / 2.706 GB, free: 147.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004397/4.613, allocations: 457.5 kB / 2.706 GB, free: 147.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/4.613, allocations: 42.56 kB / 2.706 GB, free: 147 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=21): time 1.823e-06/4.613, allocations: 0 / 2.706 GB, free: 147 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21): time 0.0006401/4.614, allocations: 334.9 kB / 2.706 GB, free: 146.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/4.614, allocations: 55.41 kB / 2.706 GB, free: 146.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/4.614, allocations: 186.8 kB / 2.707 GB, free: 146.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/4.614, allocations: 33.7 kB / 2.707 GB, free: 146.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.908e-05/4.614, allocations: 144 kB / 2.707 GB, free: 146.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/4.614, allocations: 82.83 kB / 2.707 GB, free: 146.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.314e-05/4.614, allocations: 8 kB / 2.707 GB, free: 146.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.928e-05/4.615, allocations: 326.8 kB / 2.707 GB, free: 145.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/4.615, allocations: 68.22 kB / 2.707 GB, free: 145.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/4.615, allocations: 164.2 kB / 2.707 GB, free: 145.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/4.615, allocations: 86.53 kB / 2.708 GB, free: 145.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/4.615, allocations: 4 kB / 2.708 GB, free: 145.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004533/4.615, allocations: 283.6 kB / 2.708 GB, free: 145.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/4.615, allocations: 9.281 kB / 2.708 GB, free: 145.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/4.615, allocations: 4.109 kB / 2.708 GB, free: 145.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/4.615, allocations: 7.938 kB / 2.708 GB, free: 145.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/4.616, allocations: 59.91 kB / 2.708 GB, free: 145.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/4.616, allocations: 7.938 kB / 2.708 GB, free: 145.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/4.616, allocations: 39.61 kB / 2.708 GB, free: 145 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.105e-05/4.616, allocations: 12 kB / 2.708 GB, free: 145 MB / 0.7136 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 () * 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.0001783/4.616, allocations: 142 kB / 2.708 GB, free: 144.9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/4.616, allocations: 27.73 kB / 2.708 GB, free: 144.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004228/4.617, allocations: 247.2 kB / 2.708 GB, free: 144.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/4.617, allocations: 4 kB / 2.708 GB, free: 144.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/4.617, allocations: 0 / 2.708 GB, free: 144.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/4.617, allocations: 0 / 2.708 GB, free: 144.6 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000596/4.617, allocations: 0.5413 MB / 2.709 GB, free: 144 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/4.617, allocations: 4.062 kB / 2.709 GB, free: 144 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/4.618, allocations: 43.88 kB / 2.709 GB, free: 144 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/4.618, allocations: 0 / 2.709 GB, free: 144 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/4.618, allocations: 7.938 kB / 2.709 GB, free: 143.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/4.618, allocations: 0 / 2.709 GB, free: 143.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/4.618, allocations: 3.984 kB / 2.709 GB, free: 143.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004167/4.618, allocations: 347.8 kB / 2.709 GB, free: 143.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/4.618, allocations: 120.7 kB / 2.709 GB, free: 143.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/4.618, allocations: 8 kB / 2.709 GB, free: 143.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/4.619, allocations: 11.98 kB / 2.709 GB, free: 143.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/4.619, allocations: 19.98 kB / 2.709 GB, free: 143.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/4.619, allocations: 11.98 kB / 2.709 GB, free: 143.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001069/4.619, allocations: 145.5 kB / 2.71 GB, free: 143.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/4.619, allocations: 0 / 2.71 GB, free: 143.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006778/4.619, allocations: 163.8 kB / 2.71 GB, free: 143.1 MB / 0.7136 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 () * Number of clocked 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.001584/4.621, allocations: 1.562 MB / 2.711 GB, free: 141.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003368/4.621, allocations: 196.2 kB / 2.711 GB, free: 141.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/4.621, allocations: 8.062 kB / 2.711 GB, free: 141.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/4.622, allocations: 85.16 kB / 2.712 GB, free: 141.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005376/4.622, allocations: 86.2 kB / 2.712 GB, free: 141.1 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/4.624, allocations: 3.123 MB / 2.715 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/4.625, allocations: 0.7328 MB / 2.715 GB, free: 137.1 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003431/4.625, allocations: 54.25 kB / 2.715 GB, free: 137.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/4.625, allocations: 59.36 kB / 2.715 GB, free: 137 MB / 0.7136 GB Notification: Performance of SimCode: time 5.41e-07/4.625, allocations: 0 / 2.715 GB, free: 137 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04341/4.668, allocations: 15.92 MB / 2.731 GB, free: 121.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002356/4.669, allocations: 166.7 kB / 2.731 GB, free: 121 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.203/6.871, allocations: 0 / 2.731 GB, free: 121 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_AirProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe 2>&1)