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.001409/0.001409, allocations: 101.1 kB / 16.35 MB, free: 6.348 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.001171/0.001171, allocations: 194.8 kB / 17.29 MB, free: 5.93 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.271/1.271, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.737/1.737, allocations: 292.3 MB / 0.5496 GB, free: 17.62 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.001457/0.001457, allocations: 70.25 kB / 0.6729 GB, free: 5.797 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1808, allocations: 114.5 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.3007/0.4815, allocations: 3.113 MB / 0.7878 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001921/0.4835, allocations: 1.139 MB / 0.7889 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002243/0.4837, allocations: 18.22 kB / 0.789 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002259/0.484, allocations: 95.45 kB / 0.789 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.4842, allocations: 102.3 kB / 0.7891 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005647/0.4848, allocations: 338.4 kB / 0.7895 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004411/0.4852, allocations: 0.6404 MB / 0.7901 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003076/0.4855, allocations: 246 kB / 0.7903 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.4857, allocations: 217.5 kB / 0.7905 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.4859, allocations: 219 kB / 0.7907 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.789e-05/0.486, allocations: 52.31 kB / 0.7908 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.991e-05/0.4861, allocations: 52.12 kB / 0.7908 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.186e-05/0.4862, allocations: 109.8 kB / 0.7909 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.4863, allocations: 241.6 kB / 0.7912 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003991/0.4867, allocations: 0.6795 MB / 0.7918 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4867, allocations: 3.938 kB / 0.7918 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4867, allocations: 2.344 kB / 0.7918 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.4867, allocations: 0 / 0.7918 GB, free: 46.3 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.001024/0.4877, allocations: 0.8181 MB / 0.7926 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.4878, allocations: 10.5 kB / 0.7927 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.203e-05/0.4879, allocations: 63.12 kB / 0.7927 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006331/0.4885, allocations: 0.5021 MB / 0.7932 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.4885, allocations: 27.44 kB / 0.7932 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.4886, allocations: 25.12 kB / 0.7933 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/0.4891, allocations: 374 kB / 0.7936 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.4892, allocations: 3.844 kB / 0.7936 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.4892, allocations: 9.812 kB / 0.7936 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.4892, allocations: 6.781 kB / 0.7936 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005177/0.4897, allocations: 252.6 kB / 0.7939 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.4909, allocations: 1.427 MB / 0.7953 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005965/0.4916, allocations: 264.9 kB / 0.7955 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.4918, allocations: 135.6 kB / 0.7957 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.4919, allocations: 11.31 kB / 0.7957 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.419e-05/0.4919, allocations: 34.41 kB / 0.7957 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=23): time 1.482e-06/0.4919, allocations: 0 / 0.7957 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.0007679/0.4927, allocations: 368.4 kB / 0.796 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.4927, allocations: 54.84 kB / 0.7961 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/0.493, allocations: 409.3 kB / 0.7965 GB, free: 44 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.4931, allocations: 33.02 kB / 0.7965 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.4932, allocations: 255.5 kB / 0.7968 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.869e-05/0.4932, allocations: 83.38 kB / 0.7968 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.981e-05/0.4933, allocations: 53.8 kB / 0.7969 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.048e-05/0.4934, allocations: 362.4 kB / 0.7972 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.4936, allocations: 91.66 kB / 0.7973 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.4938, allocations: 164.1 kB / 0.7975 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004495/0.4943, allocations: 267.6 kB / 0.7977 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4943, allocations: 0 / 0.7977 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005757/0.4949, allocations: 339 kB / 0.7981 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.4949, allocations: 6.75 kB / 0.7981 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.4949, allocations: 3.438 kB / 0.7981 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.4949, allocations: 7.406 kB / 0.7981 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.4952, allocations: 63.42 kB / 0.7981 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.4952, allocations: 8.844 kB / 0.7981 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.4954, allocations: 41.67 kB / 0.7982 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.4954, allocations: 15.56 kB / 0.7982 GB, free: 42.86 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.0001345/0.4956, allocations: 169.8 kB / 0.7984 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/0.4957, allocations: 40.03 kB / 0.7984 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.722e-05/0.4957, allocations: 46.31 kB / 0.7984 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.4958, allocations: 2.5 kB / 0.7984 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4958, allocations: 1.438 kB / 0.7985 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.4958, allocations: 9.672 kB / 0.7985 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000375/0.4962, allocations: 437.6 kB / 0.7989 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4962, allocations: 2.625 kB / 0.7989 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/0.4964, allocations: 44.78 kB / 0.7989 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.4964, allocations: 3.594 kB / 0.7989 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.4965, allocations: 9.984 kB / 0.7989 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4965, allocations: 0 / 0.7989 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4965, allocations: 0 / 0.7989 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007587/0.4972, allocations: 0.494 MB / 0.7994 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.4974, allocations: 141.9 kB / 0.7996 GB, free: 41.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/0.4974, allocations: 8.719 kB / 0.7996 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.4976, allocations: 21.3 kB / 0.7996 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.4977, allocations: 14.25 kB / 0.7996 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.4977, allocations: 10.69 kB / 0.7996 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002551/0.4979, allocations: 287 kB / 0.7999 GB, free: 41.78 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.498, allocations: 0.6875 kB / 0.7999 GB, free: 41.78 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003179/0.4983, allocations: 68.94 kB / 0.7999 GB, free: 41.76 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 8.205e-05/0.4984, allocations: 108.8 kB / 0.8 GB, free: 41.67 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005188/0.4989, allocations: 248.4 kB / 0.8003 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4989, allocations: 0 / 0.8003 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.4991, allocations: 118.2 kB / 0.8004 GB, free: 41.56 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006663/0.4998, allocations: 130.9 kB / 0.8005 GB, free: 41.53 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.5009, allocations: 0.7244 MB / 0.8012 GB, free: 41.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.5012, allocations: 0.8141 MB / 0.802 GB, free: 40.41 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001905/0.5014, allocations: 56.06 kB / 0.8021 GB, free: 40.39 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.098e-05/0.5015, allocations: 34.03 kB / 0.8021 GB, free: 40.39 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.5015, allocations: 3.938 kB / 0.8021 GB, free: 40.38 MB / 0.6544 GB Notification: Performance of Templates: time 0.008255/0.5097, allocations: 3.793 MB / 0.8058 GB, free: 40.21 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)