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.59/1.59, allocations: 289.9 MB / 297.4 MB, free: 6.398 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.001064/0.001064, allocations: 172.9 kB / 366.7 MB, free: 1.684 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.555/1.555, allocations: 205.3 MB / 0.626 GB, free: 7.18 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.0009258/0.0009259, allocations: 90.19 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.151e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6788/0.6789, allocations: 116.3 MB / 0.9733 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1906/0.8696, allocations: 142.3 MB / 1.112 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.8698, allocations: 83.92 kB / 1.112 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01896/0.8888, allocations: 7.388 MB / 1.12 GB, free: 432 kB / 0.7136 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8889, allocations: 0 / 1.12 GB, free: 432 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.448e-05/0.8889, allocations: 8 kB / 1.12 GB, free: 424 kB / 0.7136 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.0009878/0.8899, allocations: 0.67 MB / 1.12 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.89, allocations: 15.97 kB / 1.12 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.8901, allocations: 55.44 kB / 1.12 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005963/0.8907, allocations: 391.2 kB / 1.121 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.8907, allocations: 12 kB / 1.121 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.607e-05/0.8908, allocations: 28 kB / 1.121 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004888/0.8913, allocations: 277.4 kB / 1.121 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005856/0.8919, allocations: 360.3 kB / 1.121 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.8919, allocations: 4 kB / 1.121 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.8919, allocations: 4 kB / 1.121 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.892, allocations: 8 kB / 1.121 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.8938, allocations: 1.261 MB / 1.123 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004785/0.8943, allocations: 257.9 kB / 1.123 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.8944, allocations: 117.3 kB / 1.123 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.8945, allocations: 8.859 kB / 1.123 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002885/0.8948, allocations: 198.8 kB / 1.123 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/0.8948, allocations: 0 / 1.123 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30): time 0.0004394/0.8952, allocations: 246.3 kB / 1.123 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.521e-05/0.8953, allocations: 166.2 kB / 1.124 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.8956, allocations: 250.2 kB / 1.124 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.8956, allocations: 31.58 kB / 1.124 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.8958, allocations: 240 kB / 1.124 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.061e-05/0.8959, allocations: 86.72 kB / 1.124 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/0.8959, allocations: 4 kB / 1.124 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.896, allocations: 334.8 kB / 1.124 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.8962, allocations: 113.2 kB / 1.125 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.8964, allocations: 174.9 kB / 1.125 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/0.8968, allocations: 124.2 kB / 1.125 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.8968, allocations: 0 / 1.125 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000596/0.8974, allocations: 346.4 kB / 1.125 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.8975, allocations: 310.5 kB / 1.125 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.8975, allocations: 4 kB / 1.125 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.8976, allocations: 0 / 1.125 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.8978, allocations: 59.91 kB / 1.126 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.8978, allocations: 0 / 1.126 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003483/0.8982, allocations: 71.64 kB / 1.126 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.8982, allocations: 19.98 kB / 1.126 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.114e-06/0.8983, allocations: 4 kB / 1.126 GB, free: 9.945 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005374/0.8988, allocations: 289 kB / 1.126 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-06/0.8988, allocations: 0 / 1.126 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.268e-06/0.8988, allocations: 5.406 kB / 1.126 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.8991, allocations: 51.91 kB / 1.126 GB, free: 9.609 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.8991, allocations: 4 kB / 1.126 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/0.8994, allocations: 63.81 kB / 1.126 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.8994, allocations: 16 kB / 1.126 GB, free: 9.527 MB / 0.7292 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 0.0001195/0.8996, allocations: 108.9 kB / 1.126 GB, free: 9.414 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003708/0.8999, allocations: 257.5 kB / 1.126 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.9, allocations: 27.62 kB / 1.126 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005005/0.9005, allocations: 284.9 kB / 1.127 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.9005, allocations: 7.953 kB / 1.127 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.9005, allocations: 0 / 1.127 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.9005, allocations: 5.859 kB / 1.127 GB, free: 8.836 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009024/0.9015, allocations: 0.7549 MB / 1.127 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.9015, allocations: 8.094 kB / 1.127 GB, free: 8.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.9017, allocations: 55.91 kB / 1.127 GB, free: 7.965 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.9018, allocations: 7.953 kB / 1.127 GB, free: 7.957 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.9018, allocations: 6.312 kB / 1.127 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.9018, allocations: 0 / 1.127 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.9018, allocations: 11.92 kB / 1.127 GB, free: 7.941 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006801/0.9025, allocations: 0.5276 MB / 1.128 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.6e-05/0.9026, allocations: 116.7 kB / 1.128 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.131e-05/0.9026, allocations: 0 / 1.128 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.9028, allocations: 28.03 kB / 1.128 GB, free: 7.211 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.996e-05/0.9029, allocations: 19.97 kB / 1.128 GB, free: 7.191 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.9029, allocations: 12 kB / 1.128 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001882/0.9031, allocations: 193.9 kB / 1.128 GB, free: 6.992 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9031, allocations: 3.938 kB / 1.128 GB, free: 6.988 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005485/0.9037, allocations: 171.2 kB / 1.129 GB, free: 6.82 MB / 0.7292 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.001115/0.9048, allocations: 1.298 MB / 1.13 GB, free: 5.473 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008093/0.9056, allocations: 0.5485 MB / 1.13 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.9057, allocations: 0 / 1.13 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.9058, allocations: 123.5 kB / 1.13 GB, free: 4.785 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.9063, allocations: 48.86 kB / 1.13 GB, free: 4.734 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.9075, allocations: 0.5498 MB / 1.131 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.9079, allocations: 0.8202 MB / 1.132 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002346/0.9082, allocations: 51.27 kB / 1.132 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.9084, allocations: 143.4 kB / 1.132 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of SimCode: time 4.8e-07/0.9084, allocations: 0 / 1.132 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02907/0.9375, allocations: 7.105 MB / 1.139 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/0.9378, allocations: 160.6 kB / 1.139 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.252/3.19, allocations: 0 / 1.139 GB, free: 11.97 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)