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.0008117/0.0008117, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001217/0.001217, allocations: 169 kB / 23.27 MB, free: 1.223 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.9415/0.9415, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.7887/0.7887, allocations: 154.9 MB / 415.1 MB, free: 268 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.787e-06/3.787e-06, allocations: 0 / 0.5211 GB, free: 1.504 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.905e-05/4.284e-05, allocations: 4.5 kB / 0.5211 GB, free: 1.5 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.00249/0.002533, allocations: 0.7086 MB / 0.5218 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.004171, allocations: 1.308 MB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.688e-05/0.004237, allocations: 0 / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.752e-05/0.004275, allocations: 5.281 kB / 0.5231 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.004385, allocations: 23.73 kB / 0.5231 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006142/0.005, allocations: 249.9 kB / 0.5234 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.00526, allocations: 255.5 kB / 0.5236 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.005378, allocations: 16.17 kB / 0.5236 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.00557, allocations: 149.9 kB / 0.5238 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.005753, allocations: 67.88 kB / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.39e-05/0.005797, allocations: 20 kB / 0.5239 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.639e-05/0.005893, allocations: 35.92 kB / 0.5239 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.458e-05/0.005938, allocations: 29.42 kB / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.128e-05/0.006029, allocations: 67.88 kB / 0.524 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.006277, allocations: 167.5 kB / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.00628, allocations: 0 / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.22e-07/0.006281, allocations: 4.969 kB / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.006286, allocations: 0 / 0.5242 GB, free: 14.43 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.0005821/0.006868, allocations: 0.5084 MB / 0.5247 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.006917, allocations: 13.03 kB / 0.5247 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.494e-05/0.006982, allocations: 32.77 kB / 0.5247 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.007163, allocations: 160.5 kB / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.007187, allocations: 16.86 kB / 0.5249 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.007213, allocations: 25.05 kB / 0.5249 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.007372, allocations: 134.2 kB / 0.525 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.007381, allocations: 5.344 kB / 0.525 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.007392, allocations: 384 / 0.525 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.007399, allocations: 4.375 kB / 0.525 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.249e-05/0.007451, allocations: 36.42 kB / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004805/0.007932, allocations: 0.5047 MB / 0.5256 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.008101, allocations: 131.8 kB / 0.5257 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.845e-05/0.008149, allocations: 39.36 kB / 0.5257 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.00816, allocations: 7.922 kB / 0.5257 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002173/0.008377, allocations: 203.6 kB / 0.5259 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=22): time 1.303e-06/0.008378, allocations: 0.75 kB / 0.5259 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22): time 0.0003346/0.008713, allocations: 261.3 kB / 0.5262 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.008761, allocations: 90.58 kB / 0.5263 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.852e-05/0.00886, allocations: 184.7 kB / 0.5264 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.008892, allocations: 41.7 kB / 0.5265 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.754e-05/0.008959, allocations: 147.3 kB / 0.5266 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.202e-05/0.009001, allocations: 56.31 kB / 0.5267 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.251e-05/0.009084, allocations: 75.31 kB / 0.5267 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.009248, allocations: 0.5052 MB / 0.5272 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.00935, allocations: 107.6 kB / 0.5273 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.009496, allocations: 209 kB / 0.5275 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.009676, allocations: 251.4 kB / 0.5278 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.009678, allocations: 0 / 0.5278 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003491/0.01003, allocations: 374.9 kB / 0.5281 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.811e-05/0.01008, allocations: 71.39 kB / 0.5282 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.01008, allocations: 7.875 kB / 0.5282 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.0101, allocations: 4 kB / 0.5282 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.512e-05/0.01017, allocations: 20.89 kB / 0.5282 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.01018, allocations: 7.938 kB / 0.5282 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.01033, allocations: 61.67 kB / 0.5283 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.01036, allocations: 19.98 kB / 0.5283 GB, free: 9.781 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.0001127/0.01047, allocations: 183.8 kB / 0.5285 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.0105, allocations: 27.94 kB / 0.5285 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.862e-05/0.01054, allocations: 21.95 kB / 0.5285 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.01054, allocations: 0 / 0.5285 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.01054, allocations: 0 / 0.5285 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.01055, allocations: 4 kB / 0.5285 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.01095, allocations: 0.585 MB / 0.5291 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01096, allocations: 8.594 kB / 0.5291 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.613e-05/0.01098, allocations: 4 kB / 0.5291 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.01098, allocations: 4.562 kB / 0.5291 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.011, allocations: 9.422 kB / 0.5291 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.011, allocations: 4 kB / 0.5291 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.011, allocations: 0 / 0.5291 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.0113, allocations: 498.8 kB / 0.5296 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.564e-05/0.01132, allocations: 26.25 kB / 0.5296 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.01134, allocations: 8 kB / 0.5297 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.358e-05/0.01141, allocations: 15.98 kB / 0.5297 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.01147, allocations: 19.95 kB / 0.5297 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.01148, allocations: 11.98 kB / 0.5297 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.802e-05/0.01153, allocations: 137.4 kB / 0.5298 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01153, allocations: 2.812 kB / 0.5298 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002266/0.01175, allocations: 59.98 kB / 0.5299 GB, free: 8.117 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.0001472/0.0119, allocations: 111.2 kB / 0.53 GB, free: 8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003072/0.01221, allocations: 348.2 kB / 0.5303 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.01221, allocations: 0 / 0.5303 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.969e-05/0.01229, allocations: 84.47 kB / 0.5304 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.01254, allocations: 31.91 kB / 0.5304 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003675/0.01291, allocations: 269.8 kB / 0.5307 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.086e-05/0.01296, allocations: 68 kB / 0.5308 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.643e-05/0.01301, allocations: 16.42 kB / 0.5308 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.01315, allocations: 122.2 kB / 0.5309 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.01315, allocations: 0 / 0.5309 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of Templates: time 0.00523/0.01838, allocations: 3.102 MB / 0.5339 GB, free: 4.086 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.7059263079427183]