Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.429/1.429, allocations: 249.5 MB / 257 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 184.9 kB / 316.3 MB, free: 3.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008816/0.0008816, allocations: 88.34 kB / 0.6714 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.656e-05/1.657e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1939, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.51/6.704, allocations: 2.205 GB / 3.09 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003879/6.705, allocations: 76.7 kB / 3.091 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1137/6.819, allocations: 49.88 MB / 3.139 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.953e-06/6.819, allocations: 0 / 3.139 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.952e-05/6.819, allocations: 4 kB / 3.139 GB, free: 117.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001282/6.82, allocations: 0.5683 MB / 3.14 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/6.82, allocations: 12.03 kB / 3.14 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/6.821, allocations: 139.6 kB / 3.14 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/6.822, allocations: 222.7 kB / 3.14 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/6.822, allocations: 8 kB / 3.14 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/6.822, allocations: 8 kB / 3.14 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004917/6.822, allocations: 308.7 kB / 3.14 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/6.823, allocations: 294.5 kB / 3.141 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/6.823, allocations: 0 / 3.141 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/6.823, allocations: 0 / 3.141 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.157e-05/6.823, allocations: 16.36 kB / 3.141 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/6.824, allocations: 1.131 MB / 3.142 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003791/6.825, allocations: 175.2 kB / 3.142 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/6.825, allocations: 76.81 kB / 3.142 GB, free: 114 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003815/6.825, allocations: 360.4 kB / 3.142 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/6.825, allocations: 34.56 kB / 3.142 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 2.174e-06/6.825, allocations: 0 / 3.142 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20): time 0.0004233/6.826, allocations: 173.6 kB / 3.143 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/6.826, allocations: 51.41 kB / 3.143 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/6.826, allocations: 153.2 kB / 3.143 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/6.826, allocations: 29.7 kB / 3.143 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/6.826, allocations: 155.9 kB / 3.143 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/6.826, allocations: 67 kB / 3.143 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.38e-05/6.826, allocations: 0 / 3.143 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.566e-05/6.826, allocations: 326.8 kB / 3.143 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.993e-05/6.826, allocations: 60.25 kB / 3.143 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/6.826, allocations: 160.5 kB / 3.144 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/6.826, allocations: 87.81 kB / 3.144 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/6.826, allocations: 0 / 3.144 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003962/6.827, allocations: 247.7 kB / 3.144 GB, free: 112 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/6.827, allocations: 11.95 kB / 3.144 GB, free: 112 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/6.827, allocations: 0 / 3.144 GB, free: 112 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/6.827, allocations: 11.94 kB / 3.144 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/6.827, allocations: 55.91 kB / 3.144 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/6.827, allocations: 4 kB / 3.144 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/6.827, allocations: 27.69 kB / 3.144 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/6.827, allocations: 16.36 kB / 3.144 GB, free: 111.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.724e-05/6.827, allocations: 116.8 kB / 3.144 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002837/6.828, allocations: 167.6 kB / 3.144 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.291e-05/6.828, allocations: 11.91 kB / 3.144 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00037/6.828, allocations: 206.2 kB / 3.145 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/6.828, allocations: 4 kB / 3.145 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/6.828, allocations: 0 / 3.145 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/6.828, allocations: 3.984 kB / 3.145 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005607/6.829, allocations: 484.3 kB / 3.145 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/6.829, allocations: 0 / 3.145 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/6.829, allocations: 31.92 kB / 3.145 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/6.829, allocations: 7.953 kB / 3.145 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/6.829, allocations: 0 / 3.145 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/6.829, allocations: 0 / 3.145 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/6.829, allocations: 0 / 3.145 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/6.829, allocations: 292.9 kB / 3.145 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/6.83, allocations: 120.8 kB / 3.145 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/6.83, allocations: 0 / 3.145 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/6.83, allocations: 4 kB / 3.145 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/6.83, allocations: 11.94 kB / 3.145 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/6.83, allocations: 15.98 kB / 3.145 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.994e-05/6.83, allocations: 115.3 kB / 3.146 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/6.83, allocations: 3.938 kB / 3.146 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006877/6.831, allocations: 143.8 kB / 3.146 GB, free: 110 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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.001788/6.832, allocations: 1.509 MB / 3.147 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000378/6.833, allocations: 172.3 kB / 3.147 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/6.833, allocations: 0 / 3.147 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/6.833, allocations: 75.91 kB / 3.147 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/6.833, allocations: 38.11 kB / 3.147 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009135/6.834, allocations: 311.7 kB / 3.148 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/6.835, allocations: 0.7403 MB / 3.148 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002972/6.835, allocations: 53.81 kB / 3.149 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/6.835, allocations: 55.41 kB / 3.149 GB, free: 107 MB / 0.8698 GB Notification: Performance of SimCode: time 8.42e-07/6.835, allocations: 0 / 3.149 GB, free: 107 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.032/6.867, allocations: 9.488 MB / 3.158 GB, free: 97.55 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/6.867, allocations: 140.1 kB / 3.158 GB, free: 97.36 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/8.782, allocations: 0 / 3.158 GB, free: 97.36 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_AirProperties.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe 2>&1)