Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008313/0.0008313, allocations: 84.44 kB / 19.91 MB, free: 4 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.0007831/0.0007831, allocations: 169.2 kB / 23.19 MB, free: 1.375 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.9063/0.9063, allocations: 177.2 MB / 203.6 MB, free: 5.793 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7169/0.7169, allocations: 154.7 MB / 414.7 MB, free: 0.7578 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_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.0009663/0.0009663, allocations: 75.88 kB / 0.6195 GB, free: 13.14 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.4874/0.4883, allocations: 101.9 MB / 0.7191 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001435/0.4898, allocations: 0.6989 MB / 0.7198 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.4909, allocations: 1.223 MB / 0.721 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.381e-05/0.491, allocations: 1.438 kB / 0.721 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.491, allocations: 4.781 kB / 0.721 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.257e-05/0.4911, allocations: 14.55 kB / 0.721 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004728/0.4915, allocations: 145.6 kB / 0.7211 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000167/0.4917, allocations: 116.9 kB / 0.7212 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.4918, allocations: 15.02 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.4919, allocations: 68.64 kB / 0.7213 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.239e-05/0.492, allocations: 44.61 kB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.492, allocations: 10.12 kB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.288e-05/0.4921, allocations: 26.03 kB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.836e-05/0.4921, allocations: 13.69 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.425e-05/0.4922, allocations: 33.73 kB / 0.7214 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.4924, allocations: 143 kB / 0.7216 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.4924, allocations: 0 / 0.7216 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4924, allocations: 0 / 0.7216 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.4924, allocations: 5.094 kB / 0.7216 GB, free: 22.04 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.0005323/0.493, allocations: 335 kB / 0.7219 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.493, allocations: 9.641 kB / 0.7219 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.4931, allocations: 11.19 kB / 0.7219 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.149e-05/0.4932, allocations: 107 kB / 0.722 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.4932, allocations: 9.281 kB / 0.722 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.4932, allocations: 10.64 kB / 0.722 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.4934, allocations: 64.38 kB / 0.7221 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4934, allocations: 192 / 0.7221 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.4934, allocations: 5.562 kB / 0.7221 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4934, allocations: 5.125 kB / 0.7221 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.4935, allocations: 42.8 kB / 0.7222 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.4939, allocations: 252.5 kB / 0.7224 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.4941, allocations: 59.94 kB / 0.7225 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.072e-05/0.4941, allocations: 35.39 kB / 0.7225 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.4941, allocations: 1.828 kB / 0.7225 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.4943, allocations: 86.91 kB / 0.7226 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.4943, allocations: 0 / 0.7226 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003225/0.4946, allocations: 138.9 kB / 0.7227 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.4947, allocations: 53.27 kB / 0.7228 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.757e-05/0.4947, allocations: 115 kB / 0.7229 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.4947, allocations: 28.02 kB / 0.7229 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.4948, allocations: 97.12 kB / 0.723 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.4948, allocations: 20.11 kB / 0.723 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.107e-05/0.4948, allocations: 36.59 kB / 0.723 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.558e-05/0.4949, allocations: 315.7 kB / 0.7233 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.495, allocations: 80.88 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.4951, allocations: 105.2 kB / 0.7235 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.4953, allocations: 135 kB / 0.7237 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.4953, allocations: 9.25 kB / 0.7237 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002617/0.4955, allocations: 231 kB / 0.7239 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.4956, allocations: 39.31 kB / 0.7239 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4956, allocations: 1.344 kB / 0.7239 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.4956, allocations: 1.344 kB / 0.7239 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.383e-05/0.4956, allocations: 12.08 kB / 0.7239 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.4957, allocations: 2.547 kB / 0.7239 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.4958, allocations: 42.83 kB / 0.724 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.4958, allocations: 7.469 kB / 0.724 GB, free: 20.06 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 6.019e-05/0.4958, allocations: 124.8 kB / 0.7241 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.4959, allocations: 7.078 kB / 0.7241 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.4961, allocations: 113.7 kB / 0.7242 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4961, allocations: 1.672 kB / 0.7242 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4961, allocations: 4 kB / 0.7242 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.4961, allocations: 6.703 kB / 0.7242 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.4961, allocations: 1.797 kB / 0.7242 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.772e-05/0.4961, allocations: 10.45 kB / 0.7242 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.4962, allocations: 10.25 kB / 0.7242 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001726/0.4963, allocations: 190.8 kB / 0.7244 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001746/0.4965, allocations: 274.6 kB / 0.7247 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.109e-05/0.4966, allocations: 32.11 kB / 0.7247 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.081e-05/0.4966, allocations: 88.83 kB / 0.7248 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of Backend: time 3.31e-07/0.4966, allocations: 0 / 0.7248 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004624/0.4971, allocations: 239.9 kB / 0.725 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of SimCode: time 0.000419/0.4975, allocations: 0.6066 MB / 0.7256 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of Templates: time 0.004062/0.5016, allocations: 1.731 MB / 0.7273 GB, free: 18.44 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.279964962974191] Failed to read output from testmodel.py, exit status != 0: 0.5069445339031518 0.5168291740000001 0.022503355000000003 Calling exit ...