Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.0009685/0.0009685, 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.001086/0.001086, allocations: 177 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.034/1.034, 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.7669/0.7669, allocations: 154.9 MB / 415.1 MB, free: 204 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.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 480.4 MB, free: 6.562 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181e-05/1.336e-05, allocations: 4.422 kB / 480.4 MB, free: 6.559 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.004477/0.00449, allocations: 0.7405 MB / 481.1 MB, free: 5.855 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.005764, allocations: 1.207 MB / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.246e-05/0.005806, allocations: 0.625 kB / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.667e-05/0.005833, allocations: 9.125 kB / 482.3 MB, free: 4.637 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.495e-05/0.005908, allocations: 11.5 kB / 482.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.006299, allocations: 136.9 kB / 482.5 MB, free: 4.496 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.00646, allocations: 119.9 kB / 482.6 MB, free: 4.391 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.037e-05/0.00653, allocations: 15.41 kB / 482.6 MB, free: 4.379 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.006643, allocations: 66.89 kB / 482.7 MB, free: 4.316 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.875e-05/0.006722, allocations: 38.67 kB / 482.7 MB, free: 4.281 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.006747, allocations: 15.98 kB / 482.7 MB, free: 4.266 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.28e-05/0.006799, allocations: 20.56 kB / 482.7 MB, free: 4.246 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.409e-05/0.006823, allocations: 20.17 kB / 482.8 MB, free: 4.23 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.006867, allocations: 31.97 kB / 482.8 MB, free: 4.199 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.007004, allocations: 99.73 kB / 482.9 MB, free: 4.102 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.007005, allocations: 3.938 kB / 482.9 MB, free: 4.098 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.007006, allocations: 0 / 482.9 MB, free: 4.098 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.005e-06/0.007009, allocations: 0 / 482.9 MB, free: 4.098 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.003376/0.01039, allocations: 301.6 kB / 483.2 MB, free: 3.773 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.01042, allocations: 13.22 kB / 483.2 MB, free: 3.762 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.01045, allocations: 8.922 kB / 483.2 MB, free: 3.754 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.852e-05/0.01053, allocations: 113.7 kB / 483.3 MB, free: 3.617 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.01054, allocations: 8.875 kB / 483.3 MB, free: 3.609 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.01056, allocations: 6.094 kB / 483.3 MB, free: 3.605 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.01067, allocations: 70.91 kB / 483.4 MB, free: 3.527 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.01067, allocations: 192 / 483.4 MB, free: 3.527 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.01068, allocations: 4.375 kB / 483.4 MB, free: 3.523 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.01069, allocations: 8.938 kB / 483.4 MB, free: 3.516 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.979e-05/0.01072, allocations: 17.47 kB / 483.4 MB, free: 3.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002653/0.01098, allocations: 180.8 kB / 483.6 MB, free: 3.309 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.582e-05/0.01106, allocations: 35.16 kB / 483.6 MB, free: 3.266 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.78e-05/0.01108, allocations: 13.61 kB / 483.7 MB, free: 3.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.01108, allocations: 4 kB / 483.7 MB, free: 3.246 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.208e-05/0.01117, allocations: 69.19 kB / 483.7 MB, free: 3.168 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.01117, allocations: 0 / 483.7 MB, free: 3.168 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001321/0.0113, allocations: 73.97 kB / 483.8 MB, free: 3.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.01133, allocations: 59.34 kB / 483.9 MB, free: 3.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.809e-05/0.0114, allocations: 131.4 kB / 484 MB, free: 2.879 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.01142, allocations: 33.7 kB / 484 MB, free: 2.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/0.01146, allocations: 89.73 kB / 484.1 MB, free: 2.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.01148, allocations: 15.84 kB / 484.1 MB, free: 2.734 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.95e-05/0.01154, allocations: 41.69 kB / 484.2 MB, free: 2.688 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.843e-05/0.01161, allocations: 319.3 kB / 484.5 MB, free: 2.367 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.576e-05/0.01167, allocations: 51 kB / 484.5 MB, free: 2.312 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.168e-05/0.01174, allocations: 89.97 kB / 484.6 MB, free: 2.203 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.165e-05/0.01183, allocations: 99.83 kB / 484.7 MB, free: 2.086 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01184, allocations: 0 / 484.7 MB, free: 2.086 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001694/0.01201, allocations: 173.8 kB / 484.9 MB, free: 1.898 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.01203, allocations: 37.69 kB / 484.9 MB, free: 1.855 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.01204, allocations: 5.094 kB / 484.9 MB, free: 1.852 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.01205, allocations: 4 kB / 484.9 MB, free: 1.848 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.501e-05/0.0121, allocations: 15.98 kB / 484.9 MB, free: 1.832 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.01211, allocations: 4.531 kB / 484.9 MB, free: 1.828 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.35e-05/0.0122, allocations: 21.77 kB / 485 MB, free: 1.809 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.01222, allocations: 11.92 kB / 485 MB, free: 1.797 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,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,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.353e-05/0.01229, allocations: 123.2 kB / 485.1 MB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.01231, allocations: 7.938 kB / 485.1 MB, free: 1.664 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.05e-05/0.01233, allocations: 12.38 kB / 485.1 MB, free: 1.652 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01233, allocations: 7.984 kB / 485.1 MB, free: 1.645 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.01233, allocations: 1.031 kB / 485.1 MB, free: 1.645 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.01234, allocations: 0 / 485.1 MB, free: 1.645 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.01252, allocations: 222.7 kB / 485.3 MB, free: 1.402 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.01252, allocations: 0.5312 kB / 485.3 MB, free: 1.402 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.01255, allocations: 9.078 kB / 485.4 MB, free: 1.395 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01255, allocations: 3.938 kB / 485.4 MB, free: 1.391 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.01256, allocations: 4 kB / 485.4 MB, free: 1.387 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-06/0.01256, allocations: 0.625 kB / 485.4 MB, free: 1.387 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01256, allocations: 0.625 kB / 485.4 MB, free: 1.387 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.821e-05/0.01265, allocations: 155.5 kB / 485.5 MB, free: 1.219 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.724e-06/0.01265, allocations: 4.625 kB / 485.5 MB, free: 1.215 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.01267, allocations: 11.98 kB / 485.5 MB, free: 1.203 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.151e-05/0.01272, allocations: 4.625 kB / 485.5 MB, free: 1.199 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.01275, allocations: 8.578 kB / 485.5 MB, free: 1.191 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.01276, allocations: 4 kB / 485.5 MB, free: 1.188 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.854e-05/0.01278, allocations: 22.2 kB / 485.6 MB, free: 1.164 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01278, allocations: 0 / 485.6 MB, free: 1.164 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002184/0.01299, allocations: 24 kB / 485.6 MB, free: 1.141 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.149e-05/0.01309, allocations: 77.36 kB / 485.7 MB, free: 1.059 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0032/0.01629, allocations: 155.1 kB / 485.8 MB, free: 0.8867 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.01629, allocations: 0 / 485.8 MB, free: 0.8867 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.484e-05/0.01632, allocations: 25.83 kB / 485.8 MB, free: 0.8594 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.01649, allocations: 16.45 kB / 485.9 MB, free: 0.8438 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000247/0.01674, allocations: 163.6 kB / 486 MB, free: 0.6562 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.468e-05/0.01677, allocations: 59.34 kB / 486.1 MB, free: 0.5781 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.571e-05/0.0168, allocations: 11.92 kB / 486.1 MB, free: 0.5664 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.145e-05/0.01688, allocations: 69.05 kB / 486.2 MB, free: 0.5 MB / 442.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01688, allocations: 0 / 486.2 MB, free: 0.5 MB / 442.7 MB Notification: Performance of Templates: time 0.006431/0.02331, allocations: 1.655 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.FallingEdge.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.61598729994148]