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.001112/0.001112, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001338/0.001338, allocations: 173 kB / 23.49 MB, free: 1.055 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.126/1.126, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.7955/0.7955, allocations: 154.8 MB / 415.1 MB, free: 472 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.166e-06/3.166e-06, allocations: 0 / 0.5206 GB, free: 2.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.389e-05/3.706e-05, allocations: 3.281 kB / 0.5206 GB, free: 2.246 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002335/0.002372, allocations: 0.7265 MB / 0.5213 GB, free: 1.543 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.004294, allocations: 1.304 MB / 0.5226 GB, free: 232 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.512e-05/0.004369, allocations: 1.281 kB / 0.5226 GB, free: 232 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.27e-05/0.004412, allocations: 15.8 kB / 0.5226 GB, free: 216 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.004516, allocations: 15.86 kB / 0.5226 GB, free: 200 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007793/0.005295, allocations: 254.2 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003637/0.005659, allocations: 251.5 kB / 0.5231 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.005788, allocations: 16.2 kB / 0.5231 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002373/0.006025, allocations: 141 kB / 0.5232 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.006194, allocations: 75.86 kB / 0.5233 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.636e-05/0.00624, allocations: 20 kB / 0.5233 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.66e-05/0.006337, allocations: 47.55 kB / 0.5234 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.21e-05/0.006379, allocations: 27.97 kB / 0.5234 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.006489, allocations: 75.84 kB / 0.5235 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000315/0.006804, allocations: 199.3 kB / 0.5237 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.006808, allocations: 0 / 0.5237 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.263e-06/0.006809, allocations: 0 / 0.5237 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.006815, allocations: 0 / 0.5237 GB, free: 15.11 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.000744/0.007559, allocations: 0.5152 MB / 0.5242 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.007604, allocations: 12.03 kB / 0.5242 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.00772, allocations: 25.42 kB / 0.5242 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004912/0.008212, allocations: 186.7 kB / 0.5244 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.008249, allocations: 20.3 kB / 0.5244 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/0.008292, allocations: 16.38 kB / 0.5244 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.008542, allocations: 147.6 kB / 0.5246 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.008551, allocations: 192 / 0.5246 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.008573, allocations: 8.359 kB / 0.5246 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.008586, allocations: 8.625 kB / 0.5246 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.008704, allocations: 43.95 kB / 0.5246 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007762/0.00948, allocations: 0.5248 MB / 0.5251 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.009755, allocations: 134.2 kB / 0.5252 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.58e-05/0.009841, allocations: 51.34 kB / 0.5253 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.009853, allocations: 4.562 kB / 0.5253 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000331/0.01018, allocations: 204.6 kB / 0.5255 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=22): time 1.954e-06/0.01019, allocations: 3.938 kB / 0.5255 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22): time 0.0005794/0.01077, allocations: 289.4 kB / 0.5258 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.01082, allocations: 81.89 kB / 0.5259 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.01096, allocations: 192 kB / 0.526 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.529e-05/0.011, allocations: 39.77 kB / 0.5261 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.38e-05/0.01109, allocations: 143.4 kB / 0.5262 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.325e-05/0.01114, allocations: 55.73 kB / 0.5263 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.01126, allocations: 79.34 kB / 0.5263 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.01143, allocations: 0.5039 MB / 0.5268 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.01164, allocations: 130.4 kB / 0.527 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.01188, allocations: 225.1 kB / 0.5272 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.01218, allocations: 252.5 kB / 0.5274 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.01218, allocations: 0 / 0.5274 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000614/0.01279, allocations: 409 kB / 0.5278 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.686e-05/0.01285, allocations: 72.27 kB / 0.5279 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.01286, allocations: 4 kB / 0.5279 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.01288, allocations: 4 kB / 0.5279 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.01299, allocations: 24.73 kB / 0.5279 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.013, allocations: 4 kB / 0.5279 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.01326, allocations: 57.2 kB / 0.528 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.01329, allocations: 26.8 kB / 0.528 GB, free: 10.29 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.0001438/0.01344, allocations: 182.5 kB / 0.5282 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.01348, allocations: 27.94 kB / 0.5282 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.022e-05/0.01353, allocations: 20.42 kB / 0.5282 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.01354, allocations: 0 / 0.5282 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.01354, allocations: 7.125 kB / 0.5282 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.01355, allocations: 7.984 kB / 0.5282 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005948/0.01414, allocations: 0.6218 MB / 0.5288 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.01415, allocations: 0 / 0.5288 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.371e-05/0.01419, allocations: 11.98 kB / 0.5288 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.01419, allocations: 0 / 0.5288 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.01421, allocations: 8 kB / 0.5288 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.01422, allocations: 0 / 0.5288 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.01422, allocations: 9.797 kB / 0.5289 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004718/0.01469, allocations: 0.5028 MB / 0.5293 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.01471, allocations: 15.84 kB / 0.5294 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.01475, allocations: 11.98 kB / 0.5294 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.01489, allocations: 11.98 kB / 0.5294 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.793e-05/0.01497, allocations: 20.58 kB / 0.5294 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.01499, allocations: 18.22 kB / 0.5294 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.273e-05/0.01505, allocations: 136.7 kB / 0.5296 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.01505, allocations: 0 / 0.5296 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004389/0.01549, allocations: 63.92 kB / 0.5296 GB, free: 8.555 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.000195/0.01568, allocations: 112 kB / 0.5297 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004913/0.01617, allocations: 371.7 kB / 0.5301 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.01618, allocations: 0 / 0.5301 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.01632, allocations: 91.56 kB / 0.5302 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004725/0.01679, allocations: 33.25 kB / 0.5302 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005725/0.01737, allocations: 279.5 kB / 0.5305 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.681e-05/0.01743, allocations: 68 kB / 0.5305 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.307e-05/0.01751, allocations: 19.58 kB / 0.5305 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.533e-05/0.01756, allocations: 25.2 kB / 0.5306 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of SimCode: time 1.162e-06/0.01756, allocations: 0 / 0.5306 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of Templates: time 0.00666/0.02422, allocations: 2.88 MB / 0.5334 GB, free: 4.766 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: 4.05136599089019]