Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.68/1.68, allocations: 289.7 MB / 302.2 MB, free: 2.188 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.001067/0.001067, allocations: 183.2 kB / 371.6 MB, free: 3.375 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.592/1.592, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.001037/0.001037, allocations: 88.58 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.644e-05/3.648e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.278, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8755/1.154, allocations: 142.9 MB / 1.119 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/1.154, allocations: 86.69 kB / 1.12 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0171/1.171, allocations: 7.43 MB / 1.127 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.485e-06/1.171, allocations: 4 kB / 1.127 GB, free: 37.87 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.581e-05/1.171, allocations: 8 kB / 1.127 GB, free: 37.86 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0008739/1.172, allocations: 0.6776 MB / 1.127 GB, free: 37.23 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/1.172, allocations: 11.97 kB / 1.127 GB, free: 37.22 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.324e-05/1.172, allocations: 81.91 kB / 1.128 GB, free: 37.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.029e-05/1.172, allocations: 53.16 kB / 1.128 GB, free: 37.11 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005377/1.173, allocations: 381 kB / 1.128 GB, free: 36.8 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/1.173, allocations: 41.89 kB / 1.128 GB, free: 36.78 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.327e-05/1.173, allocations: 45.53 kB / 1.128 GB, free: 36.75 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006064/1.173, allocations: 419.1 kB / 1.128 GB, free: 36.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/1.173, allocations: 0 / 1.128 GB, free: 36.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/1.174, allocations: 17.75 kB / 1.128 GB, free: 36.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/1.174, allocations: 8 kB / 1.128 GB, free: 36.49 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004362/1.174, allocations: 298.5 kB / 1.129 GB, free: 36.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/1.176, allocations: 1.378 MB / 1.13 GB, free: 35.49 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004767/1.176, allocations: 275.9 kB / 1.13 GB, free: 35.32 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/1.176, allocations: 121.4 kB / 1.13 GB, free: 35.25 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/1.176, allocations: 11.64 kB / 1.131 GB, free: 35.24 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000287/1.177, allocations: 200 kB / 1.131 GB, free: 35.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=30): time 1.453e-06/1.177, allocations: 4 kB / 1.131 GB, free: 35.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30): time 0.0004428/1.177, allocations: 277.7 kB / 1.131 GB, free: 34.9 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/1.177, allocations: 161.7 kB / 1.131 GB, free: 34.71 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003277/1.178, allocations: 364.9 kB / 1.131 GB, free: 34.45 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/1.178, allocations: 37.14 kB / 1.132 GB, free: 34.42 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/1.178, allocations: 218.9 kB / 1.132 GB, free: 34.27 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.163e-05/1.178, allocations: 96.89 kB / 1.132 GB, free: 34.2 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-05/1.178, allocations: 7.938 kB / 1.132 GB, free: 34.2 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.796e-05/1.178, allocations: 344.7 kB / 1.132 GB, free: 33.88 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/1.178, allocations: 120.1 kB / 1.132 GB, free: 33.81 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/1.178, allocations: 184.9 kB / 1.132 GB, free: 33.67 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/1.179, allocations: 143.3 kB / 1.133 GB, free: 33.58 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/1.179, allocations: 11.94 kB / 1.133 GB, free: 33.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005413/1.179, allocations: 388.8 kB / 1.133 GB, free: 33.3 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-05/1.179, allocations: 310.5 kB / 1.133 GB, free: 32.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.179, allocations: 8.062 kB / 1.133 GB, free: 32.97 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/1.179, allocations: 0 / 1.133 GB, free: 32.97 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/1.179, allocations: 62.44 kB / 1.133 GB, free: 32.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/1.18, allocations: 0 / 1.133 GB, free: 32.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/1.18, allocations: 92.38 kB / 1.133 GB, free: 32.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/1.18, allocations: 12 kB / 1.133 GB, free: 32.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/1.18, allocations: 7.422 kB / 1.133 GB, free: 32.84 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004885/1.18, allocations: 336.8 kB / 1.134 GB, free: 32.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-06/1.18, allocations: 0 / 1.134 GB, free: 32.63 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.208e-06/1.18, allocations: 4 kB / 1.134 GB, free: 32.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/1.181, allocations: 55.75 kB / 1.134 GB, free: 32.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/1.181, allocations: 9.594 kB / 1.134 GB, free: 32.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003066/1.181, allocations: 80.7 kB / 1.134 GB, free: 32.51 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/1.181, allocations: 15.69 kB / 1.134 GB, free: 32.5 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,$whenCondition3,$PRE.uEna.y,uEna.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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 9.354e-05/1.181, allocations: 124 kB / 1.134 GB, free: 32.38 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/1.181, allocations: 39.52 kB / 1.134 GB, free: 32.34 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005147/1.182, allocations: 319.3 kB / 1.134 GB, free: 32.16 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/1.182, allocations: 4 kB / 1.134 GB, free: 32.15 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.182, allocations: 3.953 kB / 1.134 GB, free: 32.15 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/1.182, allocations: 4 kB / 1.134 GB, free: 32.14 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00085/1.183, allocations: 0.8635 MB / 1.135 GB, free: 31.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/1.183, allocations: 2.875 kB / 1.135 GB, free: 31.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/1.183, allocations: 57.98 kB / 1.135 GB, free: 31.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/1.183, allocations: 3.953 kB / 1.135 GB, free: 31.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/1.183, allocations: 13.77 kB / 1.135 GB, free: 31.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/1.183, allocations: 4 kB / 1.135 GB, free: 31.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/1.183, allocations: 96 / 1.135 GB, free: 31.49 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006175/1.184, allocations: 0.562 MB / 1.136 GB, free: 31.05 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.643e-05/1.184, allocations: 133.9 kB / 1.136 GB, free: 30.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/1.184, allocations: 6.812 kB / 1.136 GB, free: 30.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/1.184, allocations: 29.39 kB / 1.136 GB, free: 30.89 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/1.184, allocations: 14.94 kB / 1.136 GB, free: 30.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/1.184, allocations: 12.5 kB / 1.136 GB, free: 30.88 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002559/1.184, allocations: 291.2 kB / 1.136 GB, free: 30.68 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.184, allocations: 4 kB / 1.136 GB, free: 30.67 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004809/1.185, allocations: 163.9 kB / 1.136 GB, free: 30.53 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (conTSup.con.I.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,uEna.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008717/1.186, allocations: 1.344 MB / 1.138 GB, free: 29.31 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007078/1.186, allocations: 0.5724 MB / 1.138 GB, free: 28.89 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.186, allocations: 0 / 1.138 GB, free: 28.89 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001738/1.187, allocations: 129.1 kB / 1.138 GB, free: 28.8 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/1.187, allocations: 67.59 kB / 1.139 GB, free: 28.77 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/1.188, allocations: 0.5805 MB / 1.139 GB, free: 28.29 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/1.188, allocations: 0.8232 MB / 1.14 GB, free: 27.49 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00025/1.189, allocations: 63.45 kB / 1.14 GB, free: 27.45 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/1.189, allocations: 149 kB / 1.14 GB, free: 27.42 MB / 0.7448 GB Notification: Performance of SimCode: time 2.1e-07/1.189, allocations: 0 / 1.14 GB, free: 27.42 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/1.212, allocations: 8.771 MB / 1.149 GB, free: 22.34 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/1.212, allocations: 172 kB / 1.149 GB, free: 22.11 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/3.585, allocations: 3.938 kB / 1.149 GB, free: 22.11 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature.fmu > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe 2>&1)