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.0009383/0.0009383, allocations: 76.52 kB / 19.91 MB, free: 4.641 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.0009629/0.0009629, allocations: 177.2 kB / 23.2 MB, free: 1.352 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.873/0.873, allocations: 177.2 MB / 203.6 MB, free: 5.754 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7348/0.7348, allocations: 154.9 MB / 414.9 MB, free: 0.5234 MB / 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.001635/0.001635, allocations: 68.17 kB / 0.6198 GB, free: 12.84 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.4612/0.4628, allocations: 102 MB / 0.7194 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001473/0.4643, allocations: 0.7006 MB / 0.7201 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.4654, allocations: 1.221 MB / 0.7213 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.366e-05/0.4655, allocations: 1.094 kB / 0.7213 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/0.4655, allocations: 5.016 kB / 0.7213 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.739e-05/0.4656, allocations: 6.938 kB / 0.7213 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004498/0.466, allocations: 156.1 kB / 0.7215 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.4662, allocations: 117.7 kB / 0.7216 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.4663, allocations: 9.422 kB / 0.7216 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.4664, allocations: 68.95 kB / 0.7216 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.478e-05/0.4665, allocations: 37.86 kB / 0.7217 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.4665, allocations: 10.66 kB / 0.7217 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.54e-05/0.4666, allocations: 29.09 kB / 0.7217 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.208e-05/0.4666, allocations: 12.8 kB / 0.7217 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.128e-05/0.4666, allocations: 34.27 kB / 0.7218 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.4668, allocations: 143.2 kB / 0.7219 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.4668, allocations: 0 / 0.7219 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4668, allocations: 5.375 kB / 0.7219 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.4668, allocations: 0 / 0.7219 GB, free: 21.86 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.0004247/0.4673, allocations: 334.8 kB / 0.7222 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.4673, allocations: 10.34 kB / 0.7222 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.92e-05/0.4674, allocations: 16.31 kB / 0.7223 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.843e-05/0.4674, allocations: 107.1 kB / 0.7224 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.4674, allocations: 4.375 kB / 0.7224 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.4675, allocations: 6.391 kB / 0.7224 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.4676, allocations: 69.72 kB / 0.7224 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.4676, allocations: 4.188 kB / 0.7224 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.4676, allocations: 3.938 kB / 0.7224 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4676, allocations: 2.406 kB / 0.7224 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.4677, allocations: 45.36 kB / 0.7225 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.4681, allocations: 253.2 kB / 0.7227 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.723e-05/0.4682, allocations: 48.41 kB / 0.7228 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.4682, allocations: 34.36 kB / 0.7228 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.4682, allocations: 1.531 kB / 0.7228 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.4684, allocations: 87.67 kB / 0.7229 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.4684, allocations: 0 / 0.7229 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002979/0.4687, allocations: 140 kB / 0.723 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.043e-05/0.4687, allocations: 57.03 kB / 0.7231 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.083e-05/0.4688, allocations: 114.2 kB / 0.7232 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.4688, allocations: 32.55 kB / 0.7232 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.411e-05/0.4688, allocations: 93.05 kB / 0.7233 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.4688, allocations: 12.47 kB / 0.7233 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/0.4689, allocations: 40.98 kB / 0.7234 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.394e-05/0.4689, allocations: 319.9 kB / 0.7237 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.469, allocations: 75.14 kB / 0.7237 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.4691, allocations: 118.3 kB / 0.7238 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.4693, allocations: 138 kB / 0.724 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.4693, allocations: 3.938 kB / 0.724 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002523/0.4695, allocations: 228.9 kB / 0.7242 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.4695, allocations: 34.67 kB / 0.7242 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4695, allocations: 2.594 kB / 0.7242 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.4696, allocations: 1.312 kB / 0.7242 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.839e-05/0.4696, allocations: 23.3 kB / 0.7243 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.4696, allocations: 1.125 kB / 0.7243 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.4697, allocations: 34.31 kB / 0.7243 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.4698, allocations: 7.938 kB / 0.7243 GB, free: 19.89 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 5.024e-05/0.4698, allocations: 121.8 kB / 0.7244 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-06/0.4698, allocations: 8.484 kB / 0.7244 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.47, allocations: 125.1 kB / 0.7245 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.47, allocations: 4.922 kB / 0.7246 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.47, allocations: 1.188 kB / 0.7246 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-06/0.47, allocations: 7.25 kB / 0.7246 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.47, allocations: 1.062 kB / 0.7246 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.611e-05/0.47, allocations: 6.078 kB / 0.7246 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.4701, allocations: 13.27 kB / 0.7246 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001434/0.4702, allocations: 179.8 kB / 0.7248 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001474/0.4704, allocations: 290.3 kB / 0.725 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.963e-05/0.4704, allocations: 27.36 kB / 0.7251 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.219e-05/0.4704, allocations: 90.89 kB / 0.7251 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of Backend: time 2.31e-07/0.4704, allocations: 0 / 0.7251 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004008/0.4709, allocations: 234.6 kB / 0.7254 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003518/0.4712, allocations: 0.6072 MB / 0.726 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of Templates: time 0.003377/0.4746, allocations: 1.735 MB / 0.7277 GB, free: 18.27 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: 4.106552565004677] Failed to read output from testmodel.py, exit status != 0: 0.4814572019968182 0.490880241 0.022213010000000002 Calling exit ...