Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.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.001021/0.001021, 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.001091/0.001091, 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.054/1.054, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.8645/0.8645, allocations: 154.9 MB / 415.1 MB, free: 224 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.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 480.4 MB, free: 6.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.628e-05/2.8e-05, allocations: 6.453 kB / 480.4 MB, free: 6.477 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001806/0.001834, allocations: 0.7755 MB / 481.2 MB, free: 5.738 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004749/0.006583, allocations: 1.212 MB / 482.4 MB, free: 4.523 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.872e-05/0.006632, allocations: 0 / 482.4 MB, free: 4.523 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.14e-05/0.006663, allocations: 7.922 kB / 482.4 MB, free: 4.516 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.007e-05/0.006743, allocations: 8.047 kB / 482.4 MB, free: 4.512 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.007186, allocations: 140.9 kB / 482.6 MB, free: 4.375 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.007362, allocations: 116.9 kB / 482.7 MB, free: 4.273 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.534e-05/0.007437, allocations: 8.781 kB / 482.7 MB, free: 4.266 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.007562, allocations: 69.69 kB / 482.7 MB, free: 4.199 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.847e-05/0.00765, allocations: 39.75 kB / 482.8 MB, free: 4.164 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.007673, allocations: 11.94 kB / 482.8 MB, free: 4.152 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.163e-05/0.007755, allocations: 24 kB / 482.8 MB, free: 4.129 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.007774, allocations: 7.984 kB / 482.8 MB, free: 4.121 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.902e-05/0.007823, allocations: 39.89 kB / 482.9 MB, free: 4.082 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003189/0.01101, allocations: 92.62 kB / 483 MB, free: 3.992 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.01102, allocations: 0 / 483 MB, free: 3.992 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01102, allocations: 0.7812 kB / 483 MB, free: 3.992 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.01102, allocations: 3.938 kB / 483 MB, free: 3.988 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.0004024/0.01142, allocations: 302.6 kB / 483.3 MB, free: 3.664 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.01146, allocations: 12.03 kB / 483.3 MB, free: 3.652 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.0115, allocations: 13.67 kB / 483.3 MB, free: 3.641 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.21e-05/0.01159, allocations: 117.7 kB / 483.4 MB, free: 3.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.0116, allocations: 5.594 kB / 483.4 MB, free: 3.496 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.01162, allocations: 8.375 kB / 483.4 MB, free: 3.488 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.01173, allocations: 66.92 kB / 483.5 MB, free: 3.414 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.01174, allocations: 0.75 kB / 483.5 MB, free: 3.414 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.01175, allocations: 384 / 483.5 MB, free: 3.414 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.01176, allocations: 9.438 kB / 483.5 MB, free: 3.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.889e-05/0.01179, allocations: 11.88 kB / 483.5 MB, free: 3.398 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003104/0.0121, allocations: 180.8 kB / 483.7 MB, free: 3.207 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.728e-05/0.01218, allocations: 31.14 kB / 483.7 MB, free: 3.168 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.618e-05/0.01221, allocations: 18 kB / 483.7 MB, free: 3.148 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-06/0.01222, allocations: 3.938 kB / 483.7 MB, free: 3.145 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/0.01232, allocations: 72.06 kB / 483.8 MB, free: 3.062 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.01232, allocations: 0 / 483.8 MB, free: 3.062 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001374/0.01246, allocations: 71.55 kB / 483.9 MB, free: 2.988 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.01249, allocations: 59.34 kB / 483.9 MB, free: 2.918 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.998e-05/0.01256, allocations: 128.5 kB / 484 MB, free: 2.781 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.01258, allocations: 37.69 kB / 484.1 MB, free: 2.738 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/0.01262, allocations: 88.73 kB / 484.2 MB, free: 2.648 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.01264, allocations: 16.5 kB / 484.2 MB, free: 2.633 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.0127, allocations: 38.7 kB / 484.2 MB, free: 2.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.04e-05/0.01278, allocations: 318.8 kB / 484.5 MB, free: 2.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.797e-05/0.01285, allocations: 53.62 kB / 484.6 MB, free: 2.211 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.673e-05/0.01293, allocations: 90.61 kB / 484.7 MB, free: 2.102 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.01304, allocations: 107.8 kB / 484.8 MB, free: 1.977 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01304, allocations: 0 / 484.8 MB, free: 1.977 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001791/0.01322, allocations: 165.9 kB / 484.9 MB, free: 1.797 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.01325, allocations: 34.33 kB / 485 MB, free: 1.758 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.01326, allocations: 4.625 kB / 485 MB, free: 1.754 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.01327, allocations: 3.938 kB / 485 MB, free: 1.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.795e-05/0.01334, allocations: 16.61 kB / 485 MB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.01334, allocations: 8.562 kB / 485 MB, free: 1.727 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.01345, allocations: 28.55 kB / 485 MB, free: 1.699 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.01347, allocations: 4.625 kB / 485 MB, free: 1.695 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 7.055e-05/0.01354, allocations: 118.4 kB / 485.2 MB, free: 1.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.01355, allocations: 8.797 kB / 485.2 MB, free: 1.562 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.157e-05/0.01357, allocations: 12.44 kB / 485.2 MB, free: 1.551 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.01358, allocations: 3.938 kB / 485.2 MB, free: 1.547 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.01358, allocations: 1.781 kB / 485.2 MB, free: 1.547 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.01358, allocations: 0 / 485.2 MB, free: 1.547 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003222/0.0168, allocations: 222.8 kB / 485.4 MB, free: 1.305 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.0168, allocations: 4 kB / 485.4 MB, free: 1.301 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.682e-05/0.01684, allocations: 5.219 kB / 485.4 MB, free: 1.297 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.01684, allocations: 0 / 485.4 MB, free: 1.297 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.01685, allocations: 7.922 kB / 485.4 MB, free: 1.289 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01686, allocations: 0.5312 kB / 485.4 MB, free: 1.289 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.01686, allocations: 4.062 kB / 485.4 MB, free: 1.285 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.01696, allocations: 156.5 kB / 485.6 MB, free: 1.117 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.01697, allocations: 7.953 kB / 485.6 MB, free: 1.109 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.01699, allocations: 4.469 kB / 485.6 MB, free: 1.105 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.662e-05/0.01704, allocations: 4 kB / 485.6 MB, free: 1.102 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.01708, allocations: 12.86 kB / 485.6 MB, free: 1.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.01708, allocations: 0 / 485.6 MB, free: 1.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.396e-05/0.01711, allocations: 29.27 kB / 485.6 MB, free: 1.062 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01711, allocations: 0 / 485.6 MB, free: 1.062 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002282/0.01733, allocations: 24 kB / 485.7 MB, free: 1.039 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: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001013/0.01744, allocations: 82.44 kB / 485.7 MB, free: 0.9531 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001717/0.01761, allocations: 149.9 kB / 485.9 MB, free: 0.7852 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.217e-06/0.01761, allocations: 0.5 kB / 485.9 MB, free: 0.7852 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.152e-05/0.01765, allocations: 32.78 kB / 485.9 MB, free: 0.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.01784, allocations: 13.73 kB / 485.9 MB, free: 0.7383 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002724/0.01811, allocations: 167.6 kB / 486.1 MB, free: 0.543 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.963e-05/0.01815, allocations: 63.34 kB / 486.2 MB, free: 472 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.594e-05/0.01818, allocations: 6.406 kB / 486.2 MB, free: 468 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.912e-05/0.01827, allocations: 63.36 kB / 486.2 MB, free: 404 kB / 442.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01827, allocations: 4.656 kB / 486.2 MB, free: 400 kB / 442.7 MB Notification: Performance of Templates: time 0.006808/0.02508, allocations: 1.643 MB / 487.9 MB, free: 14.87 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7406610711477697]