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.001535/0.001535, allocations: 80.44 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001663/0.001663, allocations: 166 kB / 22.46 MB, free: 5.355 MB / 14.72 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.528/1.528, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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-531:190: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-531:198: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.394/1.394, allocations: 154.6 MB / 413.7 MB, free: 5.277 MB / 382.1 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 3.386e-06/3.386e-06, allocations: 0 / 0.6185 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.294e-05/3.633e-05, allocations: 5.312 kB / 0.6185 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001896/0.001932, allocations: 0.7036 MB / 0.6192 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002008/0.00394, allocations: 1.224 MB / 0.6204 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.884e-05/0.003999, allocations: 0 / 0.6204 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.295e-05/0.004052, allocations: 3.938 kB / 0.6204 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.73e-05/0.004129, allocations: 7.922 kB / 0.6204 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005955/0.004725, allocations: 157.6 kB / 0.6205 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.00493, allocations: 119.7 kB / 0.6207 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.005058, allocations: 12 kB / 0.6207 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.005203, allocations: 59.95 kB / 0.6207 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.005312, allocations: 39.86 kB / 0.6208 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.005345, allocations: 12 kB / 0.6208 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.024e-05/0.005436, allocations: 24 kB / 0.6208 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.736e-05/0.005463, allocations: 11.97 kB / 0.6208 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.234e-05/0.005535, allocations: 31.92 kB / 0.6208 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.005781, allocations: 143.6 kB / 0.621 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.005785, allocations: 0 / 0.621 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.52e-07/0.005785, allocations: 4 kB / 0.621 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.005796, allocations: 0 / 0.621 GB, free: 2.156 MB / 0.5294 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.0007314/0.006527, allocations: 331.8 kB / 0.6213 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.006575, allocations: 13.47 kB / 0.6213 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.006702, allocations: 12.88 kB / 0.6213 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.00684, allocations: 113.7 kB / 0.6214 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.006856, allocations: 12.3 kB / 0.6214 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.006888, allocations: 12.38 kB / 0.6215 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.007098, allocations: 58.22 kB / 0.6215 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.00711, allocations: 8.188 kB / 0.6215 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.007127, allocations: 4.375 kB / 0.6215 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.007133, allocations: 8.359 kB / 0.6215 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001993/0.007332, allocations: 43.89 kB / 0.6216 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005597/0.007892, allocations: 248.4 kB / 0.6218 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.008066, allocations: 46.55 kB / 0.6218 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.008174, allocations: 32.94 kB / 0.6219 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.008195, allocations: 3.984 kB / 0.6219 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002708/0.008466, allocations: 91.25 kB / 0.622 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.008467, allocations: 0 / 0.622 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0004984/0.008965, allocations: 141.6 kB / 0.6221 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.009035, allocations: 51.41 kB / 0.6222 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.00916, allocations: 113.8 kB / 0.6223 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.009194, allocations: 33.7 kB / 0.6223 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.11e-05/0.009275, allocations: 96.08 kB / 0.6224 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.009295, allocations: 15.78 kB / 0.6224 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.641e-05/0.009371, allocations: 37.7 kB / 0.6224 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.009513, allocations: 318.8 kB / 0.6227 GB, free: 176 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.009703, allocations: 77.61 kB / 0.6228 GB, free: 92 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.00993, allocations: 105.1 kB / 0.6229 GB, free: 15.97 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/0.01024, allocations: 137 kB / 0.623 GB, free: 15.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01024, allocations: 0 / 0.623 GB, free: 15.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004911/0.01073, allocations: 232.8 kB / 0.6233 GB, free: 15.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/0.01078, allocations: 41.69 kB / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.01079, allocations: 0 / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.0108, allocations: 0 / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.01091, allocations: 16.05 kB / 0.6233 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.01091, allocations: 8.406 kB / 0.6233 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.01112, allocations: 27.97 kB / 0.6234 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.01115, allocations: 7.984 kB / 0.6234 GB, free: 15.46 MB / 0.545 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.0001446/0.0113, allocations: 118.8 kB / 0.6235 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.01132, allocations: 11.89 kB / 0.6235 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003639/0.01168, allocations: 126 kB / 0.6236 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.01168, allocations: 0 / 0.6236 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.01169, allocations: 0 / 0.6236 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01169, allocations: 4 kB / 0.6236 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004366/0.01213, allocations: 302.1 kB / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01213, allocations: 0 / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.719e-05/0.0122, allocations: 15.98 kB / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.0122, allocations: 0 / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.01221, allocations: 0 / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.01222, allocations: 8 kB / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01222, allocations: 0 / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.01256, allocations: 207.3 kB / 0.6241 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.01257, allocations: 7.938 kB / 0.6241 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.01259, allocations: 4 kB / 0.6241 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.022e-05/0.01268, allocations: 8 kB / 0.6241 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.01273, allocations: 3.984 kB / 0.6241 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.01274, allocations: 7.938 kB / 0.6242 GB, free: 14.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.773e-05/0.01282, allocations: 95.27 kB / 0.6242 GB, free: 14.49 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01282, allocations: 0 / 0.6242 GB, free: 14.49 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002816/0.0131, allocations: 23.94 kB / 0.6243 GB, free: 14.47 MB / 0.545 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.0001683/0.01327, allocations: 103.3 kB / 0.6244 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004255/0.0137, allocations: 185 kB / 0.6245 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.0137, allocations: 0 / 0.6245 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.01383, allocations: 40.58 kB / 0.6246 GB, free: 14.12 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.01412, allocations: 18.88 kB / 0.6246 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004577/0.01458, allocations: 164.8 kB / 0.6248 GB, free: 13.92 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.62e-05/0.01465, allocations: 71.33 kB / 0.6248 GB, free: 13.83 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.9e-05/0.01468, allocations: 7.938 kB / 0.6248 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.626e-05/0.01472, allocations: 12.5 kB / 0.6248 GB, free: 13.8 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.01472, allocations: 4 kB / 0.6248 GB, free: 13.8 MB / 0.545 GB Notification: Performance of Templates: time 0.00517/0.01989, allocations: 1.487 MB / 0.6263 GB, free: 12.36 MB / 0.545 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.359950672835112] Failed to read output from testmodel.py, exit status != 0: 0.02959926426410675 0.0443636 0.035456634 Calling exit ...