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.001188/0.001188, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001285/0.001285, allocations: 193.4 kB / 16.14 MB, free: 6.66 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.503/1.503, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.083/3.083, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 65.62 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3794, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004776/0.3842, allocations: 3.14 MB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002137/0.3864, allocations: 1.075 MB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002836/0.3867, allocations: 23.88 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002974/0.387, allocations: 63.44 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.3872, allocations: 87.3 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007047/0.3879, allocations: 314.5 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005806/0.3885, allocations: 0.5778 MB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003906/0.3889, allocations: 253.8 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002352/0.3892, allocations: 178.9 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.3894, allocations: 186.8 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.2e-05/0.3895, allocations: 20 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.949e-05/0.3895, allocations: 20 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.54e-05/0.3896, allocations: 79.5 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.3898, allocations: 202.7 kB / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005429/0.3903, allocations: 0.6386 MB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3904, allocations: 0 / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.32e-07/0.3904, allocations: 4 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.3904, allocations: 0 / 1.074 GB, free: 4.012 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.001348/0.3917, allocations: 0.8137 MB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.3918, allocations: 12.03 kB / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.3919, allocations: 60.19 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007687/0.3927, allocations: 0.4944 MB / 1.076 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.3927, allocations: 21.03 kB / 1.076 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.804e-05/0.3928, allocations: 32.38 kB / 1.076 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006532/0.3934, allocations: 371.1 kB / 1.076 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.3935, allocations: 3.984 kB / 1.076 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.568e-05/0.3935, allocations: 16 kB / 1.076 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.3935, allocations: 7.938 kB / 1.076 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005766/0.3941, allocations: 258 kB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.3957, allocations: 1.432 MB / 1.078 GB, free: 324 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006963/0.3964, allocations: 266.9 kB / 1.078 GB, free: 48 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.3967, allocations: 138.2 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.3968, allocations: 0 / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.3968, allocations: 38.56 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=23): time 1.322e-06/0.3968, allocations: 0 / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23): time 0.0009219/0.3978, allocations: 367.4 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.3978, allocations: 55.41 kB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004585/0.3983, allocations: 410 kB / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.3983, allocations: 37.64 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.3985, allocations: 260 kB / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.977e-05/0.3986, allocations: 86.75 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.089e-05/0.3987, allocations: 45.98 kB / 1.079 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3989, allocations: 366.7 kB / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.3991, allocations: 92.52 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.3994, allocations: 164.7 kB / 1.08 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005247/0.4, allocations: 273.4 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.4, allocations: 0 / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006457/0.4006, allocations: 339.6 kB / 1.08 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.4007, allocations: 7.984 kB / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4007, allocations: 4 kB / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.4007, allocations: 4 kB / 1.08 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.401, allocations: 55.91 kB / 1.08 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-05/0.401, allocations: 11.92 kB / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.4012, allocations: 32.03 kB / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.4013, allocations: 15.98 kB / 1.081 GB, free: 13.18 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.000189/0.4015, allocations: 169.8 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-05/0.4015, allocations: 43.44 kB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.613e-05/0.4016, allocations: 47.97 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.4017, allocations: 4 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.4017, allocations: 0 / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.4017, allocations: 3.938 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004538/0.4021, allocations: 437.2 kB / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4021, allocations: 0 / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.4024, allocations: 51.95 kB / 1.081 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4024, allocations: 0 / 1.081 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.4025, allocations: 12 kB / 1.081 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.4025, allocations: 0 / 1.081 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.4025, allocations: 7.922 kB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008993/0.4034, allocations: 0.5024 MB / 1.082 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.4035, allocations: 140.5 kB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.729e-05/0.4036, allocations: 8 kB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.4038, allocations: 7.984 kB / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.4038, allocations: 24.03 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.4039, allocations: 7.938 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002858/0.4042, allocations: 295.1 kB / 1.082 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4042, allocations: 0 / 1.082 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003277/0.4045, allocations: 67.75 kB / 1.082 GB, free: 11.28 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.000118/0.4046, allocations: 103.2 kB / 1.082 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006016/0.4052, allocations: 250.5 kB / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4052, allocations: 0 / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.4055, allocations: 111.9 kB / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007532/0.4063, allocations: 127.5 kB / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.4076, allocations: 0.8913 MB / 1.084 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.408, allocations: 0.8233 MB / 1.085 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002115/0.4082, allocations: 51.25 kB / 1.085 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.721e-05/0.4083, allocations: 31.42 kB / 1.085 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of SimCode: time 3.81e-07/0.4083, allocations: 0 / 1.085 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of Templates: time 0.009194/0.4175, allocations: 3.572 MB / 1.088 GB, free: 5.363 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)