Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.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_3.0.0_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.001175/0.001175, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002105/0.002105, allocations: 192.2 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3/3, allocations: 472.6 MB / 0.7448 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 69.33 kB / 0.9116 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4199, allocations: 159.9 MB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004855/0.4249, allocations: 3.137 MB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001961/0.4269, allocations: 1.075 MB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002562/0.4271, allocations: 19.88 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.4274, allocations: 71.38 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002129/0.4277, allocations: 79.39 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007148/0.4284, allocations: 319.2 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006385/0.429, allocations: 0.6324 MB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003984/0.4294, allocations: 245.9 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.4297, allocations: 230.9 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.43, allocations: 206.8 kB / 1.074 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.893e-05/0.4301, allocations: 52 kB / 1.074 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.468e-05/0.4301, allocations: 52 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.487e-05/0.4302, allocations: 115.5 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.4304, allocations: 238.6 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006954/0.4311, allocations: 0.666 MB / 1.075 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4312, allocations: 0 / 1.075 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4312, allocations: 0 / 1.075 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.4312, allocations: 0 / 1.075 GB, free: 3.574 MB / 0.8262 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.001362/0.4326, allocations: 0.8137 MB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.4326, allocations: 12.03 kB / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.4327, allocations: 56.19 kB / 1.076 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008169/0.4335, allocations: 0.4983 MB / 1.076 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.4336, allocations: 25.03 kB / 1.076 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.441e-05/0.4337, allocations: 28.38 kB / 1.076 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006567/0.4343, allocations: 379 kB / 1.076 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.4344, allocations: 4 kB / 1.076 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.4344, allocations: 12 kB / 1.076 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.4344, allocations: 8 kB / 1.076 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005738/0.435, allocations: 250 kB / 1.077 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.4367, allocations: 1.444 MB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000714/0.4375, allocations: 278.8 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.4378, allocations: 136.8 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/0.4378, allocations: 0 / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.4379, allocations: 34.56 kB / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=23): time 1.162e-06/0.4379, allocations: 0 / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23): time 0.0009055/0.4388, allocations: 367.4 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.4388, allocations: 55.41 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004682/0.4393, allocations: 410 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.4393, allocations: 29.7 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.4396, allocations: 264.1 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.637e-05/0.4396, allocations: 86.73 kB / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.4397, allocations: 53.98 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.4399, allocations: 358.7 kB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.4402, allocations: 92.52 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.4404, allocations: 168.7 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005224/0.441, allocations: 261.5 kB / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.441, allocations: 7.984 kB / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006262/0.4416, allocations: 339.6 kB / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.4416, allocations: 5.406 kB / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.4417, allocations: 4 kB / 1.081 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.4417, allocations: 8.25 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.442, allocations: 63.89 kB / 1.081 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.442, allocations: 4 kB / 1.081 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.4422, allocations: 31.77 kB / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.4422, allocations: 11.98 kB / 1.081 GB, free: 12.73 MB / 0.8419 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.0001985/0.4424, allocations: 169.8 kB / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-05/0.4425, allocations: 43.44 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.72e-05/0.4426, allocations: 51.92 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.4426, allocations: 4 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.4426, allocations: 0 / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.4427, allocations: 7.922 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004953/0.4432, allocations: 433.2 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4432, allocations: 0 / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.4434, allocations: 51.89 kB / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.4434, allocations: 0 / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.4435, allocations: 8 kB / 1.082 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4435, allocations: 7.938 kB / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4435, allocations: 0 / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008753/0.4444, allocations: 0.4974 MB / 1.082 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.4445, allocations: 144.5 kB / 1.082 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.999e-05/0.4446, allocations: 12 kB / 1.082 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.4448, allocations: 11.98 kB / 1.082 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.554e-05/0.4448, allocations: 11.98 kB / 1.082 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.4449, allocations: 15.92 kB / 1.082 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000335/0.4452, allocations: 287.1 kB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4452, allocations: 0 / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003258/0.4456, allocations: 67.75 kB / 1.083 GB, free: 10.84 MB / 0.8419 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.0001256/0.4457, allocations: 111.2 kB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006246/0.4463, allocations: 255.6 kB / 1.083 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4463, allocations: 0.5 kB / 1.083 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002564/0.4466, allocations: 115.9 kB / 1.083 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007742/0.4474, allocations: 128.5 kB / 1.083 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.4488, allocations: 0.8941 MB / 1.084 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.4492, allocations: 0.8194 MB / 1.085 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002176/0.4494, allocations: 51.27 kB / 1.085 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.669e-05/0.4495, allocations: 35.42 kB / 1.085 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.4495, allocations: 0 / 1.085 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of Templates: time 0.008351/0.4579, allocations: 3.716 MB / 1.089 GB, free: 4.762 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (rm -f Buildings_3.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_3.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_3.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_3.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)