Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.807/1.807, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001149/0.001149, allocations: 185 kB / 377.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.073/2.073, allocations: 205.4 MB / 0.6366 GB, free: 8.637 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.001017/0.001017, allocations: 83.47 kB / 0.7509 GB, free: 63.31 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003951, allocations: 8 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3348, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8401/1.175, allocations: 144.5 MB / 1.13 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/1.175, allocations: 102.3 kB / 1.13 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02465/1.2, allocations: 8.862 MB / 1.138 GB, free: 25.27 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.298e-06/1.2, allocations: 0 / 1.138 GB, free: 25.27 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.072e-05/1.2, allocations: 12 kB / 1.138 GB, free: 25.26 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001915/1.202, allocations: 0.7522 MB / 1.139 GB, free: 24.52 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.277e-05/1.202, allocations: 8.031 kB / 1.139 GB, free: 24.52 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002684/1.202, allocations: 69.88 kB / 1.139 GB, free: 24.45 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002204/1.203, allocations: 56.34 kB / 1.139 GB, free: 24.39 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/1.204, allocations: 482.4 kB / 1.14 GB, free: 23.94 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/1.204, allocations: 20.66 kB / 1.14 GB, free: 23.92 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.908e-05/1.204, allocations: 35.94 kB / 1.14 GB, free: 23.88 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008834/1.205, allocations: 424.1 kB / 1.14 GB, free: 23.49 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/1.205, allocations: 8 kB / 1.14 GB, free: 23.48 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.819e-05/1.205, allocations: 8 kB / 1.14 GB, free: 23.47 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/1.205, allocations: 8 kB / 1.14 GB, free: 23.46 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007495/1.206, allocations: 327.2 kB / 1.14 GB, free: 23.18 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00248/1.208, allocations: 1.563 MB / 1.142 GB, free: 21.76 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009433/1.209, allocations: 374.3 kB / 1.142 GB, free: 21.43 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.568e-05/1.209, allocations: 12.39 kB / 1.142 GB, free: 21.42 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/1.209, allocations: 35.17 kB / 1.142 GB, free: 21.38 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=23): time 2.725e-06/1.209, allocations: 0 / 1.142 GB, free: 21.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.001158/1.21, allocations: 485.3 kB / 1.143 GB, free: 20.95 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.586e-05/1.21, allocations: 159.1 kB / 1.143 GB, free: 20.75 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005196/1.211, allocations: 376.5 kB / 1.143 GB, free: 20.42 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/1.211, allocations: 33.7 kB / 1.143 GB, free: 20.38 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/1.211, allocations: 252.1 kB / 1.144 GB, free: 20.14 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.654e-05/1.211, allocations: 85.81 kB / 1.144 GB, free: 20.07 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.466e-05/1.211, allocations: 4 kB / 1.144 GB, free: 20.06 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.211, allocations: 353.2 kB / 1.144 GB, free: 19.72 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/1.212, allocations: 132.9 kB / 1.144 GB, free: 19.61 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/1.212, allocations: 220.4 kB / 1.144 GB, free: 19.38 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/1.213, allocations: 147.7 kB / 1.144 GB, free: 19.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.213, allocations: 0 / 1.144 GB, free: 19.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008051/1.213, allocations: 408.8 kB / 1.145 GB, free: 18.88 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/1.213, allocations: 9.266 kB / 1.145 GB, free: 18.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/1.213, allocations: 3.984 kB / 1.145 GB, free: 18.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/1.213, allocations: 7.953 kB / 1.145 GB, free: 18.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/1.214, allocations: 72.5 kB / 1.145 GB, free: 18.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/1.214, allocations: 4 kB / 1.145 GB, free: 18.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/1.214, allocations: 54.72 kB / 1.145 GB, free: 18.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/1.214, allocations: 10.11 kB / 1.145 GB, free: 18.75 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0002463/1.214, allocations: 178.3 kB / 1.145 GB, free: 18.56 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-05/1.214, allocations: 45.03 kB / 1.145 GB, free: 18.52 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/1.215, allocations: 46.41 kB / 1.145 GB, free: 18.48 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/1.215, allocations: 4 kB / 1.145 GB, free: 18.48 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/1.215, allocations: 3.953 kB / 1.145 GB, free: 18.48 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/1.215, allocations: 1.125 kB / 1.145 GB, free: 18.48 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006894/1.215, allocations: 482.9 kB / 1.146 GB, free: 18.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/1.215, allocations: 0.5156 kB / 1.146 GB, free: 18.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003146/1.216, allocations: 62.67 kB / 1.146 GB, free: 18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/1.216, allocations: 5.531 kB / 1.146 GB, free: 18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/1.216, allocations: 9.766 kB / 1.146 GB, free: 17.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/1.216, allocations: 4 kB / 1.146 GB, free: 17.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.216, allocations: 0 / 1.146 GB, free: 17.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/1.217, allocations: 0.6214 MB / 1.146 GB, free: 17.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/1.217, allocations: 152.3 kB / 1.147 GB, free: 17.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.633e-05/1.217, allocations: 4.609 kB / 1.147 GB, free: 17.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002805/1.217, allocations: 36.55 kB / 1.147 GB, free: 17.21 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.984e-05/1.217, allocations: 10.38 kB / 1.147 GB, free: 17.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/1.218, allocations: 13.03 kB / 1.147 GB, free: 17.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003961/1.218, allocations: 300.2 kB / 1.147 GB, free: 16.94 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.11e-07/1.218, allocations: 7.938 kB / 1.147 GB, free: 16.93 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000401/1.218, allocations: 79.69 kB / 1.147 GB, free: 16.86 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y) * 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 (23): * Single equations (assignments): 23 * 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.001349/1.22, allocations: 1.169 MB / 1.148 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007292/1.22, allocations: 319.2 kB / 1.148 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.22, allocations: 0 / 1.148 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003203/1.221, allocations: 162.4 kB / 1.149 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007186/1.222, allocations: 111.2 kB / 1.149 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005155/1.227, allocations: 3.452 MB / 1.152 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/1.227, allocations: 0.8268 MB / 1.153 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003283/1.227, allocations: 48.08 kB / 1.153 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/1.228, allocations: 154.6 kB / 1.153 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of SimCode: time 2.625e-06/1.228, allocations: 0 / 1.153 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/1.258, allocations: 8.566 MB / 1.161 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/1.258, allocations: 216.3 kB / 1.162 GB, free: 5.004 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/3.656, allocations: 4 kB / 1.162 GB, free: 5 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)