Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",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.361/1.361, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 177.3 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.000942/0.0009421, allocations: 86.3 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003263, allocations: 10.12 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2342, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1907/0.425, allocations: 137.1 MB / 1.034 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/0.4254, allocations: 95.94 kB / 1.034 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01652/0.4419, allocations: 6.226 MB / 1.04 GB, free: 244 kB / 0.6823 GB Notification: Performance of FrontEnd: time 1.974e-06/0.442, allocations: 0 / 1.04 GB, free: 244 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.239e-05/0.442, allocations: 8 kB / 1.04 GB, free: 236 kB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.00103/0.443, allocations: 0.6346 MB / 1.041 GB, free: 15.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.4431, allocations: 8.031 kB / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.707e-05/0.4432, allocations: 54.55 kB / 1.041 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.357e-05/0.4433, allocations: 47.39 kB / 1.041 GB, free: 15.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005271/0.4438, allocations: 357.2 kB / 1.041 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.4438, allocations: 16.44 kB / 1.041 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.4439, allocations: 16 kB / 1.041 GB, free: 15.01 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005789/0.4445, allocations: 306 kB / 1.042 GB, free: 14.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.4445, allocations: 11.94 kB / 1.042 GB, free: 14.67 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/0.4445, allocations: 11.98 kB / 1.042 GB, free: 14.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.4445, allocations: 7.938 kB / 1.042 GB, free: 14.65 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006135/0.4452, allocations: 245 kB / 1.042 GB, free: 14.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/0.4468, allocations: 0.9821 MB / 1.043 GB, free: 13.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008183/0.4476, allocations: 282.7 kB / 1.043 GB, free: 13.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.626e-05/0.4477, allocations: 7.938 kB / 1.043 GB, free: 13.08 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.4477, allocations: 38.5 kB / 1.043 GB, free: 13.04 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 2.264e-06/0.4477, allocations: 0 / 1.043 GB, free: 13.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0009339/0.4487, allocations: 379.1 kB / 1.043 GB, free: 12.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.431e-05/0.4488, allocations: 158.2 kB / 1.044 GB, free: 12.47 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003786/0.4492, allocations: 320.9 kB / 1.044 GB, free: 12.15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.4492, allocations: 25.7 kB / 1.044 GB, free: 12.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.4493, allocations: 196.2 kB / 1.044 GB, free: 11.93 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/0.4494, allocations: 43.34 kB / 1.044 GB, free: 11.88 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/0.4494, allocations: 4 kB / 1.044 GB, free: 11.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.4496, allocations: 346.8 kB / 1.045 GB, free: 11.53 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.4498, allocations: 95.94 kB / 1.045 GB, free: 11.44 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.4501, allocations: 148.1 kB / 1.045 GB, free: 11.28 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.4503, allocations: 102.4 kB / 1.045 GB, free: 11.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4504, allocations: 0 / 1.045 GB, free: 11.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005355/0.4509, allocations: 277.1 kB / 1.045 GB, free: 10.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4509, allocations: 4 kB / 1.045 GB, free: 10.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.4509, allocations: 0 / 1.045 GB, free: 10.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.451, allocations: 4 kB / 1.045 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.4512, allocations: 55.89 kB / 1.045 GB, free: 10.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.4512, allocations: 0 / 1.045 GB, free: 10.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.4514, allocations: 43.81 kB / 1.045 GB, free: 10.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.4515, allocations: 4 kB / 1.045 GB, free: 10.79 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 15 * 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.0002103/0.4517, allocations: 145.8 kB / 1.045 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-05/0.4518, allocations: 35.58 kB / 1.045 GB, free: 10.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.4519, allocations: 43.16 kB / 1.045 GB, free: 10.56 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.4519, allocations: 0 / 1.045 GB, free: 10.56 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.4519, allocations: 8 kB / 1.045 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.4519, allocations: 0 / 1.045 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004765/0.4524, allocations: 385.2 kB / 1.046 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.4524, allocations: 0 / 1.046 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.4526, allocations: 47.91 kB / 1.046 GB, free: 10.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.4526, allocations: 4.031 kB / 1.046 GB, free: 10.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.4527, allocations: 11.94 kB / 1.046 GB, free: 10.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4527, allocations: 4 kB / 1.046 GB, free: 10.06 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4527, allocations: 0 / 1.046 GB, free: 10.06 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006019/0.4533, allocations: 376.2 kB / 1.046 GB, free: 9.676 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.4535, allocations: 136.5 kB / 1.046 GB, free: 9.523 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.4535, allocations: 7.938 kB / 1.046 GB, free: 9.516 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.4538, allocations: 43.92 kB / 1.046 GB, free: 9.473 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.4538, allocations: 7.984 kB / 1.046 GB, free: 9.465 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.4538, allocations: 4 kB / 1.046 GB, free: 9.461 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002665/0.4541, allocations: 259.2 kB / 1.047 GB, free: 9.207 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4541, allocations: 0 / 1.047 GB, free: 9.207 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002856/0.4544, allocations: 55.84 kB / 1.047 GB, free: 9.152 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 15 * 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.0008843/0.4553, allocations: 0.9058 MB / 1.048 GB, free: 8.223 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005199/0.4558, allocations: 219.9 kB / 1.048 GB, free: 8.008 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4558, allocations: 0 / 1.048 GB, free: 8.008 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.4561, allocations: 119.9 kB / 1.048 GB, free: 7.891 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.4566, allocations: 75.3 kB / 1.048 GB, free: 7.82 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/0.4597, allocations: 1.882 MB / 1.05 GB, free: 5.875 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.4601, allocations: 0.7835 MB / 1.051 GB, free: 5.066 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001616/0.4602, allocations: 34.27 kB / 1.051 GB, free: 5.035 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.4604, allocations: 107.4 kB / 1.051 GB, free: 4.93 MB / 0.698 GB Notification: Performance of SimCode: time 9.62e-07/0.4604, allocations: 0 / 1.051 GB, free: 4.93 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4473/0.9077, allocations: 6.565 MB / 1.057 GB, free: 149.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.908, allocations: 222.8 kB / 1.057 GB, free: 149.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.092/3, allocations: 5.094 kB / 1.057 GB, free: 149.6 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)