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.00124/0.00124, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001898/0.003137, allocations: 440 kB / 10.41 MB, free: 284 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.001168/0.001168, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001355/0.002524, allocations: 475.6 kB / 11.8 MB, free: 2.375 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 0.9677/0.9677, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08556/1.053, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.8324/0.8324, allocations: 155.3 MB / 399.5 MB, free: 15.79 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.2929/1.125, allocations: 49.14 MB / 448.6 MB, free: 5.906 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.423e-06/1.423e-06, allocations: 0 / 449.9 MB, free: 4.605 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.309e-05, allocations: 7.969 kB / 449.9 MB, free: 4.602 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.00142/0.001443, allocations: 0.7875 MB / 450.7 MB, free: 3.848 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.002538, allocations: 1.201 MB / 451.9 MB, free: 2.633 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.974e-05/0.002588, allocations: 0.5312 kB / 451.9 MB, free: 2.633 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.375e-05/0.002612, allocations: 3.938 kB / 451.9 MB, free: 2.629 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.775e-05/0.002659, allocations: 26.84 kB / 452 MB, free: 2.609 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.002944, allocations: 123.6 kB / 452.1 MB, free: 2.488 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.003098, allocations: 119.5 kB / 452.2 MB, free: 2.387 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.437e-05/0.003173, allocations: 10.58 kB / 452.2 MB, free: 2.379 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.003305, allocations: 78.61 kB / 452.3 MB, free: 2.305 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.376e-05/0.003378, allocations: 39 kB / 452.3 MB, free: 2.27 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.0034, allocations: 12 kB / 452.3 MB, free: 2.258 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.036e-05/0.003471, allocations: 20.59 kB / 452.4 MB, free: 2.238 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.815e-05/0.003499, allocations: 15.47 kB / 452.4 MB, free: 2.227 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.003615, allocations: 21.75 kB / 452.4 MB, free: 2.207 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.003756, allocations: 77.12 kB / 452.5 MB, free: 2.137 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.226e-05/0.003768, allocations: 0 / 452.5 MB, free: 2.137 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.003769, allocations: 0 / 452.5 MB, free: 2.137 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.003777, allocations: 0 / 452.5 MB, free: 2.137 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.0004433/0.004221, allocations: 316.8 kB / 452.8 MB, free: 1.797 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.00425, allocations: 15.25 kB / 452.8 MB, free: 1.785 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.004288, allocations: 13.91 kB / 452.8 MB, free: 1.773 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.619e-05/0.004374, allocations: 118.4 kB / 452.9 MB, free: 1.633 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.004386, allocations: 4.375 kB / 452.9 MB, free: 1.629 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.004404, allocations: 4.375 kB / 452.9 MB, free: 1.625 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.004513, allocations: 62.94 kB / 453 MB, free: 1.555 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.00452, allocations: 192 / 453 MB, free: 1.555 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.004527, allocations: 1.359 kB / 453 MB, free: 1.555 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.004534, allocations: 6.5 kB / 453 MB, free: 1.551 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.445e-05/0.004558, allocations: 15.91 kB / 453 MB, free: 1.535 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002685/0.004827, allocations: 178.1 kB / 453.2 MB, free: 1.348 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.414e-05/0.004911, allocations: 38.62 kB / 453.2 MB, free: 1.301 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.853e-05/0.00493, allocations: 12.86 kB / 453.2 MB, free: 1.285 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.004936, allocations: 0.875 kB / 453.2 MB, free: 1.285 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.632e-05/0.005032, allocations: 75.42 kB / 453.3 MB, free: 1.199 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.005034, allocations: 1.281 kB / 453.3 MB, free: 1.199 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001295/0.005163, allocations: 74.36 kB / 453.4 MB, free: 1.121 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.005192, allocations: 51.41 kB / 453.4 MB, free: 1.059 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.266e-05/0.005255, allocations: 122.6 kB / 453.6 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.005274, allocations: 34.36 kB / 453.6 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.505e-05/0.005309, allocations: 97.02 kB / 453.7 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.005328, allocations: 19.89 kB / 453.7 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/0.005383, allocations: 33.69 kB / 453.7 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.581e-05/0.005468, allocations: 323.4 kB / 454.1 MB, free: 416 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.569e-05/0.005524, allocations: 49.69 kB / 454.1 MB, free: 360 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.00572, allocations: 94.75 kB / 454.2 MB, free: 244 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.824e-05/0.005798, allocations: 107.4 kB / 454.3 MB, free: 116 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.005801, allocations: 0.5 kB / 454.3 MB, free: 116 kB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001547/0.005955, allocations: 170.7 kB / 454.5 MB, free: 15.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.005992, allocations: 34.86 kB / 454.5 MB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.005997, allocations: 0 / 454.5 MB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.006012, allocations: 7.938 kB / 454.5 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.829e-05/0.006081, allocations: 17.83 kB / 454.5 MB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.006085, allocations: 4 kB / 454.5 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.572e-05/0.006171, allocations: 27.92 kB / 454.6 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.006184, allocations: 4 kB / 454.6 MB, free: 15.83 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.664e-05/0.00626, allocations: 122.8 kB / 454.7 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.006272, allocations: 8.516 kB / 454.7 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.006302, allocations: 15.3 kB / 454.7 MB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.006305, allocations: 4.594 kB / 454.7 MB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.006307, allocations: 1.25 kB / 454.7 MB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.006311, allocations: 0 / 454.7 MB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.006541, allocations: 214.8 kB / 454.9 MB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.006544, allocations: 0 / 454.9 MB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.406e-05/0.006578, allocations: 16.91 kB / 454.9 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-06/0.006587, allocations: 11.88 kB / 454.9 MB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.00659, allocations: 4.875 kB / 455 MB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-06/0.006595, allocations: 0 / 455 MB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.006596, allocations: 0.9062 kB / 455 MB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.006597, allocations: 0 / 455 MB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.177e-05/0.006679, allocations: 163.5 kB / 455.1 MB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.006694, allocations: 4.562 kB / 455.1 MB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.721e-05/0.006732, allocations: 4.625 kB / 455.1 MB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.006764, allocations: 11.98 kB / 455.1 MB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.006769, allocations: 0.625 kB / 455.1 MB, free: 15.22 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.171e-05/0.00679, allocations: 22.36 kB / 455.2 MB, free: 15.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00679, allocations: 4.562 kB / 455.2 MB, free: 15.19 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001444/0.006935, allocations: 24.62 kB / 455.2 MB, free: 15.17 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.0001144/0.007049, allocations: 85.03 kB / 455.3 MB, free: 15.08 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.007192, allocations: 144.5 kB / 455.4 MB, free: 14.92 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.007198, allocations: 11.92 kB / 455.4 MB, free: 14.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.477e-05/0.007233, allocations: 28.78 kB / 455.5 MB, free: 14.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.007412, allocations: 98.41 kB / 455.5 MB, free: 14.76 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.007844, allocations: 158.4 kB / 455.7 MB, free: 14.58 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.842e-05/0.007883, allocations: 67.98 kB / 455.8 MB, free: 14.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.983e-05/0.007912, allocations: 12.73 kB / 455.8 MB, free: 14.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.231e-05/0.007995, allocations: 71.34 kB / 455.8 MB, free: 14.42 MB / 442.7 MB Notification: Performance of SimCode: time 6.41e-07/0.007995, allocations: 0 / 455.8 MB, free: 14.42 MB / 442.7 MB Notification: Performance of Templates: time 0.003197/0.01119, allocations: 1.669 MB / 457.5 MB, free: 12.87 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.5255457079038024]