Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007407/0.0007407, allocations: 72.45 kB / 19.9 MB, free: 16 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007507/0.0007507, allocations: 165.9 kB / 23.18 MB, free: 1.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8744/0.8744, allocations: 177.2 MB / 203.6 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7089/0.7089, allocations: 155 MB / 415 MB, free: 488 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008893/0.0008893, allocations: 71.89 kB / 0.6199 GB, free: 12.75 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4549/0.4558, allocations: 102 MB / 0.7195 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001307/0.4571, allocations: 0.7076 MB / 0.7202 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.4582, allocations: 1.285 MB / 0.7214 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.269e-05/0.4582, allocations: 1.031 kB / 0.7214 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.144e-05/0.4583, allocations: 10.05 kB / 0.7214 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.366e-05/0.4583, allocations: 16.19 kB / 0.7215 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005219/0.4589, allocations: 253.7 kB / 0.7217 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.4591, allocations: 258.2 kB / 0.7219 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.4592, allocations: 12.2 kB / 0.722 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.4594, allocations: 149.3 kB / 0.7221 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.4595, allocations: 81.44 kB / 0.7222 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.4595, allocations: 26.69 kB / 0.7222 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.852e-05/0.4596, allocations: 39.75 kB / 0.7222 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.716e-05/0.4596, allocations: 29.78 kB / 0.7223 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.939e-05/0.4597, allocations: 86.56 kB / 0.7224 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002831/0.46, allocations: 267.7 kB / 0.7226 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.46, allocations: 3.938 kB / 0.7226 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.664e-06/0.46, allocations: 0.9062 kB / 0.7226 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.46, allocations: 0 / 0.7226 GB, free: 21.55 MB / 0.6355 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.0005291/0.4606, allocations: 427.5 kB / 0.723 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.4606, allocations: 14.16 kB / 0.723 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.895e-05/0.4607, allocations: 18.94 kB / 0.7231 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.461, allocations: 194.2 kB / 0.7232 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.461, allocations: 14.16 kB / 0.7233 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.4611, allocations: 21.81 kB / 0.7233 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.4612, allocations: 129.1 kB / 0.7234 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.4613, allocations: 3.938 kB / 0.7234 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.4613, allocations: 12.72 kB / 0.7234 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4613, allocations: 1.125 kB / 0.7234 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.623e-05/0.4614, allocations: 62.33 kB / 0.7235 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/0.4618, allocations: 421.5 kB / 0.7239 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.462, allocations: 139.4 kB / 0.724 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.492e-05/0.4621, allocations: 51.06 kB / 0.7241 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.4621, allocations: 2.688 kB / 0.7241 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002885/0.4624, allocations: 215.9 kB / 0.7243 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=22): time 9.51e-07/0.4624, allocations: 0 / 0.7243 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22): time 0.0004267/0.4628, allocations: 314.1 kB / 0.7246 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.4629, allocations: 88.94 kB / 0.7246 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.821e-05/0.4629, allocations: 130.6 kB / 0.7248 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.463, allocations: 36.42 kB / 0.7248 GB, free: 20 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.463, allocations: 105.8 kB / 0.7249 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.463, allocations: 50.22 kB / 0.725 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.149e-05/0.4631, allocations: 74.53 kB / 0.725 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.369e-05/0.4631, allocations: 323.4 kB / 0.7253 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.4633, allocations: 147.2 kB / 0.7255 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.4634, allocations: 215 kB / 0.7257 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.4636, allocations: 260.5 kB / 0.7259 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4636, allocations: 0 / 0.7259 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003794/0.464, allocations: 421.5 kB / 0.7263 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.436e-05/0.464, allocations: 63.64 kB / 0.7264 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.464, allocations: 3.25 kB / 0.7264 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.4641, allocations: 2.812 kB / 0.7264 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.296e-05/0.4641, allocations: 26.88 kB / 0.7264 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.4641, allocations: 4.156 kB / 0.7264 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.4643, allocations: 68.83 kB / 0.7265 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.4643, allocations: 21.72 kB / 0.7265 GB, free: 18.68 MB / 0.6355 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 8.882e-05/0.4644, allocations: 142.5 kB / 0.7266 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.4645, allocations: 21.48 kB / 0.7267 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.4645, allocations: 15.67 kB / 0.7267 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.4645, allocations: 2.25 kB / 0.7267 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4645, allocations: 1.781 kB / 0.7267 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.4645, allocations: 5.156 kB / 0.7267 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003661/0.4649, allocations: 0.5506 MB / 0.7272 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4649, allocations: 2.141 kB / 0.7272 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.398e-05/0.4649, allocations: 7.922 kB / 0.7272 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4649, allocations: 1.625 kB / 0.7272 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.4649, allocations: 9.531 kB / 0.7273 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4649, allocations: 9.125 kB / 0.7273 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4649, allocations: 1.188 kB / 0.7273 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.4652, allocations: 429.8 kB / 0.7277 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.024e-05/0.4652, allocations: 10.16 kB / 0.7277 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.4652, allocations: 14.98 kB / 0.7277 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.505e-05/0.4653, allocations: 11.72 kB / 0.7277 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/0.4654, allocations: 25 kB / 0.7277 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.4654, allocations: 19.95 kB / 0.7277 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.846e-05/0.4654, allocations: 97.64 kB / 0.7278 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4654, allocations: 0 / 0.7278 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002533/0.4657, allocations: 61.59 kB / 0.7279 GB, free: 17.72 MB / 0.6355 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.0001312/0.4658, allocations: 111.6 kB / 0.728 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003473/0.4661, allocations: 383.2 kB / 0.7284 GB, free: 17.37 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4661, allocations: 0 / 0.7284 GB, free: 17.37 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.4662, allocations: 83.84 kB / 0.7285 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.4665, allocations: 34.27 kB / 0.7285 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004218/0.4669, allocations: 310.2 kB / 0.7288 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.627e-05/0.467, allocations: 93.5 kB / 0.7289 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.467, allocations: 25.11 kB / 0.7289 GB, free: 17.02 MB / 0.6355 GB Notification: Performance of SimCode: time 9.62e-07/0.467, allocations: 0 / 0.7289 GB, free: 17.02 MB / 0.6355 GB Notification: Performance of Templates: time 0.004005/0.4711, allocations: 2.302 MB / 0.7311 GB, free: 16.8 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.53914346313104] Failed to read output from testmodel.py, exit status != 0: 0.4760212330147624 0.484469069 0.022754929 Calling exit ...