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.0008542/0.0008542, allocations: 81.95 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.0008772/0.0008772, allocations: 169.7 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.9007/0.9007, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.7325/0.7325, allocations: 154.9 MB / 415.1 MB, free: 276 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.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.904e-06/1.904e-06, allocations: 0 / 0.5211 GB, free: 1.52 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179e-05/1.37e-05, allocations: 4.688 kB / 0.5211 GB, free: 1.516 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001118/0.001132, allocations: 0.7122 MB / 0.5218 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.002216, allocations: 1.235 MB / 0.523 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.155e-05/0.002258, allocations: 4 kB / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.139e-05/0.002279, allocations: 3.938 kB / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.379e-05/0.002343, allocations: 19.84 kB / 0.523 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.002703, allocations: 140.8 kB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.002821, allocations: 127.2 kB / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.82e-05/0.002889, allocations: 8 kB / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.456e-05/0.002984, allocations: 67.88 kB / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.00305, allocations: 31.95 kB / 0.5234 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.00307, allocations: 15.98 kB / 0.5234 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.201e-05/0.003122, allocations: 19.98 kB / 0.5234 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.819e-05/0.00314, allocations: 15.92 kB / 0.5234 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.003175, allocations: 31.97 kB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.003295, allocations: 107.7 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.003296, allocations: 0.5625 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.31e-07/0.003297, allocations: 0 / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.856e-06/0.0033, allocations: 0.5625 kB / 0.5236 GB, free: 15 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.0003663/0.003666, allocations: 427.1 kB / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.003698, allocations: 12.03 kB / 0.524 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.215e-05/0.00377, allocations: 12.89 kB / 0.524 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.947e-05/0.003829, allocations: 118 kB / 0.5241 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.003842, allocations: 12.36 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.003854, allocations: 4.375 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.874e-05/0.003943, allocations: 71.58 kB / 0.5242 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.829e-06/0.003948, allocations: 192 / 0.5242 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-06/0.003954, allocations: 1.281 kB / 0.5242 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.003959, allocations: 4.375 kB / 0.5242 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.187e-05/0.003981, allocations: 11.92 kB / 0.5242 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002572/0.004238, allocations: 282.1 kB / 0.5245 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.28e-05/0.004291, allocations: 39 kB / 0.5245 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.501e-05/0.004306, allocations: 16.42 kB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.004321, allocations: 1.094 kB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.764e-05/0.004399, allocations: 76.97 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.004399, allocations: 0 / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001404/0.00454, allocations: 90.84 kB / 0.5247 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.004563, allocations: 59.39 kB / 0.5248 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.7e-05/0.00463, allocations: 177.8 kB / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.004647, allocations: 33.7 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.142e-05/0.004688, allocations: 131.7 kB / 0.5251 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.004705, allocations: 19.88 kB / 0.5251 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.004748, allocations: 40.7 kB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.948e-05/0.004847, allocations: 0.4884 MB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.577e-05/0.004893, allocations: 53.67 kB / 0.5257 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.826e-05/0.004951, allocations: 103 kB / 0.5258 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.212e-05/0.005024, allocations: 100.4 kB / 0.5259 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.005026, allocations: 0 / 0.5259 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004185/0.005444, allocations: 188.9 kB / 0.526 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.005471, allocations: 44 kB / 0.5261 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.005479, allocations: 4 kB / 0.5261 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.005488, allocations: 2.281 kB / 0.5261 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.23e-05/0.005541, allocations: 8 kB / 0.5261 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.005544, allocations: 4 kB / 0.5261 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.424e-05/0.005618, allocations: 27.86 kB / 0.5261 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.00563, allocations: 15.06 kB / 0.5261 GB, free: 12.11 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 7.409e-05/0.005704, allocations: 168.5 kB / 0.5263 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.005717, allocations: 11.94 kB / 0.5263 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.437e-05/0.005811, allocations: 78.19 kB / 0.5264 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.005814, allocations: 7.984 kB / 0.5264 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.005815, allocations: 0 / 0.5264 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.005818, allocations: 0 / 0.5264 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.005969, allocations: 303.4 kB / 0.5267 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.00597, allocations: 0 / 0.5267 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.321e-05/0.005994, allocations: 4 kB / 0.5267 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.005997, allocations: 8.859 kB / 0.5267 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.006003, allocations: 4 kB / 0.5267 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.006003, allocations: 0 / 0.5267 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.006004, allocations: 0.9375 kB / 0.5267 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.738e-05/0.006101, allocations: 223.8 kB / 0.5269 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-06/0.00611, allocations: 12.58 kB / 0.5269 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.006122, allocations: 0 / 0.5269 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.622e-05/0.006158, allocations: 12.59 kB / 0.5269 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.006184, allocations: 7.922 kB / 0.527 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.006189, allocations: 5.219 kB / 0.527 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.253e-05/0.006222, allocations: 131.2 kB / 0.5271 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006222, allocations: 0 / 0.5271 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001634/0.006385, allocations: 28.56 kB / 0.5271 GB, free: 11.05 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 8.778e-05/0.006473, allocations: 99.89 kB / 0.5272 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001331/0.006606, allocations: 149.7 kB / 0.5274 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.12e-07/0.006607, allocations: 0 / 0.5274 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.983e-05/0.006637, allocations: 34.25 kB / 0.5274 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.006803, allocations: 9.719 kB / 0.5274 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.007192, allocations: 173 kB / 0.5276 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.939e-05/0.007231, allocations: 59.34 kB / 0.5276 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.989e-05/0.007261, allocations: 4 kB / 0.5276 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.872e-05/0.00734, allocations: 86.19 kB / 0.5277 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.00734, allocations: 4 kB / 0.5277 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of Templates: time 0.002776/0.01012, allocations: 1.672 MB / 0.5293 GB, free: 8.805 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2205360257066786]