Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.351/3.351, allocations: 284.9 MB / 292.4 MB, free: 10.61 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.001506/0.001506, allocations: 180.9 kB / 360.6 MB, free: 7.32 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.293/2.293, allocations: 205.2 MB / 0.6191 GB, free: 12.21 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.001073/0.001073, allocations: 104.3 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.044e-05/2.04e-05, allocations: 0 / 0.8508 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8638/0.8638, allocations: 115.3 MB / 0.9634 GB, free: 78.78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.044/6.908, allocations: 2.076 GB / 3.039 GB, free: 44.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003757/6.909, allocations: 67.28 kB / 3.039 GB, free: 44.17 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8373/7.746, allocations: 49.75 MB / 3.088 GB, free: 326.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.503e-06/7.746, allocations: 0.6562 kB / 3.088 GB, free: 326.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.534e-05/7.746, allocations: 3.938 kB / 3.088 GB, free: 326.5 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.001459/7.748, allocations: 0.5716 MB / 3.088 GB, free: 326.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/7.748, allocations: 10.25 kB / 3.088 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00184/7.75, allocations: 138.2 kB / 3.089 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/7.75, allocations: 211.7 kB / 3.089 GB, free: 325.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/7.75, allocations: 8.328 kB / 3.089 GB, free: 325.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.521e-05/7.75, allocations: 13.69 kB / 3.089 GB, free: 325.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001066/7.751, allocations: 317.6 kB / 3.089 GB, free: 325.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006985/7.752, allocations: 280.2 kB / 3.089 GB, free: 325.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/7.752, allocations: 3.438 kB / 3.089 GB, free: 325.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.561e-05/7.752, allocations: 4.781 kB / 3.089 GB, free: 325.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.699e-05/7.752, allocations: 17.23 kB / 3.089 GB, free: 325.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002444/7.755, allocations: 1.093 MB / 3.09 GB, free: 325 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007223/7.755, allocations: 173.2 kB / 3.091 GB, free: 325 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/7.756, allocations: 75.05 kB / 3.091 GB, free: 325 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005654/7.756, allocations: 359.2 kB / 3.091 GB, free: 324.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/7.756, allocations: 46.69 kB / 3.091 GB, free: 324.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=21): time 3.968e-06/7.756, allocations: 1.406 kB / 3.091 GB, free: 324.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=21): time 0.0007656/7.757, allocations: 173.6 kB / 3.091 GB, free: 324.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/7.757, allocations: 53.31 kB / 3.091 GB, free: 324.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/7.757, allocations: 147.1 kB / 3.091 GB, free: 324.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/7.757, allocations: 30.48 kB / 3.091 GB, free: 324.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.054e-05/7.757, allocations: 144.3 kB / 3.092 GB, free: 324.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.126e-05/7.757, allocations: 75.31 kB / 3.092 GB, free: 324.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/7.758, allocations: 0 / 3.092 GB, free: 324.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.068e-05/7.758, allocations: 322.6 kB / 3.092 GB, free: 323.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/7.758, allocations: 63.77 kB / 3.092 GB, free: 323.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/7.758, allocations: 147.6 kB / 3.092 GB, free: 323.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/7.758, allocations: 94.45 kB / 3.092 GB, free: 323.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/7.758, allocations: 1.031 kB / 3.092 GB, free: 323.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007615/7.759, allocations: 248.9 kB / 3.092 GB, free: 323.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/7.759, allocations: 6.438 kB / 3.093 GB, free: 323.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/7.759, allocations: 3.25 kB / 3.093 GB, free: 323.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.375e-05/7.759, allocations: 7.812 kB / 3.093 GB, free: 323.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005513/7.76, allocations: 56.33 kB / 3.093 GB, free: 323.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/7.76, allocations: 5.125 kB / 3.093 GB, free: 323.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003735/7.76, allocations: 20.92 kB / 3.093 GB, free: 323.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.529e-05/7.76, allocations: 16.25 kB / 3.093 GB, free: 323.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 0.0001372/7.761, allocations: 116.5 kB / 3.093 GB, free: 323.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006099/7.761, allocations: 176.3 kB / 3.093 GB, free: 323.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.801e-05/7.761, allocations: 17.03 kB / 3.093 GB, free: 323.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007076/7.762, allocations: 206 kB / 3.093 GB, free: 323.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/7.762, allocations: 6.062 kB / 3.093 GB, free: 323.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/7.762, allocations: 0 / 3.093 GB, free: 323.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/7.762, allocations: 3.625 kB / 3.093 GB, free: 323.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/7.763, allocations: 493.6 kB / 3.094 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/7.763, allocations: 7.078 kB / 3.094 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003633/7.763, allocations: 35.47 kB / 3.094 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/7.763, allocations: 3.844 kB / 3.094 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/7.764, allocations: 1.219 kB / 3.094 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/7.764, allocations: 1.156 kB / 3.094 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/7.764, allocations: 1.281 kB / 3.094 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005895/7.764, allocations: 317 kB / 3.094 GB, free: 323.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/7.764, allocations: 116.9 kB / 3.094 GB, free: 322.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/7.764, allocations: 1.438 kB / 3.094 GB, free: 322.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003889/7.765, allocations: 7.641 kB / 3.094 GB, free: 322.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/7.765, allocations: 19.06 kB / 3.094 GB, free: 322.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.582e-05/7.765, allocations: 12.72 kB / 3.094 GB, free: 322.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000102/7.765, allocations: 116.4 kB / 3.094 GB, free: 322.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.71e-07/7.765, allocations: 0 / 3.094 GB, free: 322.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009111/7.766, allocations: 138.4 kB / 3.094 GB, free: 322.9 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.002074/7.768, allocations: 1.596 MB / 3.096 GB, free: 322 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005588/7.769, allocations: 172.4 kB / 3.096 GB, free: 322 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/7.769, allocations: 0 / 3.096 GB, free: 322 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001691/7.769, allocations: 78.16 kB / 3.096 GB, free: 322 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006998/7.77, allocations: 44.69 kB / 3.096 GB, free: 322 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/7.771, allocations: 309.3 kB / 3.096 GB, free: 321.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/7.771, allocations: 0.7336 MB / 3.097 GB, free: 321.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005409/7.772, allocations: 55.09 kB / 3.097 GB, free: 321.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/7.772, allocations: 51.81 kB / 3.097 GB, free: 321.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.162e-06/7.772, allocations: 2.906 kB / 3.097 GB, free: 321.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06403/7.836, allocations: 9.428 MB / 3.106 GB, free: 320.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002889/7.836, allocations: 128.7 kB / 3.107 GB, free: 320.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.922/10.76, allocations: 0 / 3.107 GB, free: 320.4 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Examples_AirProperties.fmu > Buildings_8.0.0_Buildings.Media.Examples.AirProperties.pipe 2>&1)