Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009615/0.0009616, 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.0009347/0.0009347, allocations: 193.8 kB / 16.13 MB, free: 6.652 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.184/1.184, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.323/1.323, allocations: 251.7 MB / 0.5088 GB, free: 3.301 MB / 414.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.001164/0.001164, allocations: 63.91 kB / 0.6216 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3863, allocations: 104.7 MB / 0.7238 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.00358/0.3899, allocations: 3.012 MB / 0.7267 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.3915, allocations: 1.154 MB / 0.7279 GB, free: 8.918 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002058/0.3917, allocations: 15.94 kB / 0.7279 GB, free: 8.902 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.3919, allocations: 51.52 kB / 0.7279 GB, free: 8.852 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.3921, allocations: 63.52 kB / 0.728 GB, free: 8.789 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006047/0.3927, allocations: 314.8 kB / 0.7283 GB, free: 8.484 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005203/0.3932, allocations: 0.6443 MB / 0.7289 GB, free: 7.84 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004604/0.3937, allocations: 445.5 kB / 0.7293 GB, free: 7.406 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.3939, allocations: 199.1 kB / 0.7295 GB, free: 7.211 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.3941, allocations: 234.7 kB / 0.7298 GB, free: 6.98 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.883e-05/0.3942, allocations: 32 kB / 0.7298 GB, free: 6.949 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.637e-05/0.3943, allocations: 36 kB / 0.7298 GB, free: 6.914 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.969e-05/0.3943, allocations: 107.5 kB / 0.7299 GB, free: 6.809 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.3945, allocations: 230.7 kB / 0.7301 GB, free: 6.582 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004775/0.395, allocations: 0.6775 MB / 0.7308 GB, free: 5.902 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.395, allocations: 0 / 0.7308 GB, free: 5.902 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.41e-07/0.395, allocations: 0 / 0.7308 GB, free: 5.902 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.395, allocations: 0 / 0.7308 GB, free: 5.902 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001407/0.3964, allocations: 0.8703 MB / 0.7317 GB, free: 4.973 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.3965, allocations: 12.03 kB / 0.7317 GB, free: 4.961 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.974e-05/0.3966, allocations: 60.28 kB / 0.7317 GB, free: 4.902 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005874/0.3972, allocations: 440.5 kB / 0.7321 GB, free: 4.434 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.3972, allocations: 41.36 kB / 0.7322 GB, free: 4.395 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-05/0.3973, allocations: 52.38 kB / 0.7322 GB, free: 4.344 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008697/0.3982, allocations: 0.5355 MB / 0.7328 GB, free: 3.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3982, allocations: 0 / 0.7328 GB, free: 3.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.341e-05/0.3982, allocations: 23.98 kB / 0.7328 GB, free: 3.746 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.3983, allocations: 8 kB / 0.7328 GB, free: 3.738 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008511/0.3991, allocations: 399.6 kB / 0.7332 GB, free: 3.352 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001895/0.401, allocations: 1.852 MB / 0.735 GB, free: 1.418 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008275/0.4019, allocations: 341.4 kB / 0.7353 GB, free: 1.078 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000354/0.4022, allocations: 172.8 kB / 0.7355 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.4023, allocations: 7.938 kB / 0.7355 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005201/0.4028, allocations: 217.4 kB / 0.7357 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.893e-06/0.4028, allocations: 0 / 0.7357 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of matching and sorting (n=34): time 0.001078/0.4039, allocations: 473.6 kB / 0.7361 GB, free: 212 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.4039, allocations: 59.39 kB / 0.7362 GB, free: 140 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003629/0.4043, allocations: 401.4 kB / 0.7366 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.124e-05/0.4044, allocations: 49.69 kB / 0.7366 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.4045, allocations: 260.1 kB / 0.7369 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.021e-05/0.4046, allocations: 90.75 kB / 0.737 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.4047, allocations: 110.1 kB / 0.7371 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4049, allocations: 354.8 kB / 0.7374 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003779/0.4052, allocations: 149 kB / 0.7375 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004225/0.4057, allocations: 261.9 kB / 0.7378 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007004/0.4064, allocations: 407.4 kB / 0.7382 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4064, allocations: 4 kB / 0.7382 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009354/0.4073, allocations: 0.5223 MB / 0.7387 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.4074, allocations: 29.7 kB / 0.7387 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/0.4074, allocations: 4 kB / 0.7387 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.4074, allocations: 11.94 kB / 0.7387 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.4077, allocations: 75.81 kB / 0.7388 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.4077, allocations: 4 kB / 0.7388 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.408, allocations: 75.67 kB / 0.7389 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.4081, allocations: 20 kB / 0.7389 GB, free: 13.21 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.preHeatCoil.toOn.enableFire,$PRE.preHeatCoil.toOff.enableFire,preHeatCoil.stateGraphRoot.resume,preHeatCoil.stateGraphRoot.suspend,preHeatCoil.toOff.t_start,$PRE.preHeatCoil.toOff.t_start,preHeatCoil.toOff.fire,preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.active,preHeatCoil.pumOn.oldActive,$PRE.preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.newActive,$PRE.preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.localActive,$PRE.preHeatCoil.pumOn.localActive,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.toOn.enableFire,preHeatCoil.pumOff.oldActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.active,preHeatCoil.preHeaOn.y,$PRE.preHeatCoil.preHeaOn.y,TMix.count,$PRE.TMix.count,TMix.T_start,$PRE.TMix.T_start,$whenCondition1,$whenCondition2,preHeatCoil.preHeaCoiCon.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * 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.0001942/0.4083, allocations: 205.7 kB / 0.7391 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.4084, allocations: 47.38 kB / 0.7391 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000827/0.4092, allocations: 381.6 kB / 0.7395 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.4092, allocations: 4 kB / 0.7395 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4092, allocations: 4 kB / 0.7395 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4092, allocations: 0 / 0.7395 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.4105, allocations: 0.9599 MB / 0.7405 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4106, allocations: 4 kB / 0.7405 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.4108, allocations: 43.95 kB / 0.7405 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.4108, allocations: 0 / 0.7405 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.4108, allocations: 15.98 kB / 0.7405 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4109, allocations: 3.969 kB / 0.7405 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4109, allocations: 4 kB / 0.7405 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.412, allocations: 0.6243 MB / 0.7411 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.4121, allocations: 148.6 kB / 0.7413 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.961e-05/0.4122, allocations: 8 kB / 0.7413 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/0.4125, allocations: 35.95 kB / 0.7413 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.4126, allocations: 43.89 kB / 0.7414 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.4126, allocations: 11.98 kB / 0.7414 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002475/0.4129, allocations: 271.2 kB / 0.7416 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4129, allocations: 0 / 0.7416 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003569/0.4132, allocations: 95.67 kB / 0.7417 GB, free: 10.21 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (preHeatCoil.preHeaCoiCon.I.y) * Number of discrete variables: 20 (preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.localActive,preHeatCoil.pumOff.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,TMix.T_start,TMix.count,preHeatCoil.preHeaOn.y,preHeatCoil.pumOff.active,preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.oldActive,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.fire,preHeatCoil.toOff.t_start) * Number of discrete states: 4 (TMix.count,preHeatCoil.pumOff.newActive,preHeatCoil.pumOn.newActive,preHeatCoil.preHeaOn.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001458/0.4134, allocations: 125.4 kB / 0.7418 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008142/0.4142, allocations: 434.9 kB / 0.7423 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4142, allocations: 0 / 0.7423 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003777/0.4146, allocations: 173.2 kB / 0.7424 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/0.4151, allocations: 94.45 kB / 0.7425 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.4163, allocations: 0.9094 MB / 0.7434 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.4166, allocations: 0.8274 MB / 0.7442 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001833/0.4168, allocations: 51.45 kB / 0.7443 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.4169, allocations: 35.42 kB / 0.7443 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of SimCode: time 2e-07/0.4169, allocations: 0 / 0.7443 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.007423/0.4244, allocations: 4.594 MB / 0.7488 GB, free: 2.949 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1)