Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008475/0.0008475, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001185/0.002033, 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.0008926/0.0008926, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001197/0.00209, allocations: 475.6 kB / 11.79 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.9981/0.9981, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09145/1.09, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7852/0.7852, allocations: 154.6 MB / 398.8 MB, free: 396 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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.2854/1.071, allocations: 49.05 MB / 447.8 MB, free: 6.594 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/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_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_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 449.2 MB, free: 5.285 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.307e-05, allocations: 2.312 kB / 449.2 MB, free: 5.281 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.00249/0.002513, allocations: 0.7895 MB / 449.9 MB, free: 4.539 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.004037, allocations: 1.201 MB / 451.1 MB, free: 3.324 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.94e-05/0.004086, allocations: 1.281 kB / 451.1 MB, free: 3.324 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.927e-05/0.004115, allocations: 4.484 kB / 451.2 MB, free: 3.32 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.745e-05/0.004173, allocations: 20.08 kB / 451.2 MB, free: 3.305 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004256/0.004598, allocations: 125.4 kB / 451.3 MB, free: 3.184 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.004815, allocations: 119.2 kB / 451.4 MB, free: 3.078 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.758e-05/0.004902, allocations: 9.188 kB / 451.4 MB, free: 3.07 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.005062, allocations: 83.45 kB / 451.5 MB, free: 2.992 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.712e-05/0.005159, allocations: 33.81 kB / 451.5 MB, free: 2.961 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.005189, allocations: 12.62 kB / 451.5 MB, free: 2.949 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.131e-05/0.00528, allocations: 20.97 kB / 451.6 MB, free: 2.93 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.063e-05/0.005311, allocations: 11.95 kB / 451.6 MB, free: 2.922 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.995e-05/0.005361, allocations: 22.3 kB / 451.6 MB, free: 2.902 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.00554, allocations: 78.09 kB / 451.7 MB, free: 2.828 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.157e-05/0.005561, allocations: 0 / 451.7 MB, free: 2.828 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.005565, allocations: 6.391 kB / 451.7 MB, free: 2.824 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.005579, allocations: 0 / 451.7 MB, free: 2.824 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.0005646/0.006143, allocations: 312.2 kB / 452 MB, free: 2.488 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.006183, allocations: 12.03 kB / 452 MB, free: 2.477 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.006234, allocations: 16.86 kB / 452 MB, free: 2.461 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.006335, allocations: 116.2 kB / 452.1 MB, free: 2.324 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.006352, allocations: 6.328 kB / 452.1 MB, free: 2.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.006376, allocations: 8.375 kB / 452.1 MB, free: 2.312 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.008553, allocations: 66.92 kB / 452.2 MB, free: 2.238 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.008565, allocations: 192 / 452.2 MB, free: 2.238 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.008579, allocations: 384 / 452.2 MB, free: 2.238 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.008587, allocations: 5.469 kB / 452.2 MB, free: 2.234 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.44e-05/0.008652, allocations: 7.938 kB / 452.2 MB, free: 2.227 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.009061, allocations: 184.2 kB / 452.4 MB, free: 2.031 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.009174, allocations: 38.5 kB / 452.4 MB, free: 1.988 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.895e-05/0.009202, allocations: 14.78 kB / 452.5 MB, free: 1.973 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.009211, allocations: 0 / 452.5 MB, free: 1.973 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001298/0.009341, allocations: 79.48 kB / 452.5 MB, free: 1.883 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.009342, allocations: 0 / 452.5 MB, free: 1.883 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001725/0.009515, allocations: 65.61 kB / 452.6 MB, free: 1.812 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.00955, allocations: 55.41 kB / 452.7 MB, free: 1.746 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.218e-05/0.009632, allocations: 126.6 kB / 452.8 MB, free: 1.609 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.009661, allocations: 34.61 kB / 452.8 MB, free: 1.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.573e-05/0.009716, allocations: 92.03 kB / 452.9 MB, free: 1.477 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.009742, allocations: 25.75 kB / 452.9 MB, free: 1.453 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.928e-05/0.009811, allocations: 33.69 kB / 453 MB, free: 1.414 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.3e-05/0.009904, allocations: 326.8 kB / 453.3 MB, free: 1.086 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.591e-05/0.00998, allocations: 49.69 kB / 453.3 MB, free: 1.031 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.835e-05/0.01007, allocations: 91.72 kB / 453.4 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.01018, allocations: 103.6 kB / 453.5 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01018, allocations: 0 / 453.5 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002187/0.0104, allocations: 170.8 kB / 453.7 MB, free: 0.6172 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.406e-05/0.01045, allocations: 37.7 kB / 453.7 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01045, allocations: 0 / 453.7 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.01046, allocations: 9.25 kB / 453.7 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.908e-05/0.01055, allocations: 11.98 kB / 453.7 MB, free: 0.5547 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.01056, allocations: 0 / 453.7 MB, free: 0.5547 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.01068, allocations: 24.59 kB / 453.8 MB, free: 0.5312 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.0107, allocations: 13.2 kB / 453.8 MB, free: 0.5195 MB / 426.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 8.743e-05/0.01079, allocations: 125.7 kB / 453.9 MB, free: 396 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.01081, allocations: 5.062 kB / 453.9 MB, free: 392 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.01084, allocations: 16.42 kB / 453.9 MB, free: 372 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.01084, allocations: 5.094 kB / 453.9 MB, free: 368 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.01084, allocations: 0 / 453.9 MB, free: 368 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01085, allocations: 64 / 453.9 MB, free: 368 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.01108, allocations: 223.5 kB / 454.1 MB, free: 120 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01108, allocations: 0 / 454.1 MB, free: 120 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.504e-05/0.01112, allocations: 9.5 kB / 454.2 MB, free: 112 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.01114, allocations: 7.891 kB / 454.2 MB, free: 104 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01114, allocations: 1.781 kB / 454.2 MB, free: 104 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.01115, allocations: 4 kB / 454.2 MB, free: 100 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.01115, allocations: 1.5 kB / 454.2 MB, free: 100 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.01115, allocations: 0 / 454.2 MB, free: 100 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.01129, allocations: 155.5 kB / 454.3 MB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.01132, allocations: 11.86 kB / 454.3 MB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.011e-05/0.01139, allocations: 8.625 kB / 454.3 MB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.01143, allocations: 11.98 kB / 454.4 MB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.01143, allocations: 0.5625 kB / 454.4 MB, free: 15.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.834e-05/0.01146, allocations: 25 kB / 454.4 MB, free: 15.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01146, allocations: 0 / 454.4 MB, free: 15.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002409/0.0117, allocations: 24 kB / 454.4 MB, free: 15.85 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.0001595/0.01186, allocations: 81.16 kB / 454.5 MB, free: 15.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.01207, allocations: 147.8 kB / 454.6 MB, free: 15.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.01207, allocations: 4.625 kB / 454.6 MB, free: 15.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.549e-05/0.01213, allocations: 37.17 kB / 454.7 MB, free: 15.56 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.01238, allocations: 102.5 kB / 454.8 MB, free: 15.44 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005918/0.01297, allocations: 162.8 kB / 454.9 MB, free: 15.26 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.319e-05/0.01302, allocations: 63.34 kB / 455 MB, free: 15.18 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.455e-05/0.01305, allocations: 5.438 kB / 455 MB, free: 15.17 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.01316, allocations: 63.36 kB / 455.1 MB, free: 15.11 MB / 442.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01316, allocations: 4 kB / 455.1 MB, free: 15.11 MB / 442.7 MB Notification: Performance of Templates: time 0.004311/0.01748, allocations: 1.669 MB / 456.7 MB, free: 13.55 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6237225579097867]