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.001025/0.001025, allocations: 80.88 kB / 19.94 MB, free: 4.551 MB / 18.57 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.001113/0.001113, allocations: 177 kB / 23.36 MB, free: 1.137 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 1.095/1.095, allocations: 177.1 MB / 203.8 MB, free: 5.469 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-535:34: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-535:42: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.819/0.819, allocations: 154.9 MB / 415.1 MB, free: 216 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: Performance of FrontEnd - loaded program: time 3.096e-06/3.096e-06, allocations: 0 / 480.4 MB, free: 6.492 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/3.101e-05, allocations: 2.312 kB / 480.4 MB, free: 6.488 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.0027/0.002731, allocations: 0.7562 MB / 481.2 MB, free: 5.77 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.004412, allocations: 1.319 MB / 482.5 MB, free: 4.445 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.905e-05/0.004472, allocations: 5.047 kB / 482.5 MB, free: 4.441 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.312e-05/0.004505, allocations: 11.86 kB / 482.5 MB, free: 4.43 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.925e-05/0.004594, allocations: 15.83 kB / 482.5 MB, free: 4.422 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005742/0.005168, allocations: 249.2 kB / 482.8 MB, free: 4.18 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.005423, allocations: 255 kB / 483 MB, free: 3.945 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.005524, allocations: 16.2 kB / 483 MB, free: 3.926 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.005698, allocations: 152.8 kB / 483.2 MB, free: 3.777 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.00584, allocations: 68.53 kB / 483.2 MB, free: 3.711 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.00587, allocations: 20.88 kB / 483.3 MB, free: 3.691 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.045e-05/0.005951, allocations: 27.98 kB / 483.3 MB, free: 3.664 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.937e-05/0.00598, allocations: 33.06 kB / 483.3 MB, free: 3.633 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.77e-05/0.006048, allocations: 75.84 kB / 483.4 MB, free: 3.559 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.00623, allocations: 167.5 kB / 483.6 MB, free: 3.395 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.006235, allocations: 4.531 kB / 483.6 MB, free: 3.391 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.006236, allocations: 0 / 483.6 MB, free: 3.391 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.006241, allocations: 1.031 kB / 483.6 MB, free: 3.391 MB / 442.7 MB 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.0005168/0.006757, allocations: 396.2 kB / 484 MB, free: 2.969 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.006799, allocations: 8.031 kB / 484 MB, free: 2.961 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.676e-05/0.006856, allocations: 24.91 kB / 484 MB, free: 2.938 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.007029, allocations: 147.6 kB / 484.1 MB, free: 2.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.007051, allocations: 16.36 kB / 484.1 MB, free: 2.754 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.007077, allocations: 20.38 kB / 484.2 MB, free: 2.734 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.007211, allocations: 128.5 kB / 484.3 MB, free: 2.594 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.007219, allocations: 192 / 484.3 MB, free: 2.594 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.007232, allocations: 10.53 kB / 484.3 MB, free: 2.586 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.007244, allocations: 8.312 kB / 484.3 MB, free: 2.578 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.769e-05/0.007292, allocations: 35.91 kB / 484.3 MB, free: 2.543 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.007684, allocations: 326.3 kB / 484.7 MB, free: 2.207 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.007829, allocations: 110.1 kB / 484.8 MB, free: 2.082 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.648e-05/0.007865, allocations: 34.31 kB / 484.8 MB, free: 2.043 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/0.007873, allocations: 0.9062 kB / 484.8 MB, free: 2.043 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.008086, allocations: 190.8 kB / 485 MB, free: 1.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=22): time 1.062e-06/0.008087, allocations: 0 / 485 MB, free: 1.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=22): time 0.000255/0.008342, allocations: 194 kB / 485.2 MB, free: 1.648 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.008386, allocations: 81.11 kB / 485.3 MB, free: 1.551 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.557e-05/0.008461, allocations: 139.2 kB / 485.4 MB, free: 1.402 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.00849, allocations: 38.3 kB / 485.4 MB, free: 1.359 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/0.008533, allocations: 100.6 kB / 485.5 MB, free: 1.258 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.00857, allocations: 56.38 kB / 485.6 MB, free: 1.203 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.515e-05/0.008645, allocations: 69.64 kB / 485.7 MB, free: 1.129 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.766e-05/0.008733, allocations: 328.6 kB / 486 MB, free: 0.8008 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.706e-05/0.00883, allocations: 107.7 kB / 486.1 MB, free: 0.6797 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.008943, allocations: 182.8 kB / 486.3 MB, free: 476 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.0091, allocations: 204.8 kB / 486.5 MB, free: 232 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.009104, allocations: 8.844 kB / 486.5 MB, free: 224 kB / 442.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002755/0.009379, allocations: 323.8 kB / 486.8 MB, free: 15.88 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.411e-05/0.009423, allocations: 72.23 kB / 486.9 MB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.00943, allocations: 0 / 486.9 MB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.009444, allocations: 6.344 kB / 486.9 MB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.07e-05/0.009515, allocations: 27.94 kB / 486.9 MB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.009519, allocations: 3.938 kB / 486.9 MB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.009684, allocations: 55.84 kB / 487 MB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.009706, allocations: 21.23 kB / 487 MB, free: 15.68 MB / 458.7 MB 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.0001039/0.00981, allocations: 148.9 kB / 487.1 MB, free: 15.53 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.009835, allocations: 23.97 kB / 487.1 MB, free: 15.51 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.009866, allocations: 14.34 kB / 487.2 MB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.00987, allocations: 4 kB / 487.2 MB, free: 15.49 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.009873, allocations: 0 / 487.2 MB, free: 15.49 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.009877, allocations: 0.5156 kB / 487.2 MB, free: 15.49 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.01016, allocations: 386.6 kB / 487.5 MB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01016, allocations: 0 / 487.5 MB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.315e-05/0.01019, allocations: 20.77 kB / 487.6 MB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.0102, allocations: 4 kB / 487.6 MB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.01021, allocations: 3.984 kB / 487.6 MB, free: 15.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.01021, allocations: 9.156 kB / 487.6 MB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01021, allocations: 0 / 487.6 MB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.01041, allocations: 314.7 kB / 487.9 MB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.675e-05/0.01043, allocations: 25.98 kB / 487.9 MB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.01045, allocations: 11.94 kB / 487.9 MB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.352e-05/0.01053, allocations: 16.61 kB / 487.9 MB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.432e-05/0.0106, allocations: 21.05 kB / 488 MB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.01061, allocations: 11.98 kB / 488 MB, free: 14.65 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.324e-05/0.01063, allocations: 23.47 kB / 488 MB, free: 14.62 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01063, allocations: 0.875 kB / 488 MB, free: 14.62 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002248/0.01086, allocations: 55.98 kB / 488 MB, free: 14.57 MB / 458.7 MB 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.0001406/0.011, allocations: 89.62 kB / 488.1 MB, free: 14.48 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002669/0.01127, allocations: 336 kB / 488.5 MB, free: 14.11 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.01127, allocations: 4.594 kB / 488.5 MB, free: 14.11 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.784e-05/0.01135, allocations: 73.56 kB / 488.5 MB, free: 14.03 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.0116, allocations: 33.41 kB / 488.6 MB, free: 14 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.01195, allocations: 247.1 kB / 488.8 MB, free: 13.73 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.865e-05/0.01199, allocations: 73.78 kB / 488.9 MB, free: 13.64 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.957e-05/0.01204, allocations: 15.45 kB / 488.9 MB, free: 13.63 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.01217, allocations: 99.22 kB / 489 MB, free: 13.53 MB / 458.7 MB Notification: Performance of SimCode: time 1.182e-06/0.01217, allocations: 0.625 kB / 489 MB, free: 13.53 MB / 458.7 MB Notification: Performance of Templates: time 0.004856/0.01702, allocations: 3.026 MB / 492 MB, free: 10.73 MB / 458.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7709752740338445]