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.8853/0.8853, allocations: 141.8 MB / 149.3 MB, free: 9.199 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.001313/0.001313, allocations: 184.4 kB / 182.2 MB, free: 9.434 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.504/1.504, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0009564/0.0009564, allocations: 95.8 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001827/0.001827, allocations: 285.4 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.834e-05/1.837e-05, allocations: 0 / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4832/0.4832, allocations: 82.78 MB / 0.7575 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.277/5.76, allocations: 1.881 GB / 2.639 GB, free: 137.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/5.761, allocations: 75.45 kB / 2.639 GB, free: 137.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.09343/5.854, allocations: 47.37 MB / 2.685 GB, free: 98.71 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.422e-06/5.854, allocations: 4 kB / 2.685 GB, free: 98.71 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.849e-06/5.854, allocations: 4 kB / 2.685 GB, free: 98.71 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.0009692/5.855, allocations: 0.5495 MB / 2.685 GB, free: 98.13 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/5.855, allocations: 8.031 kB / 2.685 GB, free: 98.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/5.857, allocations: 144.3 kB / 2.686 GB, free: 97.99 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/5.857, allocations: 211.9 kB / 2.686 GB, free: 97.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/5.857, allocations: 4 kB / 2.686 GB, free: 97.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/5.857, allocations: 15.94 kB / 2.686 GB, free: 97.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004792/5.857, allocations: 310.7 kB / 2.686 GB, free: 97.51 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/5.858, allocations: 288.2 kB / 2.686 GB, free: 97.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/5.858, allocations: 4 kB / 2.686 GB, free: 97.26 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/5.858, allocations: 0 / 2.686 GB, free: 97.26 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/5.858, allocations: 11.98 kB / 2.686 GB, free: 97.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/5.859, allocations: 1.107 MB / 2.687 GB, free: 96.13 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000365/5.859, allocations: 175.9 kB / 2.688 GB, free: 95.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/5.86, allocations: 78.27 kB / 2.688 GB, free: 95.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003504/5.86, allocations: 367 kB / 2.688 GB, free: 95.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/5.86, allocations: 40.88 kB / 2.688 GB, free: 95.44 MB / 0.698 GB Notification: Performance of pre-optimization done (n=21): time 1.683e-06/5.86, allocations: 0 / 2.688 GB, free: 95.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=21): time 0.0004363/5.86, allocations: 173.9 kB / 2.688 GB, free: 95.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/5.86, allocations: 55.41 kB / 2.688 GB, free: 95.22 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/5.861, allocations: 147 kB / 2.688 GB, free: 95.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/5.861, allocations: 25.7 kB / 2.688 GB, free: 95.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.917e-05/5.861, allocations: 152.5 kB / 2.689 GB, free: 94.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/5.861, allocations: 71.17 kB / 2.689 GB, free: 94.85 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.363e-05/5.861, allocations: 3.938 kB / 2.689 GB, free: 94.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.251e-05/5.861, allocations: 325 kB / 2.689 GB, free: 94.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.632e-05/5.861, allocations: 61.38 kB / 2.689 GB, free: 94.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/5.861, allocations: 155.6 kB / 2.689 GB, free: 94.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/5.861, allocations: 87.86 kB / 2.689 GB, free: 94.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/5.861, allocations: 0 / 2.689 GB, free: 94.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003771/5.862, allocations: 250.2 kB / 2.69 GB, free: 94.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/5.862, allocations: 8.375 kB / 2.69 GB, free: 94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/5.862, allocations: 8 kB / 2.69 GB, free: 94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/5.862, allocations: 4 kB / 2.69 GB, free: 93.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/5.862, allocations: 58.22 kB / 2.69 GB, free: 93.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/5.862, allocations: 4 kB / 2.69 GB, free: 93.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/5.862, allocations: 15.84 kB / 2.69 GB, free: 93.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/5.862, allocations: 14.06 kB / 2.69 GB, free: 93.91 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.503e-05/5.862, allocations: 108.9 kB / 2.69 GB, free: 93.79 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002816/5.862, allocations: 183.1 kB / 2.69 GB, free: 93.62 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.009e-05/5.863, allocations: 19.81 kB / 2.69 GB, free: 93.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003552/5.863, allocations: 210.1 kB / 2.69 GB, free: 93.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/5.863, allocations: 4 kB / 2.69 GB, free: 93.38 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/5.863, allocations: 0 / 2.69 GB, free: 93.38 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/5.863, allocations: 0 / 2.69 GB, free: 93.38 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004977/5.863, allocations: 488.5 kB / 2.691 GB, free: 92.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/5.863, allocations: 4.062 kB / 2.691 GB, free: 92.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/5.864, allocations: 43.88 kB / 2.691 GB, free: 92.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/5.864, allocations: 0 / 2.691 GB, free: 92.81 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/5.864, allocations: 4 kB / 2.691 GB, free: 92.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/5.864, allocations: 3.984 kB / 2.691 GB, free: 92.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/5.864, allocations: 3.938 kB / 2.691 GB, free: 92.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/5.864, allocations: 317 kB / 2.691 GB, free: 92.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.372e-05/5.864, allocations: 116.9 kB / 2.691 GB, free: 92.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/5.864, allocations: 0 / 2.691 GB, free: 92.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/5.864, allocations: 8 kB / 2.691 GB, free: 92.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/5.864, allocations: 19.92 kB / 2.691 GB, free: 92.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/5.864, allocations: 19.98 kB / 2.691 GB, free: 92.28 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.179e-05/5.864, allocations: 107.3 kB / 2.691 GB, free: 92.17 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/5.864, allocations: 0 / 2.691 GB, free: 92.17 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006357/5.865, allocations: 151.8 kB / 2.691 GB, free: 92.02 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.001276/5.866, allocations: 1.603 MB / 2.693 GB, free: 90.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002634/5.867, allocations: 167.8 kB / 2.693 GB, free: 90.22 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/5.867, allocations: 3.938 kB / 2.693 GB, free: 90.22 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.568e-05/5.867, allocations: 75.91 kB / 2.693 GB, free: 90.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/5.867, allocations: 56.75 kB / 2.693 GB, free: 90.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006929/5.868, allocations: 304.5 kB / 2.694 GB, free: 89.75 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/5.868, allocations: 0.7365 MB / 2.694 GB, free: 88.99 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002684/5.868, allocations: 53.81 kB / 2.694 GB, free: 88.94 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.208e-05/5.868, allocations: 51.42 kB / 2.694 GB, free: 88.89 MB / 0.698 GB Notification: Performance of SimCode: time 2.71e-07/5.868, allocations: 0 / 2.694 GB, free: 88.89 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/5.897, allocations: 9.565 MB / 2.704 GB, free: 79.37 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/5.897, allocations: 134.8 kB / 2.704 GB, free: 79.18 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.229/8.127, allocations: 4 kB / 2.704 GB, free: 79.17 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)