Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.001402/0.001402, allocations: 92.7 kB / 19.44 MB, free: 320 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.001723/0.001723, allocations: 165.3 kB / 22.76 MB, free: 1.648 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.516/1.516, allocations: 177.1 MB / 203.1 MB, free: 5.246 MB / 186.7 MB " [Timeout remaining time 178] 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 1.267/1.267, allocations: 154.8 MB / 414.3 MB, free: 384 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 178] 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.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.5198 GB, free: 2.281 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.586e-05, allocations: 3.297 kB / 0.5198 GB, free: 2.277 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001826/0.001852, allocations: 0.699 MB / 0.5205 GB, free: 1.602 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.003705, allocations: 1.225 MB / 0.5217 GB, free: 372 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.358e-05/0.003748, allocations: 0 / 0.5217 GB, free: 372 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.507e-05/0.003793, allocations: 9.328 kB / 0.5217 GB, free: 364 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.396e-05/0.003867, allocations: 11.92 kB / 0.5217 GB, free: 352 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.004377, allocations: 140.8 kB / 0.5219 GB, free: 212 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.004571, allocations: 123.7 kB / 0.522 GB, free: 88 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.818e-05/0.00465, allocations: 6.094 kB / 0.522 GB, free: 84 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.00479, allocations: 71.86 kB / 0.5221 GB, free: 12 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.004903, allocations: 35.94 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.00493, allocations: 8 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.624e-05/0.005007, allocations: 27.98 kB / 0.5221 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.005033, allocations: 11.94 kB / 0.5221 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.307e-05/0.005106, allocations: 37.86 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.005341, allocations: 135.5 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.005344, allocations: 4 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.61e-07/0.005344, allocations: 0 / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.596e-06/0.005348, allocations: 0 / 0.5223 GB, free: 15.76 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008872/0.006235, allocations: 328.5 kB / 0.5226 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.006271, allocations: 9 kB / 0.5226 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.006397, allocations: 16.89 kB / 0.5226 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.006523, allocations: 118.6 kB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.006544, allocations: 4.375 kB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.006568, allocations: 8.375 kB / 0.5228 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.006785, allocations: 67.12 kB / 0.5228 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.006793, allocations: 1.219 kB / 0.5228 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.006809, allocations: 8.359 kB / 0.5228 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.006815, allocations: 4.375 kB / 0.5228 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.007005, allocations: 41.34 kB / 0.5229 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000472/0.007477, allocations: 248.5 kB / 0.5231 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.007663, allocations: 51.59 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.00777, allocations: 29.61 kB / 0.5232 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.007791, allocations: 1.281 kB / 0.5232 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002583/0.008049, allocations: 95.31 kB / 0.5233 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.008051, allocations: 4.938 kB / 0.5233 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0004926/0.008543, allocations: 134.2 kB / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.008605, allocations: 56.19 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.008722, allocations: 121.7 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.008757, allocations: 30.55 kB / 0.5236 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.533e-05/0.008842, allocations: 92.08 kB / 0.5237 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.00887, allocations: 18.28 kB / 0.5237 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.093e-05/0.008951, allocations: 33.69 kB / 0.5238 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.009134, allocations: 318.8 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.00933, allocations: 81.66 kB / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.009552, allocations: 108.3 kB / 0.5242 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/0.009855, allocations: 131.2 kB / 0.5244 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.009857, allocations: 0 / 0.5244 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005375/0.01039, allocations: 250.3 kB / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.188e-05/0.01044, allocations: 29.7 kB / 0.5246 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.01044, allocations: 4.5 kB / 0.5246 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.01046, allocations: 0.9062 kB / 0.5246 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.01057, allocations: 11.98 kB / 0.5247 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.01058, allocations: 0.6875 kB / 0.5247 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.0108, allocations: 41.06 kB / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.01082, allocations: 8 kB / 0.5247 GB, free: 13.08 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.0001224/0.01094, allocations: 125.3 kB / 0.5248 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.01097, allocations: 11.92 kB / 0.5248 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003293/0.0113, allocations: 114.4 kB / 0.5249 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.0113, allocations: 0 / 0.5249 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.01131, allocations: 4 kB / 0.5249 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.01131, allocations: 7.938 kB / 0.525 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004835/0.0118, allocations: 312.5 kB / 0.5252 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.0118, allocations: 0 / 0.5252 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.01187, allocations: 15.98 kB / 0.5253 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01187, allocations: 0 / 0.5253 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.01188, allocations: 4 kB / 0.5253 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.01188, allocations: 1.438 kB / 0.5253 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01188, allocations: 0 / 0.5253 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003688/0.01225, allocations: 208.3 kB / 0.5255 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.01226, allocations: 7.953 kB / 0.5255 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.01228, allocations: 0 / 0.5255 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.875e-05/0.01238, allocations: 13.14 kB / 0.5255 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.01243, allocations: 7.984 kB / 0.5255 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.01244, allocations: 0 / 0.5255 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.178e-05/0.01251, allocations: 94.33 kB / 0.5256 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01251, allocations: 0 / 0.5256 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000267/0.01278, allocations: 20 kB / 0.5256 GB, free: 12.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001657/0.01295, allocations: 99.25 kB / 0.5257 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004494/0.0134, allocations: 192 kB / 0.5259 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.0134, allocations: 0 / 0.5259 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.01352, allocations: 31.97 kB / 0.5259 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.01383, allocations: 22.11 kB / 0.5259 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.01425, allocations: 164.3 kB / 0.5261 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.825e-05/0.01434, allocations: 72.73 kB / 0.5262 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.16e-05/0.01438, allocations: 5.281 kB / 0.5262 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.01441, allocations: 8.5 kB / 0.5262 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.01441, allocations: 0 / 0.5262 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of Templates: time 0.00474/0.01915, allocations: 1.518 MB / 0.5277 GB, free: 10.02 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.0130102740367875]