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.00101/0.00101, allocations: 80.75 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.001125/0.001125, allocations: 181 kB / 23.35 MB, free: 1.137 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.126/1.126, allocations: 177.2 MB / 203.8 MB, free: 5.465 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.8628/0.8628, allocations: 154.9 MB / 415.1 MB, free: 220 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 2.345e-06/2.345e-06, allocations: 0.6562 kB / 480.4 MB, free: 6.488 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/2.157e-05, allocations: 2.312 kB / 480.4 MB, free: 6.484 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001506/0.001527, allocations: 0.7779 MB / 481.2 MB, free: 5.746 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.002707, allocations: 1.215 MB / 482.4 MB, free: 4.527 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.28e-05/0.00275, allocations: 0.6875 kB / 482.4 MB, free: 4.527 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.783e-05/0.002778, allocations: 7.875 kB / 482.4 MB, free: 4.52 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.757e-05/0.002855, allocations: 13.05 kB / 482.4 MB, free: 4.512 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.003195, allocations: 133.1 kB / 482.6 MB, free: 4.383 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.00334, allocations: 124.3 kB / 482.7 MB, free: 4.273 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.584e-05/0.003416, allocations: 12.95 kB / 482.7 MB, free: 4.262 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.003518, allocations: 63.56 kB / 482.8 MB, free: 4.203 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.278e-05/0.003591, allocations: 45.73 kB / 482.8 MB, free: 4.16 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.003612, allocations: 12 kB / 482.8 MB, free: 4.148 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.893e-05/0.003671, allocations: 16 kB / 482.8 MB, free: 4.133 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.003691, allocations: 15.97 kB / 482.8 MB, free: 4.117 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.003728, allocations: 37.09 kB / 482.9 MB, free: 4.082 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.003852, allocations: 99.73 kB / 483 MB, free: 3.984 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.003854, allocations: 0 / 483 MB, free: 3.984 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.003855, allocations: 4.969 kB / 483 MB, free: 3.98 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.865e-06/0.003857, allocations: 0 / 483 MB, free: 3.98 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.000355/0.004212, allocations: 306.4 kB / 483.3 MB, free: 3.652 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.004243, allocations: 12.03 kB / 483.3 MB, free: 3.641 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.004275, allocations: 10.27 kB / 483.3 MB, free: 3.633 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.291e-05/0.004347, allocations: 113.8 kB / 483.4 MB, free: 3.496 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.004361, allocations: 8.375 kB / 483.4 MB, free: 3.488 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.004375, allocations: 8.359 kB / 483.4 MB, free: 3.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.976e-05/0.004465, allocations: 67.05 kB / 483.5 MB, free: 3.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.505e-06/0.004472, allocations: 192 / 483.5 MB, free: 3.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.026e-06/0.00448, allocations: 4.375 kB / 483.5 MB, free: 3.406 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.004485, allocations: 384 / 483.5 MB, free: 3.406 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.594e-05/0.004511, allocations: 20.7 kB / 483.5 MB, free: 3.387 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002502/0.004761, allocations: 177.5 kB / 483.7 MB, free: 3.199 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.945e-05/0.004831, allocations: 38.62 kB / 483.7 MB, free: 3.152 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.633e-05/0.004847, allocations: 13.42 kB / 483.7 MB, free: 3.137 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.555e-06/0.004855, allocations: 4 kB / 483.7 MB, free: 3.133 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.543e-05/0.00493, allocations: 68.28 kB / 483.8 MB, free: 3.055 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 7.42e-07/0.004931, allocations: 3.938 kB / 483.8 MB, free: 3.051 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001158/0.005047, allocations: 82.44 kB / 483.9 MB, free: 2.965 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.005074, allocations: 59.34 kB / 484 MB, free: 2.895 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.51e-05/0.005129, allocations: 119.5 kB / 484.1 MB, free: 2.766 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.005145, allocations: 29.7 kB / 484.1 MB, free: 2.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.554e-05/0.005181, allocations: 97.34 kB / 484.2 MB, free: 2.633 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.005197, allocations: 19.84 kB / 484.2 MB, free: 2.613 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.005241, allocations: 38.31 kB / 484.3 MB, free: 2.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.772e-05/0.005328, allocations: 318.8 kB / 484.6 MB, free: 2.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.612e-05/0.005394, allocations: 50.31 kB / 484.6 MB, free: 2.195 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.867e-05/0.005463, allocations: 89.59 kB / 484.7 MB, free: 2.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.729e-05/0.00554, allocations: 103.1 kB / 484.8 MB, free: 1.969 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.005543, allocations: 0.7812 kB / 484.8 MB, free: 1.969 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001567/0.005699, allocations: 169.5 kB / 485 MB, free: 1.785 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.005726, allocations: 39.42 kB / 485 MB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.005731, allocations: 3.938 kB / 485 MB, free: 1.738 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.005745, allocations: 4 kB / 485 MB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.985e-05/0.005804, allocations: 11.98 kB / 485 MB, free: 1.723 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.005808, allocations: 4.844 kB / 485 MB, free: 1.719 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.487e-05/0.005883, allocations: 24.64 kB / 485.1 MB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.005902, allocations: 7.984 kB / 485.1 MB, free: 1.688 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 5.956e-05/0.005962, allocations: 120.8 kB / 485.2 MB, free: 1.562 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-06/0.005972, allocations: 8 kB / 485.2 MB, free: 1.555 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.096e-05/0.005993, allocations: 16.36 kB / 485.2 MB, free: 1.539 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.005994, allocations: 0 / 485.2 MB, free: 1.539 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.005995, allocations: 0 / 485.2 MB, free: 1.539 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.005999, allocations: 0.9375 kB / 485.2 MB, free: 1.539 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.006202, allocations: 230.6 kB / 485.4 MB, free: 1.289 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.006203, allocations: 5.656 kB / 485.4 MB, free: 1.285 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.271e-05/0.006226, allocations: 8 kB / 485.4 MB, free: 1.277 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.006229, allocations: 3.938 kB / 485.4 MB, free: 1.273 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.006238, allocations: 0 / 485.4 MB, free: 1.273 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.006238, allocations: 1.875 kB / 485.5 MB, free: 1.273 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.006239, allocations: 0 / 485.5 MB, free: 1.273 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.006361, allocations: 159.5 kB / 485.6 MB, free: 1.102 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-06/0.00637, allocations: 7.984 kB / 485.6 MB, free: 1.094 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.006383, allocations: 3.938 kB / 485.6 MB, free: 1.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.721e-05/0.00643, allocations: 4.75 kB / 485.6 MB, free: 1.086 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.00646, allocations: 13.02 kB / 485.6 MB, free: 1.074 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.006464, allocations: 0.9688 kB / 485.6 MB, free: 1.074 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.539e-05/0.00648, allocations: 20.02 kB / 485.7 MB, free: 1.055 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00648, allocations: 1.031 kB / 485.7 MB, free: 1.055 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001427/0.006622, allocations: 31.89 kB / 485.7 MB, free: 1.023 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 8.773e-05/0.00671, allocations: 85.45 kB / 485.8 MB, free: 0.9336 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.006851, allocations: 151 kB / 485.9 MB, free: 0.7656 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.006853, allocations: 0 / 485.9 MB, free: 0.7656 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.157e-05/0.006885, allocations: 29.66 kB / 485.9 MB, free: 0.7344 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.007014, allocations: 10.02 kB / 486 MB, free: 0.7266 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002171/0.007231, allocations: 157.5 kB / 486.1 MB, free: 0.543 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.206e-05/0.007263, allocations: 60.11 kB / 486.2 MB, free: 476 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.209e-05/0.007285, allocations: 10.89 kB / 486.2 MB, free: 468 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.123e-05/0.007356, allocations: 67.95 kB / 486.2 MB, free: 400 kB / 442.7 MB Notification: Performance of SimCode: time 4.61e-07/0.007357, allocations: 0 / 486.2 MB, free: 400 kB / 442.7 MB Notification: Performance of Templates: time 0.002854/0.01021, allocations: 1.651 MB / 487.9 MB, free: 14.86 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.846918965689838]