Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.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.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",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.614/1.614, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001027/0.001027, allocations: 176.3 kB / 361.4 MB, free: 6.867 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.526/1.526, allocations: 205.3 MB / 0.62 GB, free: 11.66 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.0009439/0.0009439, allocations: 94.62 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.714e-05/1.716e-05, allocations: 0 / 0.8518 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6607/0.6607, allocations: 115.3 MB / 0.9644 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2046/0.8654, allocations: 141.1 MB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/0.8657, allocations: 79.94 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0221/0.8878, allocations: 8.825 MB / 1.111 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.724e-06/0.8879, allocations: 4 kB / 1.111 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.562e-05/0.8879, allocations: 12 kB / 1.111 GB, free: 5.797 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001242/0.8892, allocations: 0.783 MB / 1.112 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.8892, allocations: 12.03 kB / 1.112 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.8894, allocations: 72.19 kB / 1.112 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006526/0.89, allocations: 450.8 kB / 1.112 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.8901, allocations: 16 kB / 1.112 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.8902, allocations: 31.98 kB / 1.112 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000615/0.8908, allocations: 338.4 kB / 1.113 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007568/0.8915, allocations: 441.1 kB / 1.113 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.8916, allocations: 4 kB / 1.113 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.952e-05/0.8916, allocations: 4 kB / 1.113 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/0.8916, allocations: 12 kB / 1.113 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002407/0.8941, allocations: 1.657 MB / 1.115 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.8952, allocations: 471.8 kB / 1.115 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.8954, allocations: 162.9 kB / 1.115 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.299e-05/0.8955, allocations: 4 kB / 1.115 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003575/0.8959, allocations: 229.7 kB / 1.116 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 2.515e-06/0.8959, allocations: 4 kB / 1.116 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.0005668/0.8964, allocations: 305.8 kB / 1.116 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.597e-05/0.8965, allocations: 158.2 kB / 1.116 GB, free: 496 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003953/0.8969, allocations: 345.2 kB / 1.116 GB, free: 148 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.897, allocations: 25.7 kB / 1.116 GB, free: 116 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.8973, allocations: 304.5 kB / 1.117 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.763e-05/0.8973, allocations: 114.3 kB / 1.117 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.718e-05/0.8974, allocations: 0 / 1.117 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.8976, allocations: 366.8 kB / 1.117 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.8977, allocations: 100 kB / 1.117 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.898, allocations: 192.8 kB / 1.117 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.8982, allocations: 126.9 kB / 1.117 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.8982, allocations: 0 / 1.117 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005015/0.8987, allocations: 346.1 kB / 1.118 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001603/0.8989, allocations: 365.5 kB / 1.118 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.8989, allocations: 0 / 1.118 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.8989, allocations: 4 kB / 1.118 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.8993, allocations: 88.09 kB / 1.118 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.8993, allocations: 9.25 kB / 1.118 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/0.8996, allocations: 75.58 kB / 1.118 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.8997, allocations: 13.88 kB / 1.118 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.253e-06/0.8997, allocations: 4 kB / 1.118 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000406/0.9001, allocations: 249.8 kB / 1.119 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.9001, allocations: 4 kB / 1.119 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.336e-06/0.9001, allocations: 0 / 1.119 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.9004, allocations: 71.91 kB / 1.119 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.9004, allocations: 8.047 kB / 1.119 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.9007, allocations: 55.8 kB / 1.119 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.9007, allocations: 12 kB / 1.119 GB, free: 13.59 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,$PRE.vavBoxCon.hysWitHol.y,vavBoxCon.hysWitHol.y,vavBoxCon.assMes.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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.0001224/0.9009, allocations: 114.2 kB / 1.119 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004485/0.9013, allocations: 308.9 kB / 1.119 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.62e-05/0.9014, allocations: 47.44 kB / 1.119 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005658/0.902, allocations: 329.2 kB / 1.119 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.902, allocations: 4 kB / 1.119 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.902, allocations: 4 kB / 1.119 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.902, allocations: 7.922 kB / 1.119 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.9031, allocations: 0.9708 MB / 1.12 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.9031, allocations: 2.062 kB / 1.12 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000365/0.9035, allocations: 79.89 kB / 1.121 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.9035, allocations: 3.953 kB / 1.121 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.9035, allocations: 7.984 kB / 1.121 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.9036, allocations: 3.938 kB / 1.121 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.9036, allocations: 0 / 1.121 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007525/0.9043, allocations: 0.583 MB / 1.121 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.884e-05/0.9044, allocations: 124.5 kB / 1.121 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.221e-05/0.9045, allocations: 0 / 1.121 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002891/0.9048, allocations: 44.03 kB / 1.121 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.238e-05/0.9049, allocations: 31.94 kB / 1.121 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.9049, allocations: 12 kB / 1.121 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002919/0.9052, allocations: 267 kB / 1.122 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9052, allocations: 0 / 1.122 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005551/0.9058, allocations: 175 kB / 1.122 GB, free: 10.39 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,vavBoxCon.hysWitHol.y,vavBoxCon.assMes.u) * Number of discrete states: 1 (vavBoxCon.hysWitHol.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.00115/0.9069, allocations: 1.221 MB / 1.123 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007265/0.9077, allocations: 446.3 kB / 1.123 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.9077, allocations: 4.062 kB / 1.123 GB, free: 8.699 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.9079, allocations: 155.8 kB / 1.124 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005042/0.9084, allocations: 74.34 kB / 1.124 GB, free: 8.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.9099, allocations: 0.7197 MB / 1.124 GB, free: 7.723 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.9104, allocations: 0.8825 MB / 1.125 GB, free: 6.812 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003407/0.9107, allocations: 73.12 kB / 1.125 GB, free: 6.742 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.911, allocations: 195.4 kB / 1.125 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of SimCode: time 3.91e-07/0.911, allocations: 4 kB / 1.125 GB, free: 6.547 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/0.9406, allocations: 8.747 MB / 1.134 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.9408, allocations: 151 kB / 1.134 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.024/2.965, allocations: 0 / 1.134 GB, free: 13.8 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV.fmu > Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)