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.7458/0.7458, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 187.8 kB / 187.3 MB, free: 11.88 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.404/1.404, allocations: 221.3 MB / 441.4 MB, free: 4.625 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.0009122/0.0009122, allocations: 99.19 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001878/0.001878, allocations: 278.5 kB / 0.5939 GB, free: 7.996 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.34e-05/4.343e-05, allocations: 8 kB / 0.6835 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.4326, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.616/5.049, allocations: 1.882 GB / 2.646 GB, free: 127 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/5.049, allocations: 71.77 kB / 2.646 GB, free: 127 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.08888/5.138, allocations: 48.08 MB / 2.693 GB, free: 86.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.453e-06/5.138, allocations: 0 / 2.693 GB, free: 86.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.336e-06/5.138, allocations: 8 kB / 2.693 GB, free: 86.45 MB / 0.698 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.000908/5.139, allocations: 0.548 MB / 2.694 GB, free: 85.87 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/5.139, allocations: 12.03 kB / 2.694 GB, free: 85.86 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.799e-05/5.139, allocations: 57.78 kB / 2.694 GB, free: 85.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/5.14, allocations: 138.4 kB / 2.694 GB, free: 85.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/5.14, allocations: 222.3 kB / 2.694 GB, free: 85.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/5.14, allocations: 20.06 kB / 2.694 GB, free: 85.42 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/5.14, allocations: 15.69 kB / 2.694 GB, free: 85.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004776/5.141, allocations: 350.3 kB / 2.694 GB, free: 85.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/5.141, allocations: 0 / 2.694 GB, free: 85.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/5.141, allocations: 14.92 kB / 2.694 GB, free: 85.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/5.141, allocations: 8 kB / 2.694 GB, free: 85.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004273/5.141, allocations: 318 kB / 2.695 GB, free: 84.88 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/5.143, allocations: 1.159 MB / 2.696 GB, free: 83.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004069/5.143, allocations: 181.3 kB / 2.696 GB, free: 83.54 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/5.143, allocations: 82.08 kB / 2.696 GB, free: 83.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003304/5.144, allocations: 359.9 kB / 2.697 GB, free: 83.06 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/5.144, allocations: 38.06 kB / 2.697 GB, free: 83.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=21): time 2.104e-06/5.144, allocations: 0 / 2.697 GB, free: 83.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=21): time 0.0004366/5.144, allocations: 193.5 kB / 2.697 GB, free: 82.85 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/5.144, allocations: 55.52 kB / 2.697 GB, free: 82.78 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/5.144, allocations: 187.9 kB / 2.697 GB, free: 82.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/5.144, allocations: 29.64 kB / 2.697 GB, free: 82.58 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/5.144, allocations: 155.1 kB / 2.697 GB, free: 82.44 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/5.144, allocations: 66.69 kB / 2.697 GB, free: 82.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.305e-05/5.144, allocations: 6.625 kB / 2.697 GB, free: 82.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.972e-05/5.145, allocations: 329.7 kB / 2.698 GB, free: 82.06 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.905e-05/5.145, allocations: 66.81 kB / 2.698 GB, free: 82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/5.145, allocations: 161.1 kB / 2.698 GB, free: 81.83 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/5.145, allocations: 89 kB / 2.698 GB, free: 81.76 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/5.145, allocations: 0 / 2.698 GB, free: 81.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003676/5.145, allocations: 281.9 kB / 2.698 GB, free: 81.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/5.145, allocations: 9.25 kB / 2.698 GB, free: 81.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/5.145, allocations: 11.92 kB / 2.698 GB, free: 81.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/5.145, allocations: 4 kB / 2.698 GB, free: 81.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/5.146, allocations: 55.91 kB / 2.698 GB, free: 81.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/5.146, allocations: 4 kB / 2.698 GB, free: 81.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/5.146, allocations: 31.31 kB / 2.698 GB, free: 81.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/5.146, allocations: 11.94 kB / 2.698 GB, free: 81.4 MB / 0.698 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.26e-05/5.146, allocations: 135.5 kB / 2.698 GB, free: 81.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.539e-05/5.146, allocations: 19.72 kB / 2.698 GB, free: 81.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003949/5.146, allocations: 228.8 kB / 2.699 GB, free: 81.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/5.146, allocations: 3.984 kB / 2.699 GB, free: 81.06 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/5.146, allocations: 0 / 2.699 GB, free: 81.06 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/5.146, allocations: 0 / 2.699 GB, free: 81.06 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005196/5.147, allocations: 0.5341 MB / 2.699 GB, free: 80.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/5.147, allocations: 3.953 kB / 2.699 GB, free: 80.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/5.147, allocations: 31.98 kB / 2.699 GB, free: 80.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/5.147, allocations: 0 / 2.699 GB, free: 80.49 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/5.147, allocations: 7.938 kB / 2.699 GB, free: 80.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/5.147, allocations: 3.938 kB / 2.699 GB, free: 80.48 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/5.147, allocations: 0 / 2.699 GB, free: 80.48 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/5.148, allocations: 332.7 kB / 2.699 GB, free: 80.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/5.148, allocations: 117.4 kB / 2.7 GB, free: 80.03 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/5.148, allocations: 6.5 kB / 2.7 GB, free: 80.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/5.148, allocations: 18.42 kB / 2.7 GB, free: 80.01 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/5.148, allocations: 18.42 kB / 2.7 GB, free: 79.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/5.148, allocations: 11.98 kB / 2.7 GB, free: 79.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001049/5.148, allocations: 153.8 kB / 2.7 GB, free: 79.85 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/5.148, allocations: 0 / 2.7 GB, free: 79.85 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006142/5.149, allocations: 150.7 kB / 2.7 GB, free: 79.73 MB / 0.698 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.001308/5.15, allocations: 1.529 MB / 2.701 GB, free: 78.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003242/5.15, allocations: 188 kB / 2.702 GB, free: 78.06 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/5.15, allocations: 4.125 kB / 2.702 GB, free: 78.06 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/5.151, allocations: 84.48 kB / 2.702 GB, free: 77.99 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005144/5.151, allocations: 92.66 kB / 2.702 GB, free: 77.92 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007533/5.152, allocations: 327.5 kB / 2.702 GB, free: 77.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/5.152, allocations: 0.7405 MB / 2.703 GB, free: 76.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003074/5.152, allocations: 61.97 kB / 2.703 GB, free: 76.76 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/5.152, allocations: 59.42 kB / 2.703 GB, free: 76.73 MB / 0.698 GB Notification: Performance of SimCode: time 4.01e-07/5.152, allocations: 0 / 2.703 GB, free: 76.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03175/5.184, allocations: 17.43 MB / 2.72 GB, free: 59.47 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001509/5.184, allocations: 159.1 kB / 2.72 GB, free: 59.24 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.182/7.366, allocations: 0 / 2.72 GB, free: 59.24 MB / 0.698 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)