Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.773/1.773, allocations: 287.5 MB / 302.6 MB, free: 8.297 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.001008/0.001008, allocations: 190.5 kB / 371.2 MB, free: 10.72 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.651/1.651, allocations: 205.4 MB / 0.6298 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008457/0.000846, allocations: 100.8 kB / 0.7432 GB, free: 6.492 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004164/0.0004164, allocations: 10.31 kB / 0.8661 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.258, allocations: 115.3 MB / 0.9787 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.002785/0.2608, allocations: 2.624 MB / 0.9813 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.2624, allocations: 1.073 MB / 0.9823 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002415/0.2627, allocations: 19.88 kB / 0.9823 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001952/0.2629, allocations: 59.44 kB / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.2631, allocations: 79.3 kB / 0.9825 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005424/0.2636, allocations: 233.8 kB / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004198/0.264, allocations: 0.5505 MB / 0.9832 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002934/0.2643, allocations: 242.1 kB / 0.9834 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.2645, allocations: 151.1 kB / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.2647, allocations: 151 kB / 0.9837 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.245e-05/0.2647, allocations: 12 kB / 0.9837 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.527e-05/0.2648, allocations: 8 kB / 0.9838 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.795e-05/0.2648, allocations: 59.64 kB / 0.9838 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.728e-05/0.2649, allocations: 105.5 kB / 0.9839 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003529/0.2652, allocations: 0.5181 MB / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2653, allocations: 0 / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2653, allocations: 0 / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.2653, allocations: 0 / 0.9844 GB, free: 22.25 MB / 0.6198 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.001047/0.2663, allocations: 0.7538 MB / 0.9852 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.2664, allocations: 12.03 kB / 0.9852 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.935e-05/0.2665, allocations: 56.28 kB / 0.9852 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006879/0.2672, allocations: 0.4944 MB / 0.9857 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.2672, allocations: 25.02 kB / 0.9857 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.2673, allocations: 32.38 kB / 0.9858 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005909/0.2679, allocations: 375.1 kB / 0.9861 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.2679, allocations: 4 kB / 0.9861 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.2679, allocations: 16 kB / 0.9861 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.268, allocations: 8 kB / 0.9861 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005481/0.2685, allocations: 266 kB / 0.9864 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.27, allocations: 1.429 MB / 0.9878 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006344/0.2706, allocations: 282.8 kB / 0.9881 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002659/0.2709, allocations: 147.3 kB / 0.9882 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.382e-05/0.2709, allocations: 4 kB / 0.9882 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.271, allocations: 34.56 kB / 0.9882 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 1.583e-06/0.271, allocations: 0 / 0.9882 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.000812/0.2718, allocations: 380.7 kB / 0.9886 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.2718, allocations: 55.41 kB / 0.9887 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003789/0.2722, allocations: 421.8 kB / 0.9891 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.2722, allocations: 29.7 kB / 0.9891 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.2724, allocations: 256.1 kB / 0.9893 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.854e-05/0.2725, allocations: 78.86 kB / 0.9894 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.219e-05/0.2725, allocations: 4 kB / 0.9894 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.228e-05/0.2726, allocations: 358.7 kB / 0.9897 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.2728, allocations: 104.5 kB / 0.9898 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/0.2731, allocations: 160.7 kB / 0.99 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004677/0.2736, allocations: 284.8 kB / 0.9903 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2736, allocations: 0 / 0.9903 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005776/0.2741, allocations: 357 kB / 0.9906 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.2742, allocations: 4 kB / 0.9906 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.2742, allocations: 7.938 kB / 0.9906 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.2742, allocations: 4 kB / 0.9906 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.2745, allocations: 67.89 kB / 0.9907 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.2745, allocations: 4 kB / 0.9907 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.2747, allocations: 35.73 kB / 0.9907 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.2747, allocations: 15.98 kB / 0.9907 GB, free: 15.45 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (33): * Single equations (assignments): 33 * 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.0001798/0.2749, allocations: 173.8 kB / 0.9909 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/0.275, allocations: 47.47 kB / 0.991 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.911e-05/0.2751, allocations: 47.97 kB / 0.991 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.2751, allocations: 0 / 0.991 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.2751, allocations: 0 / 0.991 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.2751, allocations: 3.938 kB / 0.991 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003927/0.2755, allocations: 441.2 kB / 0.9914 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2755, allocations: 4 kB / 0.9914 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/0.2758, allocations: 47.97 kB / 0.9915 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2758, allocations: 3.938 kB / 0.9915 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.2758, allocations: 11.98 kB / 0.9915 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2758, allocations: 0 / 0.9915 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2758, allocations: 0 / 0.9915 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008067/0.2766, allocations: 0.5227 MB / 0.992 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.2768, allocations: 140.5 kB / 0.9921 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.2768, allocations: 4 kB / 0.9921 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.277, allocations: 19.98 kB / 0.9922 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.031e-05/0.2771, allocations: 11.97 kB / 0.9922 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.2771, allocations: 15.94 kB / 0.9922 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002441/0.2774, allocations: 283.1 kB / 0.9925 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2774, allocations: 4.062 kB / 0.9925 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002808/0.2777, allocations: 71.69 kB / 0.9925 GB, free: 13.53 MB / 0.6198 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.0001186/0.2778, allocations: 103.2 kB / 0.9926 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005416/0.2783, allocations: 255.9 kB / 0.9929 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2783, allocations: 0 / 0.9929 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.2786, allocations: 124.1 kB / 0.993 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006434/0.2792, allocations: 105.9 kB / 0.9931 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.2804, allocations: 0.8677 MB / 0.9939 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.2806, allocations: 0.823 MB / 0.9947 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002073/0.2809, allocations: 51.25 kB / 0.9948 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.762e-05/0.281, allocations: 31.42 kB / 0.9948 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.281, allocations: 0 / 0.9948 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of Templates: time 0.00676/0.2877, allocations: 3.444 MB / 0.9982 GB, free: 7.746 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (rm -f Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)