Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.853/1.853, allocations: 285.4 MB / 298 MB, free: 5.926 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.001124/0.001124, allocations: 184.8 kB / 366.4 MB, free: 2.082 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.85/1.85, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.0008936/0.0008936, allocations: 97.69 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.563e-05/3.589e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7575/0.7575, allocations: 115.3 MB / 0.971 GB, free: 77.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.463/6.221, allocations: 2.077 GB / 3.048 GB, free: 18.29 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/6.221, allocations: 73.91 kB / 3.048 GB, free: 18.25 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.817/7.038, allocations: 50.48 MB / 3.097 GB, free: 334.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.084e-06/7.038, allocations: 0 / 3.097 GB, free: 334.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.091e-05/7.039, allocations: 3.562 kB / 3.097 GB, free: 334.7 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.001331/7.04, allocations: 0.5635 MB / 3.098 GB, free: 334.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.239e-05/7.04, allocations: 9.406 kB / 3.098 GB, free: 334.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.601e-05/7.04, allocations: 55.41 kB / 3.098 GB, free: 334.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/7.041, allocations: 142.5 kB / 3.098 GB, free: 334.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/7.042, allocations: 224.9 kB / 3.098 GB, free: 333.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/7.042, allocations: 11.25 kB / 3.098 GB, free: 333.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/7.042, allocations: 20.59 kB / 3.098 GB, free: 333.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006521/7.042, allocations: 341.1 kB / 3.098 GB, free: 333.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/7.042, allocations: 1.344 kB / 3.098 GB, free: 333.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/7.042, allocations: 8.281 kB / 3.098 GB, free: 333.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.803e-05/7.042, allocations: 16.2 kB / 3.098 GB, free: 333.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006192/7.043, allocations: 315.6 kB / 3.099 GB, free: 333.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/7.045, allocations: 1.154 MB / 3.1 GB, free: 332.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005032/7.045, allocations: 192.6 kB / 3.1 GB, free: 332.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/7.045, allocations: 84.52 kB / 3.1 GB, free: 332.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003871/7.046, allocations: 359.2 kB / 3.1 GB, free: 332.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/7.046, allocations: 37.98 kB / 3.1 GB, free: 332.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=21): time 1.453e-06/7.046, allocations: 0 / 3.1 GB, free: 332.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=21): time 0.0005437/7.046, allocations: 189.3 kB / 3.101 GB, free: 332.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/7.046, allocations: 53.45 kB / 3.101 GB, free: 332.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/7.047, allocations: 192.5 kB / 3.101 GB, free: 332 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/7.047, allocations: 30.73 kB / 3.101 GB, free: 331.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.819e-05/7.047, allocations: 142.5 kB / 3.101 GB, free: 331.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.383e-05/7.047, allocations: 71.2 kB / 3.101 GB, free: 331.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.406e-05/7.047, allocations: 5.438 kB / 3.101 GB, free: 331.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001092/7.047, allocations: 329 kB / 3.101 GB, free: 331.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/7.047, allocations: 70.47 kB / 3.101 GB, free: 331.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/7.047, allocations: 157.7 kB / 3.102 GB, free: 331.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/7.047, allocations: 90.56 kB / 3.102 GB, free: 331.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/7.047, allocations: 1.344 kB / 3.102 GB, free: 331.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004769/7.048, allocations: 280.1 kB / 3.102 GB, free: 331.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/7.048, allocations: 5.344 kB / 3.102 GB, free: 331.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/7.048, allocations: 4.188 kB / 3.102 GB, free: 331.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/7.048, allocations: 4.641 kB / 3.102 GB, free: 331.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/7.048, allocations: 56.64 kB / 3.102 GB, free: 331.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/7.048, allocations: 9.328 kB / 3.102 GB, free: 331.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/7.049, allocations: 39.41 kB / 3.102 GB, free: 331.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/7.049, allocations: 15.61 kB / 3.102 GB, free: 331.1 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.017e-05/7.049, allocations: 124.9 kB / 3.102 GB, free: 331 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.338e-05/7.049, allocations: 19.31 kB / 3.102 GB, free: 331 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004777/7.049, allocations: 221.2 kB / 3.102 GB, free: 330.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/7.049, allocations: 7.016 kB / 3.102 GB, free: 330.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/7.049, allocations: 0.9688 kB / 3.102 GB, free: 330.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/7.049, allocations: 1.234 kB / 3.102 GB, free: 330.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000695/7.05, allocations: 0.5361 MB / 3.103 GB, free: 330.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/7.05, allocations: 1 kB / 3.103 GB, free: 330.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/7.05, allocations: 30.28 kB / 3.103 GB, free: 330.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/7.05, allocations: 8.828 kB / 3.103 GB, free: 330.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/7.05, allocations: 5.766 kB / 3.103 GB, free: 330.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/7.05, allocations: 2.5 kB / 3.103 GB, free: 330.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/7.05, allocations: 0 / 3.103 GB, free: 330.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000414/7.051, allocations: 330.7 kB / 3.103 GB, free: 330.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/7.051, allocations: 119.3 kB / 3.103 GB, free: 330.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/7.051, allocations: 6.031 kB / 3.103 GB, free: 330.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/7.051, allocations: 12.19 kB / 3.103 GB, free: 330.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/7.051, allocations: 13.97 kB / 3.103 GB, free: 330.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/7.051, allocations: 13.84 kB / 3.103 GB, free: 330.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000136/7.051, allocations: 152.3 kB / 3.104 GB, free: 330.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.71e-07/7.051, allocations: 0 / 3.104 GB, free: 330.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007443/7.052, allocations: 143.5 kB / 3.104 GB, free: 330 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.001743/7.054, allocations: 1.53 MB / 3.105 GB, free: 329 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004433/7.054, allocations: 187.1 kB / 3.105 GB, free: 329 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/7.054, allocations: 5.25 kB / 3.105 GB, free: 329 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/7.054, allocations: 81.22 kB / 3.105 GB, free: 329 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000635/7.055, allocations: 89.45 kB / 3.106 GB, free: 329 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008886/7.056, allocations: 333.1 kB / 3.106 GB, free: 328.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/7.056, allocations: 0.7352 MB / 3.107 GB, free: 328 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003159/7.057, allocations: 56.86 kB / 3.107 GB, free: 328 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/7.057, allocations: 54.11 kB / 3.107 GB, free: 328 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/7.057, allocations: 1.188 kB / 3.107 GB, free: 328 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04484/7.102, allocations: 17.3 MB / 3.124 GB, free: 324.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001425/7.102, allocations: 155 kB / 3.124 GB, free: 324.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.264/9.366, allocations: 0 / 3.124 GB, free: 324.1 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Examples_AirProperties.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.pipe 2>&1)