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.001037/0.001037, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.001191/0.001191, allocations: 169 kB / 24.06 MB, free: 452 kB / 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/1, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.7869/0.7869, allocations: 154.9 MB / 415.9 MB, free: 240 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.266e-06/3.266e-06, allocations: 0 / 0.5219 GB, free: 1.48 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.589e-05/3.915e-05, allocations: 6.469 kB / 0.5219 GB, free: 1.477 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.00168/0.001719, allocations: 0.7249 MB / 0.5226 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.003124, allocations: 1.301 MB / 0.5239 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.347e-05/0.003198, allocations: 0 / 0.5239 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.559e-05/0.003233, allocations: 9.016 kB / 0.5239 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.317e-05/0.003326, allocations: 23.73 kB / 0.5239 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006132/0.00394, allocations: 248.8 kB / 0.5241 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.004231, allocations: 260.3 kB / 0.5244 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.753e-05/0.004329, allocations: 13.5 kB / 0.5244 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.004515, allocations: 151.8 kB / 0.5245 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.00467, allocations: 73.16 kB / 0.5246 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.004703, allocations: 20 kB / 0.5246 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.764e-05/0.004771, allocations: 27.98 kB / 0.5247 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.294e-05/0.004804, allocations: 32.69 kB / 0.5247 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.699e-05/0.004871, allocations: 67.92 kB / 0.5248 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.00507, allocations: 173.2 kB / 0.5249 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.005074, allocations: 0 / 0.5249 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.112e-06/0.005075, allocations: 0 / 0.5249 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.00508, allocations: 3.938 kB / 0.5249 GB, free: 14.39 MB / 0.4948 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.0005576/0.005637, allocations: 0.5057 MB / 0.5254 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.005671, allocations: 15.97 kB / 0.5254 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.248e-05/0.005733, allocations: 32.83 kB / 0.5255 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.005904, allocations: 156.5 kB / 0.5256 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.005925, allocations: 12.38 kB / 0.5256 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.005954, allocations: 20.86 kB / 0.5256 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.006103, allocations: 134.5 kB / 0.5258 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.006111, allocations: 4.125 kB / 0.5258 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.006122, allocations: 4.359 kB / 0.5258 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.006128, allocations: 4.375 kB / 0.5258 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.468e-05/0.006183, allocations: 44.86 kB / 0.5258 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/0.006669, allocations: 0.496 MB / 0.5263 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.006835, allocations: 127 kB / 0.5264 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.556e-05/0.006881, allocations: 48.31 kB / 0.5265 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/0.006889, allocations: 4 kB / 0.5265 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.007094, allocations: 200 kB / 0.5267 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=22): time 1.162e-06/0.007095, allocations: 0 / 0.5267 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22): time 0.0003447/0.00744, allocations: 265.3 kB / 0.5269 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.007487, allocations: 89.72 kB / 0.527 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.007587, allocations: 186.4 kB / 0.5272 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.007622, allocations: 41.7 kB / 0.5272 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.599e-05/0.007688, allocations: 143.4 kB / 0.5274 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/0.007729, allocations: 55.56 kB / 0.5274 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.65e-05/0.007815, allocations: 83.3 kB / 0.5275 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.007953, allocations: 0.4978 MB / 0.528 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.008064, allocations: 115.6 kB / 0.5281 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.008198, allocations: 213 kB / 0.5283 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.008376, allocations: 242.8 kB / 0.5285 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.008378, allocations: 0 / 0.5285 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003445/0.008723, allocations: 383 kB / 0.5289 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.674e-05/0.00877, allocations: 71.33 kB / 0.529 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.008775, allocations: 0 / 0.529 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.008787, allocations: 4 kB / 0.529 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.643e-05/0.008853, allocations: 20 kB / 0.529 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.00886, allocations: 12.55 kB / 0.529 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.009031, allocations: 61.14 kB / 0.5291 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.009054, allocations: 14.62 kB / 0.5291 GB, free: 9.754 MB / 0.4948 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.0001144/0.009168, allocations: 186.4 kB / 0.5293 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.0092, allocations: 27.94 kB / 0.5293 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.338e-05/0.009233, allocations: 16.44 kB / 0.5293 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.009236, allocations: 0 / 0.5293 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.009239, allocations: 6.75 kB / 0.5293 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.009247, allocations: 3.984 kB / 0.5293 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004013/0.009648, allocations: 0.5872 MB / 0.5299 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.00965, allocations: 0 / 0.5299 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.803e-05/0.009678, allocations: 11.98 kB / 0.5299 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.009682, allocations: 4 kB / 0.5299 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.009692, allocations: 7.984 kB / 0.5299 GB, free: 8.863 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.009694, allocations: 1.031 kB / 0.5299 GB, free: 8.863 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.009695, allocations: 0 / 0.5299 GB, free: 8.863 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.009967, allocations: 0.4903 MB / 0.5304 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.009981, allocations: 21.03 kB / 0.5304 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.01001, allocations: 11.98 kB / 0.5304 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.173e-05/0.01009, allocations: 13.64 kB / 0.5304 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.01014, allocations: 23.95 kB / 0.5304 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.01015, allocations: 11.98 kB / 0.5305 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.425e-05/0.01019, allocations: 135.2 kB / 0.5306 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01019, allocations: 4 kB / 0.5306 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002614/0.01045, allocations: 48.66 kB / 0.5306 GB, free: 8.094 MB / 0.4948 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.0001399/0.01059, allocations: 120.4 kB / 0.5308 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003058/0.0109, allocations: 346.9 kB / 0.5311 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.0109, allocations: 4 kB / 0.5311 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.447e-05/0.01099, allocations: 86.31 kB / 0.5312 GB, free: 7.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.01127, allocations: 31.97 kB / 0.5312 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.01161, allocations: 266.5 kB / 0.5315 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.629e-05/0.01166, allocations: 68 kB / 0.5315 GB, free: 7.098 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.016e-05/0.01171, allocations: 20.48 kB / 0.5315 GB, free: 7.078 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.01184, allocations: 114.2 kB / 0.5316 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of SimCode: time 7.81e-07/0.01184, allocations: 0.9375 kB / 0.5317 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of Templates: time 0.004861/0.0167, allocations: 3.162 MB / 0.5347 GB, free: 3.977 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7294587828218937]