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.001025/0.001025, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001245/0.001245, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.039/1.039, allocations: 177.1 MB / 203.8 MB, free: 5.469 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-545:108: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-545:116: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.8274/0.8274, allocations: 154.6 MB / 414.8 MB, free: 0.5117 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: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 480 MB, free: 6.875 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.025e-05/3.288e-05, allocations: 2.312 kB / 480 MB, free: 6.871 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002478/0.002511, allocations: 0.7676 MB / 480.8 MB, free: 6.141 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.004373, allocations: 1.249 MB / 482 MB, free: 4.883 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.934e-05/0.004432, allocations: 0 / 482 MB, free: 4.883 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.004467, allocations: 5 kB / 482 MB, free: 4.879 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.00457, allocations: 15.55 kB / 482.1 MB, free: 4.867 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005989/0.005169, allocations: 144.5 kB / 482.2 MB, free: 4.73 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.00539, allocations: 119.1 kB / 482.3 MB, free: 4.625 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.456e-05/0.005484, allocations: 15.98 kB / 482.3 MB, free: 4.609 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.005648, allocations: 66.67 kB / 482.4 MB, free: 4.547 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.005758, allocations: 33.48 kB / 482.4 MB, free: 4.516 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.005786, allocations: 8 kB / 482.4 MB, free: 4.508 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.005894, allocations: 28.84 kB / 482.5 MB, free: 4.48 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.584e-05/0.00592, allocations: 11.83 kB / 482.5 MB, free: 4.473 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.65e-05/0.005977, allocations: 35.95 kB / 482.5 MB, free: 4.438 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.006179, allocations: 100.6 kB / 482.6 MB, free: 4.34 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.006184, allocations: 4 kB / 482.6 MB, free: 4.336 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.006185, allocations: 1.344 kB / 482.6 MB, free: 4.336 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.006191, allocations: 0 / 482.6 MB, free: 4.336 MB / 442.7 MB 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.0005497/0.006741, allocations: 302.2 kB / 482.9 MB, free: 4.012 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.006786, allocations: 8.031 kB / 482.9 MB, free: 4.004 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.006918, allocations: 18.52 kB / 482.9 MB, free: 3.988 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.007031, allocations: 126.2 kB / 483.1 MB, free: 3.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.007047, allocations: 4.375 kB / 483.1 MB, free: 3.836 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.007069, allocations: 9 kB / 483.1 MB, free: 3.828 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.007229, allocations: 63.55 kB / 483.1 MB, free: 3.758 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.007237, allocations: 192 / 483.1 MB, free: 3.758 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.00725, allocations: 12.98 kB / 483.1 MB, free: 3.746 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.007257, allocations: 2.391 kB / 483.1 MB, free: 3.746 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.849e-05/0.007295, allocations: 8.562 kB / 483.2 MB, free: 3.738 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.007707, allocations: 184.9 kB / 483.3 MB, free: 3.543 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.497e-05/0.007792, allocations: 27.45 kB / 483.4 MB, free: 3.508 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.31e-05/0.007815, allocations: 12.86 kB / 483.4 MB, free: 3.492 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.007832, allocations: 5.625 kB / 483.4 MB, free: 3.488 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001257/0.007958, allocations: 71.39 kB / 483.4 MB, free: 3.406 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/0.00796, allocations: 0 / 483.4 MB, free: 3.406 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001815/0.008142, allocations: 69.83 kB / 483.5 MB, free: 3.332 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.008184, allocations: 56.31 kB / 483.6 MB, free: 3.266 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.705e-05/0.008281, allocations: 110.7 kB / 483.7 MB, free: 3.145 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.008316, allocations: 34.7 kB / 483.7 MB, free: 3.105 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.008368, allocations: 92.08 kB / 483.8 MB, free: 3.012 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.008398, allocations: 15.89 kB / 483.8 MB, free: 2.996 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.607e-05/0.008475, allocations: 38.22 kB / 483.9 MB, free: 2.953 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.008576, allocations: 316.1 kB / 484.2 MB, free: 2.637 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.9e-05/0.008665, allocations: 57.61 kB / 484.2 MB, free: 2.574 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.469e-05/0.00876, allocations: 73.12 kB / 484.3 MB, free: 2.484 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.008885, allocations: 97.67 kB / 484.4 MB, free: 2.371 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.008888, allocations: 1.219 kB / 484.4 MB, free: 2.371 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002276/0.009116, allocations: 157 kB / 484.5 MB, free: 2.199 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.799e-05/0.009164, allocations: 40.58 kB / 484.6 MB, free: 2.156 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.009172, allocations: 4.016 kB / 484.6 MB, free: 2.156 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.00919, allocations: 4 kB / 484.6 MB, free: 2.152 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.009305, allocations: 17.08 kB / 484.6 MB, free: 2.137 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.009311, allocations: 3.984 kB / 484.6 MB, free: 2.133 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.009452, allocations: 32.62 kB / 484.6 MB, free: 2.102 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.009473, allocations: 5.406 kB / 484.6 MB, free: 2.098 MB / 442.7 MB 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 9.424e-05/0.009567, allocations: 113.8 kB / 484.8 MB, free: 1.977 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.009588, allocations: 11.98 kB / 484.8 MB, free: 1.965 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.009717, allocations: 62.7 kB / 484.8 MB, free: 1.898 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.009721, allocations: 0 / 484.8 MB, free: 1.898 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.009724, allocations: 5.812 kB / 484.8 MB, free: 1.895 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.009728, allocations: 0 / 484.8 MB, free: 1.895 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.009972, allocations: 206.8 kB / 485 MB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.009974, allocations: 0 / 485 MB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.499e-05/0.01003, allocations: 15.92 kB / 485.1 MB, free: 1.652 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.01004, allocations: 4.5 kB / 485.1 MB, free: 1.648 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.01004, allocations: 0.5938 kB / 485.1 MB, free: 1.648 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.01005, allocations: 4 kB / 485.1 MB, free: 1.645 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.01005, allocations: 1.438 kB / 485.1 MB, free: 1.645 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.01021, allocations: 159.5 kB / 485.2 MB, free: 1.473 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.205e-05/0.01022, allocations: 4 kB / 485.2 MB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.01025, allocations: 3.938 kB / 485.2 MB, free: 1.465 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.697e-05/0.01032, allocations: 8.922 kB / 485.2 MB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.01036, allocations: 4 kB / 485.2 MB, free: 1.453 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.01037, allocations: 5.297 kB / 485.2 MB, free: 1.449 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.277e-05/0.0104, allocations: 12.86 kB / 485.3 MB, free: 1.434 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0104, allocations: 0 / 485.3 MB, free: 1.434 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002608/0.01066, allocations: 23.94 kB / 485.3 MB, free: 1.41 MB / 442.7 MB 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.0001521/0.01081, allocations: 85.84 kB / 485.4 MB, free: 1.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.01101, allocations: 148 kB / 485.5 MB, free: 1.156 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.01102, allocations: 4 kB / 485.5 MB, free: 1.152 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.343e-05/0.01107, allocations: 24.78 kB / 485.5 MB, free: 1.125 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.01132, allocations: 19.7 kB / 485.6 MB, free: 1.109 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000559/0.01188, allocations: 157.3 kB / 485.7 MB, free: 0.9336 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.959e-05/0.01193, allocations: 59.34 kB / 485.8 MB, free: 0.8555 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.898e-05/0.01197, allocations: 7.438 kB / 485.8 MB, free: 0.8516 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.01209, allocations: 71.36 kB / 485.8 MB, free: 0.7812 MB / 442.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01209, allocations: 0 / 485.8 MB, free: 0.7812 MB / 442.7 MB Notification: Performance of Templates: time 0.005496/0.01759, allocations: 1.586 MB / 487.4 MB, free: 15.31 MB / 458.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8865086268633604]