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.0009325/0.0009325, allocations: 80.94 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.0009527/0.0009527, allocations: 177.3 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.045/1.045, allocations: 177.1 MB / 203.8 MB, free: 5.477 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-535:34: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-535:42: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.7787/0.7787, allocations: 154.9 MB / 415.1 MB, free: 220 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: Performance of FrontEnd - loaded program: time 2.996e-06/2.996e-06, allocations: 0 / 480.3 MB, free: 6.539 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.93e-05, allocations: 4.828 kB / 480.3 MB, free: 6.535 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002287/0.002316, allocations: 0.7122 MB / 481.1 MB, free: 5.855 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.004359, allocations: 1.257 MB / 482.3 MB, free: 4.594 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.342e-05/0.004412, allocations: 0.6562 kB / 482.3 MB, free: 4.594 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.415e-05/0.004446, allocations: 9.453 kB / 482.3 MB, free: 4.586 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.598e-05/0.004532, allocations: 7.875 kB / 482.3 MB, free: 4.582 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005634/0.005096, allocations: 148.1 kB / 482.5 MB, free: 4.438 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.005304, allocations: 120.5 kB / 482.6 MB, free: 4.332 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.5e-05/0.005389, allocations: 9 kB / 482.6 MB, free: 4.324 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.005531, allocations: 66.67 kB / 482.7 MB, free: 4.262 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.005636, allocations: 38.09 kB / 482.7 MB, free: 4.227 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.005663, allocations: 8.875 kB / 482.7 MB, free: 4.219 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.252e-05/0.005746, allocations: 32.88 kB / 482.7 MB, free: 4.188 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.644e-05/0.005772, allocations: 11.94 kB / 482.8 MB, free: 4.176 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.333e-05/0.005826, allocations: 36.67 kB / 482.8 MB, free: 4.141 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.006008, allocations: 99.69 kB / 482.9 MB, free: 4.043 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.006011, allocations: 0.6562 kB / 482.9 MB, free: 4.043 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.006012, allocations: 0 / 482.9 MB, free: 4.043 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.006016, allocations: 1.25 kB / 482.9 MB, free: 4.043 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.0004453/0.006461, allocations: 297.6 kB / 483.2 MB, free: 3.723 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.0065, allocations: 12.03 kB / 483.2 MB, free: 3.711 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.006624, allocations: 17.45 kB / 483.2 MB, free: 3.695 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.526e-05/0.006719, allocations: 124.7 kB / 483.3 MB, free: 3.551 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.006732, allocations: 384 / 483.3 MB, free: 3.551 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.006755, allocations: 12.36 kB / 483.3 MB, free: 3.539 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.006886, allocations: 66.92 kB / 483.4 MB, free: 3.465 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.006894, allocations: 1.688 kB / 483.4 MB, free: 3.465 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.006902, allocations: 384 / 483.4 MB, free: 3.465 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.006909, allocations: 4.375 kB / 483.4 MB, free: 3.461 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.123e-05/0.00694, allocations: 15.86 kB / 483.4 MB, free: 3.445 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.00727, allocations: 180.9 kB / 483.6 MB, free: 3.254 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.515e-05/0.007345, allocations: 31.47 kB / 483.6 MB, free: 3.215 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.821e-05/0.007364, allocations: 8.859 kB / 483.6 MB, free: 3.203 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.007378, allocations: 0.875 kB / 483.7 MB, free: 3.203 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/0.007484, allocations: 71.39 kB / 483.7 MB, free: 3.121 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.007486, allocations: 0.7812 kB / 483.7 MB, free: 3.121 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001509/0.007637, allocations: 69.61 kB / 483.8 MB, free: 3.047 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.007673, allocations: 52.09 kB / 483.8 MB, free: 2.984 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.087e-05/0.007754, allocations: 119.2 kB / 484 MB, free: 2.855 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.007775, allocations: 29.7 kB / 484 MB, free: 2.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.007821, allocations: 96.73 kB / 484.1 MB, free: 2.723 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.00784, allocations: 7.906 kB / 484.1 MB, free: 2.715 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.42e-05/0.007904, allocations: 38.3 kB / 484.1 MB, free: 2.672 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.862e-05/0.007993, allocations: 319.4 kB / 484.4 MB, free: 2.352 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.721e-05/0.00806, allocations: 53.62 kB / 484.5 MB, free: 2.293 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.855e-05/0.008129, allocations: 77.73 kB / 484.6 MB, free: 2.199 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.008235, allocations: 102.4 kB / 484.7 MB, free: 2.086 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.008237, allocations: 0 / 484.7 MB, free: 2.086 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001967/0.008434, allocations: 162.8 kB / 484.8 MB, free: 1.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.008472, allocations: 41.64 kB / 484.9 MB, free: 1.863 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.008477, allocations: 320 / 484.9 MB, free: 1.863 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.008489, allocations: 0 / 484.9 MB, free: 1.863 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.174e-05/0.008571, allocations: 16.92 kB / 484.9 MB, free: 1.848 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.008576, allocations: 4 kB / 484.9 MB, free: 1.844 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.008697, allocations: 24.67 kB / 484.9 MB, free: 1.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.008719, allocations: 11.97 kB / 484.9 MB, free: 1.809 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.238e-05/0.008811, allocations: 114.8 kB / 485 MB, free: 1.688 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.008828, allocations: 4.875 kB / 485 MB, free: 1.684 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.008952, allocations: 62.05 kB / 485.1 MB, free: 1.617 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.008956, allocations: 4 kB / 485.1 MB, free: 1.613 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.008957, allocations: 4.75 kB / 485.1 MB, free: 1.609 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.008962, allocations: 3.984 kB / 485.1 MB, free: 1.605 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.009144, allocations: 215.5 kB / 485.3 MB, free: 1.371 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.009146, allocations: 0 / 485.3 MB, free: 1.371 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.354e-05/0.009189, allocations: 5.156 kB / 485.3 MB, free: 1.367 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.009193, allocations: 3.938 kB / 485.3 MB, free: 1.363 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.009201, allocations: 3.984 kB / 485.3 MB, free: 1.359 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.009204, allocations: 5.938 kB / 485.3 MB, free: 1.355 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.009205, allocations: 0 / 485.3 MB, free: 1.355 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.00932, allocations: 151.5 kB / 485.5 MB, free: 1.191 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.238e-06/0.00933, allocations: 4 kB / 485.5 MB, free: 1.188 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.009348, allocations: 7.938 kB / 485.5 MB, free: 1.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.395e-05/0.009412, allocations: 4.688 kB / 485.5 MB, free: 1.176 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.009443, allocations: 3.984 kB / 485.5 MB, free: 1.172 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-06/0.009449, allocations: 5.312 kB / 485.5 MB, free: 1.168 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.94e-05/0.009468, allocations: 12.84 kB / 485.5 MB, free: 1.152 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009469, allocations: 0 / 485.5 MB, free: 1.152 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002689/0.009737, allocations: 28.97 kB / 485.6 MB, free: 1.125 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.0001218/0.009859, allocations: 85.16 kB / 485.6 MB, free: 1.035 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001791/0.01004, allocations: 146.4 kB / 485.8 MB, free: 0.8711 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.01004, allocations: 4 kB / 485.8 MB, free: 0.8672 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.114e-05/0.01008, allocations: 25.28 kB / 485.8 MB, free: 0.8398 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.0103, allocations: 12.92 kB / 485.8 MB, free: 0.8281 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004638/0.01076, allocations: 166.5 kB / 486 MB, free: 0.6445 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.103e-05/0.0108, allocations: 59.34 kB / 486 MB, free: 0.5664 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.066e-05/0.01083, allocations: 4.531 kB / 486 MB, free: 0.5625 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.672e-05/0.01093, allocations: 64.36 kB / 486.1 MB, free: 0.5 MB / 442.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01093, allocations: 0 / 486.1 MB, free: 0.5 MB / 442.7 MB Notification: Performance of Templates: time 0.003943/0.01487, allocations: 1.591 MB / 487.7 MB, free: 15.02 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6827084408141673]