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.399/1.399, allocations: 249.5 MB / 257 MB, free: 6.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001474/0.001474, allocations: 183.5 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0008719/0.0008719, allocations: 82.48 kB / 0.6714 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.154e-05/2.156e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2179, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7747/0.9926, allocations: 137.3 MB / 1.019 GB, free: 196 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.9929, allocations: 94.23 kB / 1.019 GB, free: 140 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01512/1.008, allocations: 6.148 MB / 1.025 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.623e-06/1.008, allocations: 0 / 1.025 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.733e-05/1.008, allocations: 8 kB / 1.025 GB, free: 11.05 MB / 0.6511 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.0008149/1.009, allocations: 0.5673 MB / 1.026 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/1.009, allocations: 12.03 kB / 1.026 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.56e-05/1.009, allocations: 47.39 kB / 1.026 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004682/1.01, allocations: 356.3 kB / 1.026 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/1.01, allocations: 4 kB / 1.026 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/1.01, allocations: 16 kB / 1.026 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002705/1.01, allocations: 144 kB / 1.027 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/1.01, allocations: 240.3 kB / 1.027 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/1.01, allocations: 0 / 1.027 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/1.01, allocations: 4 kB / 1.027 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/1.01, allocations: 4 kB / 1.027 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/1.012, allocations: 0.9278 MB / 1.028 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000424/1.012, allocations: 181.6 kB / 1.028 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/1.012, allocations: 79.3 kB / 1.028 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/1.012, allocations: 0 / 1.028 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/1.012, allocations: 41.69 kB / 1.028 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 9.92e-07/1.012, allocations: 4 kB / 1.028 GB, free: 8.742 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0003721/1.013, allocations: 171.8 kB / 1.028 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.279e-05/1.013, allocations: 158.2 kB / 1.028 GB, free: 8.418 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/1.013, allocations: 264.7 kB / 1.029 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/1.013, allocations: 29.7 kB / 1.029 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/1.013, allocations: 189.3 kB / 1.029 GB, free: 8.035 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.277e-05/1.013, allocations: 49.67 kB / 1.029 GB, free: 7.992 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.778e-06/1.013, allocations: 0 / 1.029 GB, free: 7.992 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1.013, allocations: 350.2 kB / 1.029 GB, free: 7.656 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.532e-05/1.013, allocations: 44.31 kB / 1.029 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/1.014, allocations: 97.41 kB / 1.029 GB, free: 7.555 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.352e-05/1.014, allocations: 46.75 kB / 1.029 GB, free: 7.531 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.014, allocations: 4 kB / 1.029 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002533/1.014, allocations: 176 kB / 1.03 GB, free: 7.395 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/1.014, allocations: 7.953 kB / 1.03 GB, free: 7.387 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/1.014, allocations: 4 kB / 1.03 GB, free: 7.383 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/1.014, allocations: 4 kB / 1.03 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/1.014, allocations: 43.95 kB / 1.03 GB, free: 7.336 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/1.014, allocations: 4 kB / 1.03 GB, free: 7.332 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/1.014, allocations: 39.81 kB / 1.03 GB, free: 7.293 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/1.014, allocations: 4 kB / 1.03 GB, free: 7.289 MB / 0.6511 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 () * 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 9.657e-05/1.015, allocations: 108.9 kB / 1.03 GB, free: 7.176 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002568/1.015, allocations: 165.7 kB / 1.03 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.308e-05/1.015, allocations: 35.58 kB / 1.03 GB, free: 7.016 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.663e-05/1.015, allocations: 35.72 kB / 1.03 GB, free: 6.988 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/1.015, allocations: 4 kB / 1.03 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.015, allocations: 4 kB / 1.03 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/1.015, allocations: 0 / 1.03 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/1.015, allocations: 342.1 kB / 1.03 GB, free: 6.684 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/1.015, allocations: 0 / 1.03 GB, free: 6.684 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/1.016, allocations: 43.91 kB / 1.03 GB, free: 6.641 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/1.016, allocations: 4 kB / 1.03 GB, free: 6.637 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/1.016, allocations: 7.938 kB / 1.03 GB, free: 6.629 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/1.016, allocations: 8 kB / 1.03 GB, free: 6.621 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.016, allocations: 0 / 1.03 GB, free: 6.621 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/1.016, allocations: 272.8 kB / 1.031 GB, free: 6.387 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/1.016, allocations: 129.3 kB / 1.031 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/1.016, allocations: 4 kB / 1.031 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/1.016, allocations: 35.92 kB / 1.031 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/1.016, allocations: 11.67 kB / 1.031 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/1.016, allocations: 4 kB / 1.031 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002036/1.017, allocations: 212.4 kB / 1.031 GB, free: 6.043 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/1.017, allocations: 0 / 1.031 GB, free: 6.043 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002737/1.017, allocations: 47.84 kB / 1.031 GB, free: 5.996 MB / 0.6511 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 () * 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.0005563/1.017, allocations: 0.8121 MB / 1.032 GB, free: 5.207 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002305/1.018, allocations: 128.2 kB / 1.032 GB, free: 5.129 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.018, allocations: 7.938 kB / 1.032 GB, free: 5.121 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.598e-05/1.018, allocations: 71.92 kB / 1.032 GB, free: 5.078 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004774/1.018, allocations: 80.67 kB / 1.032 GB, free: 5.012 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008022/1.019, allocations: 392.9 kB / 1.033 GB, free: 4.633 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/1.019, allocations: 0.7835 MB / 1.033 GB, free: 3.82 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001428/1.02, allocations: 34.06 kB / 1.033 GB, free: 3.785 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/1.02, allocations: 104.8 kB / 1.033 GB, free: 3.762 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/1.02, allocations: 0 / 1.033 GB, free: 3.762 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/1.043, allocations: 5.645 MB / 1.039 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/1.043, allocations: 187.6 kB / 1.039 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/3.002, allocations: 4 kB / 1.039 GB, free: 14 MB / 0.6667 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)