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.65/1.65, allocations: 288.2 MB / 303.2 MB, free: 8.129 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.00115/0.00115, allocations: 183.3 kB / 371.8 MB, free: 10.29 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.971/1.971, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 88.11 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004326/0.0004326, allocations: 10.91 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2817, allocations: 115.3 MB / 0.9795 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.978/6.26, allocations: 2.077 GB / 3.056 GB, free: 190.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/6.26, allocations: 70.78 kB / 3.056 GB, free: 190.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1065/6.367, allocations: 50.57 MB / 3.106 GB, free: 148 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.735e-06/6.367, allocations: 0 / 3.106 GB, free: 148 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.352e-05/6.367, allocations: 4 kB / 3.106 GB, free: 148 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/6.368, allocations: 0.5749 MB / 3.106 GB, free: 147.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/6.368, allocations: 12.02 kB / 3.106 GB, free: 147.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001138/6.368, allocations: 57.05 kB / 3.106 GB, free: 147.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/6.369, allocations: 143.1 kB / 3.106 GB, free: 147.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/6.37, allocations: 212.2 kB / 3.107 GB, free: 146.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/6.37, allocations: 17.17 kB / 3.107 GB, free: 146.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/6.37, allocations: 17.25 kB / 3.107 GB, free: 146.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005646/6.37, allocations: 337.1 kB / 3.107 GB, free: 146.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/6.37, allocations: 0 / 3.107 GB, free: 146.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/6.37, allocations: 15.33 kB / 3.107 GB, free: 146.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.976e-05/6.371, allocations: 15.98 kB / 3.107 GB, free: 146.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004991/6.371, allocations: 321.2 kB / 3.107 GB, free: 146.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/6.373, allocations: 1.164 MB / 3.108 GB, free: 145.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004647/6.373, allocations: 186.4 kB / 3.109 GB, free: 145 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004385/6.374, allocations: 460.2 kB / 3.109 GB, free: 144.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/6.374, allocations: 34.56 kB / 3.109 GB, free: 144.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=21): time 1.853e-06/6.374, allocations: 0 / 3.109 GB, free: 144.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=21): time 0.000649/6.374, allocations: 338.3 kB / 3.109 GB, free: 144.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/6.374, allocations: 55.34 kB / 3.109 GB, free: 144.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/6.374, allocations: 186.6 kB / 3.11 GB, free: 143.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/6.374, allocations: 33.7 kB / 3.11 GB, free: 143.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.254e-05/6.375, allocations: 143.9 kB / 3.11 GB, free: 143.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/6.375, allocations: 74.92 kB / 3.11 GB, free: 143.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.379e-05/6.375, allocations: 8 kB / 3.11 GB, free: 143.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.279e-05/6.375, allocations: 326.8 kB / 3.11 GB, free: 143.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/6.375, allocations: 68.22 kB / 3.11 GB, free: 143.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/6.375, allocations: 167.6 kB / 3.11 GB, free: 143 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/6.375, allocations: 91.66 kB / 3.11 GB, free: 142.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/6.375, allocations: 4 kB / 3.11 GB, free: 142.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004396/6.376, allocations: 281.4 kB / 3.111 GB, free: 142.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/6.376, allocations: 4 kB / 3.111 GB, free: 142.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/6.376, allocations: 4 kB / 3.111 GB, free: 142.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/6.376, allocations: 4 kB / 3.111 GB, free: 142.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/6.376, allocations: 63.91 kB / 3.111 GB, free: 142.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/6.376, allocations: 8.047 kB / 3.111 GB, free: 142.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/6.376, allocations: 39.61 kB / 3.111 GB, free: 142.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/6.376, allocations: 15.95 kB / 3.111 GB, free: 142.5 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 () * 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.0001166/6.376, allocations: 138.5 kB / 3.111 GB, free: 142.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/6.376, allocations: 23.8 kB / 3.111 GB, free: 142.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004285/6.377, allocations: 258.2 kB / 3.111 GB, free: 142.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/6.377, allocations: 4 kB / 3.111 GB, free: 142.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/6.377, allocations: 0 / 3.111 GB, free: 142.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/6.377, allocations: 0 / 3.111 GB, free: 142.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005659/6.377, allocations: 0.5448 MB / 3.112 GB, free: 141.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/6.377, allocations: 11.92 kB / 3.112 GB, free: 141.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/6.378, allocations: 27.98 kB / 3.112 GB, free: 141.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/6.378, allocations: 4 kB / 3.112 GB, free: 141.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/6.378, allocations: 4 kB / 3.112 GB, free: 141.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/6.378, allocations: 4 kB / 3.112 GB, free: 141.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/6.378, allocations: 0 / 3.112 GB, free: 141.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/6.378, allocations: 344.3 kB / 3.112 GB, free: 141.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/6.378, allocations: 120.8 kB / 3.112 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/6.378, allocations: 4 kB / 3.112 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/6.379, allocations: 11.98 kB / 3.112 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/6.379, allocations: 15.98 kB / 3.112 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/6.379, allocations: 15.95 kB / 3.112 GB, free: 140.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001067/6.379, allocations: 145.5 kB / 3.113 GB, free: 140.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.11e-07/6.379, allocations: 0 / 3.113 GB, free: 140.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006706/6.379, allocations: 151.9 kB / 3.113 GB, free: 140.6 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 () * 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.001481/6.381, allocations: 1.555 MB / 3.114 GB, free: 139 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003307/6.381, allocations: 197.7 kB / 3.114 GB, free: 138.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/6.381, allocations: 0 / 3.114 GB, free: 138.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/6.381, allocations: 95.95 kB / 3.114 GB, free: 138.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005043/6.382, allocations: 88.7 kB / 3.115 GB, free: 138.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/6.384, allocations: 3.1 MB / 3.118 GB, free: 135.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/6.384, allocations: 0.7328 MB / 3.118 GB, free: 134.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002979/6.384, allocations: 54.25 kB / 3.118 GB, free: 134.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.673e-05/6.384, allocations: 67.33 kB / 3.118 GB, free: 134.5 MB / 0.948 GB Notification: Performance of SimCode: time 2.2e-07/6.384, allocations: 0 / 3.118 GB, free: 134.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02695/6.411, allocations: 15.78 MB / 3.134 GB, free: 118.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000134/6.412, allocations: 175.3 kB / 3.134 GB, free: 118.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.203/8.614, allocations: 3.938 kB / 3.134 GB, free: 118.7 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)