Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001362/0.001362, 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.0013/0.0013, allocations: 201.2 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.471/1.471, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.834/2.834, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 68.59 kB / 0.9114 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3853, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.00467/0.39, allocations: 3.146 MB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00222/0.3923, allocations: 1.071 MB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003289/0.3926, allocations: 23.88 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.3929, allocations: 63.45 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.3932, allocations: 83.36 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000707/0.3939, allocations: 310.5 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005858/0.3945, allocations: 0.5816 MB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003863/0.3949, allocations: 249.9 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.3951, allocations: 178.9 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.3954, allocations: 190.8 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.265e-05/0.3954, allocations: 20 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.867e-05/0.3955, allocations: 24 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.957e-05/0.3956, allocations: 75.5 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.3957, allocations: 206.7 kB / 1.074 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005465/0.3963, allocations: 0.6386 MB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3963, allocations: 0 / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3963, allocations: 0 / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.3963, allocations: 0 / 1.074 GB, free: 4.008 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.001252/0.3976, allocations: 0.8176 MB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3976, allocations: 12.03 kB / 1.075 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.3977, allocations: 60.19 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007336/0.3985, allocations: 0.4944 MB / 1.076 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.3985, allocations: 21.03 kB / 1.076 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.499e-05/0.3986, allocations: 28.38 kB / 1.076 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006403/0.3992, allocations: 379.1 kB / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3992, allocations: 0 / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.489e-05/0.3993, allocations: 12 kB / 1.076 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.3993, allocations: 8 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005739/0.3999, allocations: 254 kB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.4014, allocations: 1.432 MB / 1.078 GB, free: 324 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006812/0.4021, allocations: 276.5 kB / 1.078 GB, free: 40 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.4024, allocations: 136.9 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.4025, allocations: 3.906 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.4025, allocations: 34.56 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=23): time 1.222e-06/0.4025, allocations: 0 / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23): time 0.0008817/0.4034, allocations: 367.5 kB / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.4035, allocations: 55.41 kB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004366/0.4039, allocations: 409.9 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.4039, allocations: 33.7 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.4041, allocations: 264 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.718e-05/0.4042, allocations: 86.75 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.38e-05/0.4043, allocations: 53.97 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4045, allocations: 354.7 kB / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.4047, allocations: 96.5 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.405, allocations: 160.7 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005104/0.4055, allocations: 269.5 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4056, allocations: 4 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006437/0.4062, allocations: 339.6 kB / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.4062, allocations: 4 kB / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.4062, allocations: 8.25 kB / 1.08 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.4063, allocations: 4 kB / 1.08 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.4066, allocations: 63.89 kB / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.4066, allocations: 4 kB / 1.081 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.4068, allocations: 31.77 kB / 1.081 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.4068, allocations: 8 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.0002236/0.407, allocations: 169.8 kB / 1.081 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.486e-05/0.4071, allocations: 51.38 kB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.404e-05/0.4072, allocations: 51.97 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.4072, allocations: 0 / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.4072, allocations: 0 / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4072, allocations: 3.938 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006303/0.4079, allocations: 441.2 kB / 1.081 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4079, allocations: 4 kB / 1.081 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.4082, allocations: 43.97 kB / 1.081 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.4082, allocations: 0 / 1.081 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.4082, allocations: 19.92 kB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.4082, allocations: 0 / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4082, allocations: 0 / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008769/0.4091, allocations: 0.4985 MB / 1.082 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.4092, allocations: 140.5 kB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.57e-05/0.4093, allocations: 8 kB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.4095, allocations: 11.98 kB / 1.082 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.4096, allocations: 15.97 kB / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.4096, allocations: 11.94 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002966/0.4099, allocations: 287.1 kB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4099, allocations: 3.938 kB / 1.082 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000318/0.4102, allocations: 71.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.0001335/0.4103, allocations: 107.2 kB / 1.082 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005634/0.4109, allocations: 246.5 kB / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4109, allocations: 0.5 kB / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002473/0.4112, allocations: 119.9 kB / 1.083 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007129/0.4119, allocations: 121 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.001352/0.4133, allocations: 0.8883 MB / 1.084 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.4137, allocations: 0.8271 MB / 1.085 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002071/0.4139, allocations: 51.27 kB / 1.085 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.525e-05/0.414, allocations: 27.44 kB / 1.085 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.414, allocations: 0 / 1.085 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of Templates: time 0.008205/0.4222, allocations: 3.577 MB / 1.088 GB, free: 5.336 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (rm -f Buildings_1.6_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_1.6_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_1.6_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_1.6_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)