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.0007378/0.0007378, allocations: 76.45 kB / 19.91 MB, free: 16 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.0007328/0.0007328, allocations: 165.9 kB / 23.18 MB, free: 1.387 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.8302/0.8302, allocations: 177.2 MB / 203.6 MB, free: 5.758 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-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 0.6676/0.6676, allocations: 155 MB / 415 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.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008581/0.0008581, allocations: 71.89 kB / 0.6199 GB, free: 12.74 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.396, allocations: 102 MB / 0.7195 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001368/0.3974, allocations: 0.7075 MB / 0.7201 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.3984, allocations: 1.215 MB / 0.7213 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.234e-05/0.3985, allocations: 1.125 kB / 0.7213 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.124e-05/0.3985, allocations: 4.547 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.441e-05/0.3986, allocations: 15.28 kB / 0.7214 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.399, allocations: 149.8 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.3992, allocations: 120.5 kB / 0.7216 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.636e-05/0.3993, allocations: 14.06 kB / 0.7216 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.3994, allocations: 65.02 kB / 0.7217 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.341e-05/0.3995, allocations: 40.09 kB / 0.7217 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.3995, allocations: 10.84 kB / 0.7217 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.756e-05/0.3996, allocations: 25.66 kB / 0.7218 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.66e-05/0.3996, allocations: 17.84 kB / 0.7218 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.302e-05/0.3996, allocations: 41.94 kB / 0.7218 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.3998, allocations: 138.3 kB / 0.7219 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3998, allocations: 0.9375 kB / 0.7219 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3998, allocations: 0 / 0.7219 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.3998, allocations: 4 kB / 0.722 GB, free: 21.89 MB / 0.6355 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.0004449/0.4003, allocations: 336.3 kB / 0.7223 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.4003, allocations: 10.53 kB / 0.7223 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.419e-05/0.4004, allocations: 12.61 kB / 0.7223 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.803e-05/0.4004, allocations: 111 kB / 0.7224 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.4005, allocations: 4 kB / 0.7224 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.4005, allocations: 7.172 kB / 0.7224 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.4006, allocations: 64.5 kB / 0.7225 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.4006, allocations: 192 / 0.7225 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.4006, allocations: 8.969 kB / 0.7225 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.4006, allocations: 2.078 kB / 0.7225 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.4008, allocations: 42.8 kB / 0.7225 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.4011, allocations: 259.6 kB / 0.7228 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.4012, allocations: 47.48 kB / 0.7228 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.389e-05/0.4012, allocations: 32.02 kB / 0.7228 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.4013, allocations: 5.828 kB / 0.7229 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001414/0.4014, allocations: 94.97 kB / 0.7229 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.4014, allocations: 0 / 0.7229 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002894/0.4017, allocations: 135.5 kB / 0.7231 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.4017, allocations: 57.2 kB / 0.7231 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.395e-05/0.4018, allocations: 110.6 kB / 0.7232 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.4018, allocations: 31.67 kB / 0.7233 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.976e-05/0.4018, allocations: 98.83 kB / 0.7234 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.4018, allocations: 12 kB / 0.7234 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.4019, allocations: 37.45 kB / 0.7234 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.023e-05/0.4019, allocations: 318.6 kB / 0.7237 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.402, allocations: 83.56 kB / 0.7238 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.4021, allocations: 109.8 kB / 0.7239 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.4023, allocations: 138.9 kB / 0.724 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4023, allocations: 0 / 0.724 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002429/0.4025, allocations: 227.7 kB / 0.7242 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.4025, allocations: 37.08 kB / 0.7243 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4025, allocations: 2.406 kB / 0.7243 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.4025, allocations: 1.188 kB / 0.7243 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.42e-05/0.4026, allocations: 15.52 kB / 0.7243 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4026, allocations: 9.891 kB / 0.7243 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.4027, allocations: 34.91 kB / 0.7243 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.4027, allocations: 7.672 kB / 0.7243 GB, free: 19.92 MB / 0.6355 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 4.736e-05/0.4028, allocations: 122.1 kB / 0.7245 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.714e-06/0.4028, allocations: 7.109 kB / 0.7245 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/0.403, allocations: 118.5 kB / 0.7246 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.403, allocations: 4.75 kB / 0.7246 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.403, allocations: 5.094 kB / 0.7246 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.403, allocations: 0 / 0.7246 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.4032, allocations: 302.4 kB / 0.7249 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4032, allocations: 1.031 kB / 0.7249 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.383e-05/0.4032, allocations: 9.609 kB / 0.7249 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4032, allocations: 1.547 kB / 0.7249 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.4032, allocations: 1.641 kB / 0.7249 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.4032, allocations: 0 / 0.7249 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4032, allocations: 9.859 kB / 0.7249 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.4034, allocations: 215.9 kB / 0.7251 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.685e-06/0.4034, allocations: 6.109 kB / 0.7251 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.4034, allocations: 6.625 kB / 0.7251 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.276e-05/0.4035, allocations: 5.516 kB / 0.7251 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.4035, allocations: 6.328 kB / 0.7251 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.4035, allocations: 2.672 kB / 0.7251 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.162e-05/0.4035, allocations: 90.31 kB / 0.7252 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4035, allocations: 4 kB / 0.7252 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001667/0.4037, allocations: 22.91 kB / 0.7252 GB, free: 19.2 MB / 0.6355 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 9.554e-05/0.4038, allocations: 114.3 kB / 0.7254 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002365/0.404, allocations: 183.9 kB / 0.7255 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.404, allocations: 0 / 0.7255 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.648e-05/0.4041, allocations: 40.06 kB / 0.7256 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.4043, allocations: 12.36 kB / 0.7256 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002527/0.4045, allocations: 187.8 kB / 0.7258 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.937e-05/0.4046, allocations: 70.53 kB / 0.7258 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.045e-05/0.4046, allocations: 12.25 kB / 0.7258 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of SimCode: time 6.31e-07/0.4046, allocations: 0 / 0.7258 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of Templates: time 0.002233/0.4068, allocations: 1.237 MB / 0.727 GB, free: 18.62 MB / 0.6355 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: 5.372364695882425] Failed to read output from testmodel.py, exit status != 0: 0.41203972697257996 0.42001488699999995 0.018571865 Calling exit ...