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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 99.08 kB / 16.27 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 190.1 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.767/1.767, allocations: 292.3 MB / 0.5495 GB, free: 17.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 63.91 kB / 0.6722 GB, free: 6.383 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2656, allocations: 114.5 MB / 0.784 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.00532/0.271, allocations: 3.124 MB / 0.7871 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4632/0.7343, allocations: 1.137 MB / 0.7882 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004265/0.7348, allocations: 17.94 kB / 0.7882 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.7351, allocations: 89.52 kB / 0.7883 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.7354, allocations: 106.7 kB / 0.7884 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007396/0.7361, allocations: 329.6 kB / 0.7887 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005241/0.7366, allocations: 0.6365 MB / 0.7893 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003746/0.737, allocations: 255.4 kB / 0.7896 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002299/0.7373, allocations: 223.3 kB / 0.7898 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.7375, allocations: 210 kB / 0.79 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.7376, allocations: 55 kB / 0.7901 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.822e-05/0.7376, allocations: 53.75 kB / 0.7901 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.668e-05/0.7377, allocations: 103.7 kB / 0.7902 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.7379, allocations: 241.7 kB / 0.7904 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004754/0.7383, allocations: 0.6645 MB / 0.7911 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.7384, allocations: 2.031 kB / 0.7911 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7384, allocations: 0 / 0.7911 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.7384, allocations: 0 / 0.7911 GB, free: 45.55 MB / 0.6544 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.00114/0.7395, allocations: 0.8156 MB / 0.7919 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.7396, allocations: 9.75 kB / 0.7919 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.451e-05/0.7397, allocations: 58.44 kB / 0.7919 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006727/0.7403, allocations: 0.4958 MB / 0.7924 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.7404, allocations: 27.36 kB / 0.7925 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.244e-05/0.7404, allocations: 30.91 kB / 0.7925 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005529/0.741, allocations: 367.1 kB / 0.7928 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.741, allocations: 3.938 kB / 0.7928 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/0.7411, allocations: 18.34 kB / 0.7929 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.7411, allocations: 9.094 kB / 0.7929 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000528/0.7416, allocations: 253.8 kB / 0.7931 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.743, allocations: 1.439 MB / 0.7945 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006171/0.7436, allocations: 262.5 kB / 0.7948 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.7438, allocations: 138.7 kB / 0.7949 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.7439, allocations: 3.469 kB / 0.7949 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.7439, allocations: 42.28 kB / 0.7949 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=23): time 1.363e-06/0.7439, allocations: 0 / 0.7949 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.000781/0.7447, allocations: 360.1 kB / 0.7953 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.7447, allocations: 56.05 kB / 0.7953 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003667/0.7451, allocations: 411.5 kB / 0.7957 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.7451, allocations: 33.33 kB / 0.7958 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.7453, allocations: 259.9 kB / 0.796 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.727e-05/0.7453, allocations: 81.77 kB / 0.7961 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.62e-05/0.7454, allocations: 57.2 kB / 0.7961 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.471e-05/0.7455, allocations: 362.4 kB / 0.7965 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.7457, allocations: 94.56 kB / 0.7966 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.746, allocations: 153.3 kB / 0.7967 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004428/0.7464, allocations: 279.3 kB / 0.797 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.7464, allocations: 0 / 0.797 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005554/0.747, allocations: 337.8 kB / 0.7973 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.747, allocations: 10.09 kB / 0.7973 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.747, allocations: 0.9375 kB / 0.7973 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.747, allocations: 3.5 kB / 0.7973 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.7473, allocations: 64.19 kB / 0.7974 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.7473, allocations: 7.594 kB / 0.7974 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.7475, allocations: 37.36 kB / 0.7974 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.7475, allocations: 14.22 kB / 0.7974 GB, free: 42.43 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.7477, allocations: 174 kB / 0.7976 GB, free: 42.28 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.7477, allocations: 45.75 kB / 0.7977 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.218e-05/0.7478, allocations: 47.22 kB / 0.7977 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.7478, allocations: 1.562 kB / 0.7977 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.7479, allocations: 3.375 kB / 0.7977 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.7479, allocations: 0.6562 kB / 0.7977 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/0.7483, allocations: 447.7 kB / 0.7981 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.7483, allocations: 2.766 kB / 0.7981 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.7485, allocations: 41.86 kB / 0.7982 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.7486, allocations: 6.438 kB / 0.7982 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.7486, allocations: 6.812 kB / 0.7982 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.7486, allocations: 2.656 kB / 0.7982 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7486, allocations: 1.125 kB / 0.7982 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008117/0.7494, allocations: 0.4955 MB / 0.7987 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.7495, allocations: 141.8 kB / 0.7988 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.7496, allocations: 7.969 kB / 0.7988 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.7498, allocations: 14.58 kB / 0.7988 GB, free: 41.49 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/0.7498, allocations: 16.38 kB / 0.7988 GB, free: 41.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.7499, allocations: 11.03 kB / 0.7989 GB, free: 41.48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000255/0.7501, allocations: 290.6 kB / 0.7991 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7501, allocations: 0 / 0.7991 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003042/0.7504, allocations: 67.69 kB / 0.7992 GB, free: 41.32 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001029/0.7505, allocations: 106.5 kB / 0.7993 GB, free: 41.23 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005741/0.7511, allocations: 260.9 kB / 0.7995 GB, free: 41.15 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7511, allocations: 1.125 kB / 0.7995 GB, free: 41.15 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.7514, allocations: 116.2 kB / 0.7997 GB, free: 41.12 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007176/0.7521, allocations: 119 kB / 0.7998 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.7533, allocations: 0.763 MB / 0.8005 GB, free: 40.62 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.7536, allocations: 0.82 MB / 0.8013 GB, free: 39.92 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.7537, allocations: 38.36 kB / 0.8014 GB, free: 39.91 MB / 0.6544 GB Notification: Performance of SimCode: time 6.01e-07/0.7537, allocations: 1.438 kB / 0.8014 GB, free: 39.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.01225/0.766, allocations: 5.338 MB / 0.8066 GB, free: 39.45 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (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 & ./Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)