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.0007304/0.0007304, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001131/0.001861, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007698/0.0007698, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.0018, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.034/1.034, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08871/1.123, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7894/0.7894, allocations: 155.3 MB / 399.2 MB, free: 15.93 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 NFInstanceAPI.mkTop(): time 0.3426/1.132, allocations: 49.14 MB / 448.4 MB, free: 6.023 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.883e-06/1.883e-06, allocations: 0 / 449.7 MB, free: 4.742 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.507e-05, allocations: 4.281 kB / 449.7 MB, free: 4.738 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001859/0.001884, allocations: 0.7832 MB / 450.5 MB, free: 3.992 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003341/0.005226, allocations: 1.197 MB / 451.7 MB, free: 2.781 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.238e-05/0.005268, allocations: 5.969 kB / 451.7 MB, free: 2.777 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.249e-05/0.00529, allocations: 3.938 kB / 451.7 MB, free: 2.773 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.639e-05/0.005337, allocations: 11.81 kB / 451.7 MB, free: 2.766 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.005654, allocations: 124.8 kB / 451.8 MB, free: 2.645 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.005801, allocations: 120 kB / 451.9 MB, free: 2.539 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.046e-05/0.005872, allocations: 13.7 kB / 451.9 MB, free: 2.527 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.00598, allocations: 83.28 kB / 452 MB, free: 2.453 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.502e-05/0.006055, allocations: 34.8 kB / 452.1 MB, free: 2.422 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.006075, allocations: 8.75 kB / 452.1 MB, free: 2.414 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.541e-05/0.006151, allocations: 27.98 kB / 452.1 MB, free: 2.387 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.151e-05/0.006172, allocations: 6.984 kB / 452.1 MB, free: 2.383 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.006211, allocations: 27.94 kB / 452.1 MB, free: 2.355 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.006343, allocations: 76.95 kB / 452.2 MB, free: 2.281 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.356e-05/0.006356, allocations: 0 / 452.2 MB, free: 2.281 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.006357, allocations: 0 / 452.2 MB, free: 2.281 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.00637, allocations: 4.844 kB / 452.2 MB, free: 2.277 MB / 426.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.0004031/0.006773, allocations: 316.2 kB / 452.5 MB, free: 1.938 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.006801, allocations: 8.531 kB / 452.5 MB, free: 1.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.006832, allocations: 14.64 kB / 452.5 MB, free: 1.918 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.954e-05/0.006921, allocations: 109.7 kB / 452.6 MB, free: 1.785 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.006933, allocations: 8.375 kB / 452.7 MB, free: 1.777 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.006949, allocations: 12.36 kB / 452.7 MB, free: 1.766 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.00705, allocations: 63.67 kB / 452.7 MB, free: 1.695 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.007057, allocations: 1.062 kB / 452.7 MB, free: 1.695 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.007064, allocations: 4.375 kB / 452.7 MB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.007068, allocations: 1.125 kB / 452.7 MB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.775e-05/0.007096, allocations: 15.88 kB / 452.8 MB, free: 1.676 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002529/0.007349, allocations: 181.4 kB / 452.9 MB, free: 1.484 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.696e-05/0.007426, allocations: 31.53 kB / 453 MB, free: 1.445 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.007444, allocations: 18.89 kB / 453 MB, free: 1.426 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.964e-05/0.007484, allocations: 4 kB / 453 MB, free: 1.422 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.767e-05/0.007572, allocations: 67.38 kB / 453 MB, free: 1.344 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 2.504e-06/0.007574, allocations: 5.219 kB / 453.1 MB, free: 1.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001268/0.007701, allocations: 66.92 kB / 453.1 MB, free: 1.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.007732, allocations: 59.41 kB / 453.2 MB, free: 1.199 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.025e-05/0.007802, allocations: 130.5 kB / 453.3 MB, free: 1.059 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.007822, allocations: 29.7 kB / 453.3 MB, free: 1.023 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.007858, allocations: 92.75 kB / 453.4 MB, free: 0.9297 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.007875, allocations: 15.88 kB / 453.4 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.007925, allocations: 38.91 kB / 453.5 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.166e-05/0.007997, allocations: 318.8 kB / 453.8 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.293e-05/0.00805, allocations: 57.69 kB / 453.8 MB, free: 500 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.00817, allocations: 82.84 kB / 453.9 MB, free: 396 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.692e-05/0.008247, allocations: 107.3 kB / 454 MB, free: 268 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.008249, allocations: 0.5938 kB / 454 MB, free: 268 kB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001398/0.008389, allocations: 174.7 kB / 454.2 MB, free: 76 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.008422, allocations: 37.69 kB / 454.2 MB, free: 32 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.008427, allocations: 0 / 454.2 MB, free: 32 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.008436, allocations: 5.312 kB / 454.2 MB, free: 28 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.35e-05/0.008499, allocations: 20.05 kB / 454.3 MB, free: 8 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.008502, allocations: 0 / 454.3 MB, free: 8 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.214e-05/0.008594, allocations: 29.28 kB / 454.3 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.008606, allocations: 7.984 kB / 454.3 MB, free: 15.97 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.478e-05/0.008671, allocations: 130.3 kB / 454.4 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.008681, allocations: 6.5 kB / 454.4 MB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.008705, allocations: 12.42 kB / 454.4 MB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.008707, allocations: 11.88 kB / 454.5 MB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.008709, allocations: 0 / 454.5 MB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.008713, allocations: 1.359 kB / 454.5 MB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.008885, allocations: 214.8 kB / 454.7 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.008887, allocations: 0 / 454.7 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.584e-05/0.008922, allocations: 9.172 kB / 454.7 MB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-06/0.008932, allocations: 11.89 kB / 454.7 MB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.008934, allocations: 0 / 454.7 MB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.00894, allocations: 1.031 kB / 454.7 MB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.008943, allocations: 4 kB / 454.7 MB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.008945, allocations: 0 / 454.7 MB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.534e-05/0.00903, allocations: 152 kB / 454.8 MB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.009047, allocations: 13.02 kB / 454.9 MB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.843e-05/0.009086, allocations: 4 kB / 454.9 MB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.009117, allocations: 3.984 kB / 454.9 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.009122, allocations: 4.625 kB / 454.9 MB, free: 15.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.95e-05/0.009142, allocations: 27.34 kB / 454.9 MB, free: 15.33 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009142, allocations: 0.625 kB / 454.9 MB, free: 15.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001459/0.009287, allocations: 20.62 kB / 454.9 MB, free: 15.31 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.0001014/0.009389, allocations: 81.05 kB / 455 MB, free: 15.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001414/0.00953, allocations: 156.1 kB / 455.1 MB, free: 15.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.009536, allocations: 4 kB / 455.2 MB, free: 15.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.014e-05/0.009566, allocations: 29.36 kB / 455.2 MB, free: 15.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.009705, allocations: 20.75 kB / 455.2 MB, free: 15 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.01013, allocations: 166.6 kB / 455.4 MB, free: 14.81 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.755e-05/0.01016, allocations: 63.22 kB / 455.4 MB, free: 14.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.596e-05/0.01019, allocations: 7.266 kB / 455.4 MB, free: 14.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.695e-05/0.01027, allocations: 71.36 kB / 455.5 MB, free: 14.66 MB / 442.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01027, allocations: 4.938 kB / 455.5 MB, free: 14.65 MB / 442.7 MB Notification: Performance of Templates: time 0.003438/0.0137, allocations: 1.707 MB / 457.2 MB, free: 13.07 MB / 442.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.6430895924568176]