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.001588/0.001588, allocations: 75.56 kB / 19.16 MB, free: 2.566 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.002036/0.002036, allocations: 170.5 kB / 22.44 MB, free: 5.316 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.411/1.411, allocations: 177.2 MB / 202.8 MB, free: 9.215 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.154/1.154, allocations: 155 MB / 414.2 MB, free: 4.977 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: 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.002132/0.002132, allocations: 71.64 kB / 0.6191 GB, free: 4.223 MB / 0.5294 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.5008/0.5029, allocations: 102 MB / 0.7187 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001719/0.5046, allocations: 0.714 MB / 0.7194 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.5061, allocations: 1.22 MB / 0.7206 GB, free: 484 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.768e-05/0.5061, allocations: 1.25 kB / 0.7206 GB, free: 484 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.5061, allocations: 4.641 kB / 0.7206 GB, free: 480 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.845e-05/0.5062, allocations: 6.281 kB / 0.7206 GB, free: 476 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005449/0.5068, allocations: 157.6 kB / 0.7208 GB, free: 392 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.5069, allocations: 115.7 kB / 0.7209 GB, free: 340 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.507, allocations: 15.72 kB / 0.7209 GB, free: 332 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.5072, allocations: 63.67 kB / 0.7209 GB, free: 304 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.856e-05/0.5073, allocations: 41.23 kB / 0.721 GB, free: 288 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.5073, allocations: 10.75 kB / 0.721 GB, free: 288 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.479e-05/0.5074, allocations: 25.92 kB / 0.721 GB, free: 284 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.342e-05/0.5074, allocations: 12.48 kB / 0.721 GB, free: 276 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.593e-05/0.5074, allocations: 38.61 kB / 0.7211 GB, free: 256 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.5076, allocations: 146.7 kB / 0.7212 GB, free: 192 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5076, allocations: 0 / 0.7212 GB, free: 192 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5077, allocations: 0.8906 kB / 0.7212 GB, free: 192 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.5077, allocations: 1.125 kB / 0.7212 GB, free: 192 kB / 0.6075 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.0005609/0.5082, allocations: 338.4 kB / 0.7215 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.5082, allocations: 15.7 kB / 0.7215 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.523e-05/0.5083, allocations: 11.22 kB / 0.7216 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.5084, allocations: 108.2 kB / 0.7217 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.5085, allocations: 7.797 kB / 0.7217 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.5085, allocations: 7.453 kB / 0.7217 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.5087, allocations: 68.14 kB / 0.7217 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.5087, allocations: 192 / 0.7217 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.5087, allocations: 6.172 kB / 0.7217 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.5087, allocations: 0 / 0.7217 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.5089, allocations: 43.34 kB / 0.7218 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.5094, allocations: 253.1 kB / 0.722 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.5095, allocations: 54.91 kB / 0.7221 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.5096, allocations: 31.73 kB / 0.7221 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.5097, allocations: 1.312 kB / 0.7221 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.5099, allocations: 91.31 kB / 0.7222 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.5099, allocations: 0 / 0.7222 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of matching and sorting (n=7): time 0.0004394/0.5103, allocations: 135 kB / 0.7223 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.5104, allocations: 58.36 kB / 0.7224 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.5105, allocations: 118.1 kB / 0.7225 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.5105, allocations: 27.92 kB / 0.7225 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.5106, allocations: 93.3 kB / 0.7226 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.5106, allocations: 21.05 kB / 0.7226 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.596e-05/0.5107, allocations: 32.48 kB / 0.7227 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.5108, allocations: 319.8 kB / 0.723 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.511, allocations: 79.7 kB / 0.723 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.5112, allocations: 108.7 kB / 0.7231 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.5115, allocations: 147.8 kB / 0.7233 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.5115, allocations: 0 / 0.7233 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004749/0.512, allocations: 223.6 kB / 0.7235 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.28e-05/0.512, allocations: 39.31 kB / 0.7235 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.512, allocations: 1.703 kB / 0.7235 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.512, allocations: 8.844 kB / 0.7235 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.179e-05/0.5121, allocations: 17.62 kB / 0.7236 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.5121, allocations: 4.062 kB / 0.7236 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.5123, allocations: 35.58 kB / 0.7236 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.5123, allocations: 11.11 kB / 0.7236 GB, free: 14.2 MB / 0.6231 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.0001109/0.5125, allocations: 122.4 kB / 0.7237 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.5125, allocations: 7.766 kB / 0.7237 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003085/0.5128, allocations: 116.8 kB / 0.7238 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.5128, allocations: 1.609 kB / 0.7238 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5128, allocations: 0 / 0.7238 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.5128, allocations: 2.234 kB / 0.7239 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004207/0.5132, allocations: 302.4 kB / 0.7241 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.5132, allocations: 0 / 0.7241 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.033e-05/0.5133, allocations: 10.05 kB / 0.7241 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.5133, allocations: 4.656 kB / 0.7242 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.5133, allocations: 2.016 kB / 0.7242 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.5133, allocations: 3.938 kB / 0.7242 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5133, allocations: 0 / 0.7242 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.5136, allocations: 208.7 kB / 0.7244 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.5136, allocations: 7.359 kB / 0.7244 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.5136, allocations: 2.094 kB / 0.7244 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.659e-05/0.5137, allocations: 6.156 kB / 0.7244 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.5138, allocations: 9.578 kB / 0.7244 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.5138, allocations: 7.203 kB / 0.7244 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.449e-05/0.5138, allocations: 88.86 kB / 0.7245 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5138, allocations: 0 / 0.7245 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002629/0.5141, allocations: 19.78 kB / 0.7245 GB, free: 13.5 MB / 0.6231 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.0001689/0.5143, allocations: 112.1 kB / 0.7246 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004781/0.5147, allocations: 192 kB / 0.7248 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.5148, allocations: 4.406 kB / 0.7248 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.5149, allocations: 35.28 kB / 0.7248 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.5152, allocations: 22.91 kB / 0.7248 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00044/0.5156, allocations: 159.3 kB / 0.725 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.514e-05/0.5157, allocations: 70.22 kB / 0.7251 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.709e-05/0.5158, allocations: 8.156 kB / 0.7251 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.5158, allocations: 12.48 kB / 0.7251 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.5158, allocations: 0.625 kB / 0.7251 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of Templates: time 0.004807/0.5206, allocations: 1.515 MB / 0.7266 GB, free: 12.87 MB / 0.6231 GB " [Timeout remaining time 659] 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.065937323495746] Failed to read output from testmodel.py, exit status != 0: 0.5292973741889 0.5434486049999999 0.032778481000000005 Calling exit ...