Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00811/0.00811, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.55/1.55, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.183/3.183, allocations: 473.4 MB / 0.7469 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003482, allocations: 11.33 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3894, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001122/0.3906, allocations: 467.6 kB / 1.075 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001785/0.3924, allocations: 1.283 MB / 1.076 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.809e-05/0.3925, allocations: 4 kB / 1.076 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.632e-05/0.3925, allocations: 3.938 kB / 1.076 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.262e-05/0.3926, allocations: 7.922 kB / 1.076 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006457/0.3932, allocations: 234.4 kB / 1.076 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.3935, allocations: 223.5 kB / 1.076 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.3936, allocations: 20.2 kB / 1.076 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.3937, allocations: 87.86 kB / 1.076 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.3939, allocations: 75.77 kB / 1.076 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.3939, allocations: 15.94 kB / 1.076 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.579e-05/0.394, allocations: 39.91 kB / 1.077 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.837e-05/0.3941, allocations: 23.91 kB / 1.077 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.3942, allocations: 109.4 kB / 1.077 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.3945, allocations: 211.6 kB / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.3945, allocations: 4 kB / 1.077 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3945, allocations: 0 / 1.077 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.3945, allocations: 0 / 1.077 GB, free: 4.727 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007258/0.3953, allocations: 462.6 kB / 1.077 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3953, allocations: 8.031 kB / 1.077 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.718e-05/0.3954, allocations: 16.84 kB / 1.077 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006333/0.396, allocations: 264.3 kB / 1.078 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/0.3961, allocations: 12.38 kB / 1.078 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.851e-05/0.3961, allocations: 24.36 kB / 1.078 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.3964, allocations: 139.8 kB / 1.078 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3964, allocations: 3.938 kB / 1.078 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.3964, allocations: 7.984 kB / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.3964, allocations: 0 / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.3966, allocations: 59.95 kB / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008663/0.3974, allocations: 0.524 MB / 1.078 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.3977, allocations: 157.2 kB / 1.078 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.3978, allocations: 65.69 kB / 1.079 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.3978, allocations: 0 / 1.079 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003718/0.3982, allocations: 214.6 kB / 1.079 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.342e-06/0.3982, allocations: 0 / 1.079 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0005654/0.3988, allocations: 308.8 kB / 1.079 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.3989, allocations: 89.03 kB / 1.079 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.961e-05/0.399, allocations: 141.9 kB / 1.079 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.399, allocations: 37.7 kB / 1.079 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.3991, allocations: 96.7 kB / 1.079 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.3991, allocations: 47.41 kB / 1.079 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.822e-05/0.3992, allocations: 41.69 kB / 1.079 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3993, allocations: 323.2 kB / 1.08 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.3995, allocations: 84.23 kB / 1.08 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.3997, allocations: 160.1 kB / 1.08 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.4, allocations: 250.9 kB / 1.08 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4, allocations: 0 / 1.08 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005457/0.4006, allocations: 359.5 kB / 1.081 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.672e-05/0.4006, allocations: 64.64 kB / 1.081 GB, free: 488 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.4007, allocations: 4.219 kB / 1.081 GB, free: 484 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.4007, allocations: 8 kB / 1.081 GB, free: 476 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.975e-05/0.4008, allocations: 19.94 kB / 1.081 GB, free: 456 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.4008, allocations: 11.88 kB / 1.081 GB, free: 444 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003826/0.4012, allocations: 91.77 kB / 1.081 GB, free: 352 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.4012, allocations: 15.98 kB / 1.081 GB, free: 336 kB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.000135/0.4014, allocations: 144 kB / 1.081 GB, free: 184 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.4014, allocations: 15.89 kB / 1.081 GB, free: 168 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.997e-05/0.4014, allocations: 16.5 kB / 1.081 GB, free: 152 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.4014, allocations: 4 kB / 1.081 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4015, allocations: 3.938 kB / 1.081 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.4015, allocations: 0 / 1.081 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006123/0.4021, allocations: 0.6148 MB / 1.082 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4021, allocations: 0 / 1.082 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.302e-05/0.4021, allocations: 11.94 kB / 1.082 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4022, allocations: 7.938 kB / 1.082 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.4022, allocations: 11.98 kB / 1.082 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.4022, allocations: 96 / 1.082 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4022, allocations: 7.938 kB / 1.082 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004116/0.4026, allocations: 417.3 kB / 1.082 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.4027, allocations: 92.86 kB / 1.082 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/0.4027, allocations: 15.92 kB / 1.082 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.4029, allocations: 23.97 kB / 1.082 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.4029, allocations: 15.97 kB / 1.082 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.403, allocations: 15.98 kB / 1.082 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.182e-05/0.403, allocations: 99.27 kB / 1.082 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.363e-06/0.403, allocations: 0 / 1.082 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003434/0.4034, allocations: 55.94 kB / 1.082 GB, free: 14.68 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001848/0.4036, allocations: 121.2 kB / 1.082 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004861/0.404, allocations: 346.5 kB / 1.083 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4041, allocations: 0 / 1.083 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.4042, allocations: 119.9 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.4046, allocations: 23.92 kB / 1.083 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005305/0.4052, allocations: 312.4 kB / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.4054, allocations: 0.7089 MB / 1.084 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.446e-05/0.4055, allocations: 17.55 kB / 1.084 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.4056, allocations: 15.44 kB / 1.084 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of SimCode: time 1.723e-06/0.4056, allocations: 0 / 1.084 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of Templates: time 0.005696/0.4113, allocations: 2.469 MB / 1.086 GB, free: 10.49 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)