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.001382/0.001382, 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.001761/0.001761, allocations: 173.4 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 0.9775/0.9775, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.7569/0.7569, allocations: 154.9 MB / 415.1 MB, free: 244 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.232e-06/1.232e-06, allocations: 0 / 480.4 MB, free: 6.547 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.121e-05/1.244e-05, allocations: 3.5 kB / 480.4 MB, free: 6.543 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001173/0.001185, allocations: 0.7359 MB / 481.1 MB, free: 5.84 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.002307, allocations: 1.21 MB / 482.3 MB, free: 4.625 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.76e-05/0.002355, allocations: 4 kB / 482.3 MB, free: 4.621 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.163e-05/0.002377, allocations: 4.625 kB / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.525e-05/0.002442, allocations: 8.094 kB / 482.3 MB, free: 4.613 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.002781, allocations: 132.6 kB / 482.5 MB, free: 4.484 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.002915, allocations: 120 kB / 482.6 MB, free: 4.379 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.178e-05/0.002977, allocations: 13.75 kB / 482.6 MB, free: 4.367 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.223e-05/0.003069, allocations: 71.62 kB / 482.7 MB, free: 4.301 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.526e-05/0.003135, allocations: 31.08 kB / 482.7 MB, free: 4.273 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.003151, allocations: 12 kB / 482.7 MB, free: 4.262 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.837e-05/0.0032, allocations: 27.97 kB / 482.7 MB, free: 4.234 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.00322, allocations: 12.81 kB / 482.7 MB, free: 4.223 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.579e-05/0.003255, allocations: 35.95 kB / 482.8 MB, free: 4.188 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.00338, allocations: 97.06 kB / 482.9 MB, free: 4.094 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.532e-06/0.003382, allocations: 0 / 482.9 MB, free: 4.094 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003382, allocations: 0 / 482.9 MB, free: 4.094 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.865e-06/0.003385, allocations: 0.6875 kB / 482.9 MB, free: 4.094 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.0003565/0.003742, allocations: 301.6 kB / 483.2 MB, free: 3.77 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.675e-05/0.003769, allocations: 9.281 kB / 483.2 MB, free: 3.762 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.003798, allocations: 12.92 kB / 483.2 MB, free: 3.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.013e-05/0.003868, allocations: 109.7 kB / 483.3 MB, free: 3.617 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.003881, allocations: 15.73 kB / 483.3 MB, free: 3.605 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.003898, allocations: 9.219 kB / 483.3 MB, free: 3.598 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.518e-05/0.003983, allocations: 66.92 kB / 483.4 MB, free: 3.523 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.003991, allocations: 4.125 kB / 483.4 MB, free: 3.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.003997, allocations: 4.312 kB / 483.4 MB, free: 3.516 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.004002, allocations: 384 / 483.4 MB, free: 3.516 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.433e-05/0.004026, allocations: 15.92 kB / 483.4 MB, free: 3.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002286/0.004255, allocations: 177.6 kB / 483.6 MB, free: 3.312 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.165e-05/0.004326, allocations: 35.41 kB / 483.6 MB, free: 3.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.787e-05/0.004344, allocations: 13.86 kB / 483.6 MB, free: 3.254 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.004351, allocations: 4 kB / 483.6 MB, free: 3.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.972e-05/0.004421, allocations: 64.34 kB / 483.7 MB, free: 3.176 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 8.71e-07/0.004422, allocations: 0 / 483.7 MB, free: 3.176 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001081/0.00453, allocations: 78.17 kB / 483.8 MB, free: 3.094 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.796e-05/0.004618, allocations: 59.41 kB / 483.8 MB, free: 3.023 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.877e-05/0.004676, allocations: 134.7 kB / 484 MB, free: 2.883 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.004693, allocations: 29.7 kB / 484 MB, free: 2.848 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.197e-05/0.004725, allocations: 89.38 kB / 484.1 MB, free: 2.758 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.00474, allocations: 16.5 kB / 484.1 MB, free: 2.742 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.551e-05/0.004785, allocations: 37.69 kB / 484.1 MB, free: 2.699 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.846e-05/0.004854, allocations: 323.4 kB / 484.4 MB, free: 2.375 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.56e-05/0.004899, allocations: 49.69 kB / 484.5 MB, free: 2.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.212e-05/0.004951, allocations: 84.84 kB / 484.6 MB, free: 2.219 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.24e-05/0.005024, allocations: 107.6 kB / 484.7 MB, free: 2.094 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.005026, allocations: 5.781 kB / 484.7 MB, free: 2.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001319/0.005158, allocations: 168.9 kB / 484.9 MB, free: 1.906 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.005186, allocations: 38.59 kB / 484.9 MB, free: 1.863 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.00519, allocations: 0 / 484.9 MB, free: 1.863 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.005205, allocations: 7.938 kB / 484.9 MB, free: 1.855 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.08e-05/0.005256, allocations: 12.81 kB / 484.9 MB, free: 1.844 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.005259, allocations: 3.984 kB / 484.9 MB, free: 1.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.681e-05/0.005336, allocations: 33.31 kB / 484.9 MB, free: 1.809 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.005347, allocations: 4 kB / 485 MB, free: 1.805 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 6.223e-05/0.00541, allocations: 131.5 kB / 485.1 MB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.278e-06/0.005419, allocations: 4.938 kB / 485.1 MB, free: 1.664 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.768e-05/0.005436, allocations: 8.438 kB / 485.1 MB, free: 1.656 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.00544, allocations: 7.938 kB / 485.1 MB, free: 1.648 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.005442, allocations: 1.094 kB / 485.1 MB, free: 1.648 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.005445, allocations: 3.984 kB / 485.1 MB, free: 1.645 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.005599, allocations: 215.9 kB / 485.3 MB, free: 1.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.0056, allocations: 0 / 485.3 MB, free: 1.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.966e-05/0.00562, allocations: 7.984 kB / 485.3 MB, free: 1.402 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.005621, allocations: 0.6875 kB / 485.3 MB, free: 1.402 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.005626, allocations: 3.938 kB / 485.3 MB, free: 1.398 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.005628, allocations: 5.531 kB / 485.3 MB, free: 1.395 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.005628, allocations: 0 / 485.3 MB, free: 1.395 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.167e-05/0.0057, allocations: 156.5 kB / 485.5 MB, free: 1.227 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.005706, allocations: 3.953 kB / 485.5 MB, free: 1.223 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.00572, allocations: 12.78 kB / 485.5 MB, free: 1.211 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.253e-05/0.005753, allocations: 3.984 kB / 485.5 MB, free: 1.207 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/0.005777, allocations: 9.141 kB / 485.5 MB, free: 1.199 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.005781, allocations: 0 / 485.5 MB, free: 1.199 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001365/0.005918, allocations: 20.84 kB / 485.5 MB, free: 1.176 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005918, allocations: 0.875 kB / 485.5 MB, free: 1.176 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000143/0.006061, allocations: 23.98 kB / 485.6 MB, free: 1.152 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 9.306e-05/0.006154, allocations: 85.17 kB / 485.6 MB, free: 1.062 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001328/0.006286, allocations: 147 kB / 485.8 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.00629, allocations: 5.188 kB / 485.8 MB, free: 0.8945 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.781e-05/0.006318, allocations: 24.78 kB / 485.8 MB, free: 0.8672 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.006448, allocations: 16.92 kB / 485.8 MB, free: 0.8516 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002211/0.006669, allocations: 155.1 kB / 486 MB, free: 0.668 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.33e-05/0.006702, allocations: 67.28 kB / 486.1 MB, free: 0.582 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.046e-05/0.006723, allocations: 4.719 kB / 486.1 MB, free: 0.5781 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.174e-05/0.006794, allocations: 75.34 kB / 486.1 MB, free: 0.5039 MB / 442.7 MB Notification: Performance of SimCode: time 5.21e-07/0.006795, allocations: 0.625 kB / 486.1 MB, free: 0.5039 MB / 442.7 MB Notification: Performance of Templates: time 0.003107/0.009902, allocations: 1.658 MB / 487.8 MB, free: 14.96 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5068672876805067]