Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008617/0.0008617, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001306/0.002168, 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.0007311/0.0007311, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009512/0.001682, 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 1.002/1.002, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09826/1.101, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.7816/0.7816, allocations: 154.6 MB / 398.8 MB, free: 372 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.2699/1.051, allocations: 49.05 MB / 447.8 MB, free: 6.586 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.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 449.1 MB, free: 5.277 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.407e-06/1.132e-05, allocations: 2.312 kB / 449.1 MB, free: 5.273 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001139/0.00115, allocations: 0.7894 MB / 449.9 MB, free: 4.531 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009722/0.002122, allocations: 1.21 MB / 451.1 MB, free: 3.309 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.662e-05/0.002159, allocations: 3.938 kB / 451.1 MB, free: 3.305 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.057e-05/0.002179, allocations: 3.938 kB / 451.2 MB, free: 3.301 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.21e-05/0.002221, allocations: 16.2 kB / 451.2 MB, free: 3.289 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.002471, allocations: 128.8 kB / 451.3 MB, free: 3.164 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.002609, allocations: 117.6 kB / 451.4 MB, free: 3.062 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.772e-05/0.002677, allocations: 15.98 kB / 451.4 MB, free: 3.047 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.002789, allocations: 71.16 kB / 451.5 MB, free: 2.98 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.778e-05/0.002877, allocations: 38.97 kB / 451.5 MB, free: 2.945 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.0029, allocations: 12.98 kB / 451.5 MB, free: 2.934 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.63e-05/0.002977, allocations: 21.45 kB / 451.6 MB, free: 2.914 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.003001, allocations: 10.3 kB / 451.6 MB, free: 2.906 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.652e-05/0.003048, allocations: 26.62 kB / 451.6 MB, free: 2.883 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.003189, allocations: 86.03 kB / 451.7 MB, free: 2.801 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.003198, allocations: 2.5 kB / 451.7 MB, free: 2.801 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003199, allocations: 0 / 451.7 MB, free: 2.801 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.003207, allocations: 0 / 451.7 MB, free: 2.801 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004297/0.003637, allocations: 316.1 kB / 452 MB, free: 2.461 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.003674, allocations: 12.03 kB / 452 MB, free: 2.449 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.003711, allocations: 8.922 kB / 452 MB, free: 2.441 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.849e-05/0.00379, allocations: 118.7 kB / 452.1 MB, free: 2.301 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.003801, allocations: 4.375 kB / 452.1 MB, free: 2.297 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.003821, allocations: 8.375 kB / 452.1 MB, free: 2.289 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.003922, allocations: 65.11 kB / 452.2 MB, free: 2.219 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.259e-06/0.003927, allocations: 192 / 452.2 MB, free: 2.219 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.003936, allocations: 8.312 kB / 452.2 MB, free: 2.211 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.00394, allocations: 384 / 452.2 MB, free: 2.211 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.983e-05/0.003969, allocations: 21.41 kB / 452.2 MB, free: 2.191 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002709/0.00424, allocations: 185.2 kB / 452.4 MB, free: 1.996 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.364e-05/0.004314, allocations: 30.52 kB / 452.4 MB, free: 1.957 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.926e-05/0.004333, allocations: 13.61 kB / 452.5 MB, free: 1.941 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.004343, allocations: 13.33 kB / 452.5 MB, free: 1.934 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.613e-05/0.004429, allocations: 63.44 kB / 452.5 MB, free: 1.859 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.00443, allocations: 0 / 452.5 MB, free: 1.859 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001301/0.00456, allocations: 77.55 kB / 452.6 MB, free: 1.777 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.004597, allocations: 55.41 kB / 452.7 MB, free: 1.711 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.724e-05/0.004664, allocations: 126.6 kB / 452.8 MB, free: 1.574 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.004687, allocations: 33.7 kB / 452.8 MB, free: 1.535 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.134e-05/0.004729, allocations: 93.33 kB / 452.9 MB, free: 1.441 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.004748, allocations: 15.84 kB / 452.9 MB, free: 1.426 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-05/0.004808, allocations: 41.69 kB / 453 MB, free: 1.379 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.988e-05/0.004888, allocations: 315.3 kB / 453.3 MB, free: 1.062 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.563e-05/0.004943, allocations: 55.41 kB / 453.3 MB, free: 1.004 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.942e-05/0.005013, allocations: 89.95 kB / 453.4 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.372e-05/0.005106, allocations: 102.8 kB / 453.5 MB, free: 0.7734 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.005108, allocations: 0 / 453.5 MB, free: 0.7734 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001736/0.005282, allocations: 174.3 kB / 453.7 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.005316, allocations: 37.69 kB / 453.7 MB, free: 0.543 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.005321, allocations: 5.25 kB / 453.7 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.005331, allocations: 4 kB / 453.7 MB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.105e-05/0.005392, allocations: 11.94 kB / 453.7 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.005394, allocations: 0.5312 kB / 453.7 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.005496, allocations: 32.97 kB / 453.8 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.005511, allocations: 4 kB / 453.8 MB, free: 500 kB / 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,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 0.0001414/0.005653, allocations: 125 kB / 453.9 MB, free: 368 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.005665, allocations: 4 kB / 453.9 MB, free: 364 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.005692, allocations: 17.44 kB / 453.9 MB, free: 344 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.005693, allocations: 0 / 453.9 MB, free: 344 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.005695, allocations: 1.438 kB / 453.9 MB, free: 344 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.005698, allocations: 0 / 453.9 MB, free: 344 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.005889, allocations: 218.8 kB / 454.1 MB, free: 100 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.005892, allocations: 4.062 kB / 454.1 MB, free: 96 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.064e-05/0.005922, allocations: 12.77 kB / 454.2 MB, free: 84 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-06/0.00593, allocations: 7.891 kB / 454.2 MB, free: 76 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.005932, allocations: 1.438 kB / 454.2 MB, free: 76 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.005938, allocations: 4 kB / 454.2 MB, free: 72 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.00594, allocations: 3.938 kB / 454.2 MB, free: 68 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.005941, allocations: 0 / 454.2 MB, free: 68 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.006049, allocations: 164.7 kB / 454.3 MB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.006064, allocations: 3.938 kB / 454.3 MB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.504e-05/0.006119, allocations: 8.766 kB / 454.3 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.006149, allocations: 7.984 kB / 454.4 MB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.006155, allocations: 4.875 kB / 454.4 MB, free: 15.87 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.855e-05/0.006174, allocations: 19.03 kB / 454.4 MB, free: 15.85 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006174, allocations: 1.062 kB / 454.4 MB, free: 15.85 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000202/0.006376, allocations: 23.94 kB / 454.4 MB, free: 15.82 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.792e-05/0.006473, allocations: 86.92 kB / 454.5 MB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001657/0.006639, allocations: 159 kB / 454.6 MB, free: 15.56 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.006644, allocations: 0 / 454.6 MB, free: 15.56 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.847e-05/0.006682, allocations: 25.55 kB / 454.7 MB, free: 15.53 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.006878, allocations: 102.3 kB / 454.8 MB, free: 15.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/0.007334, allocations: 169.7 kB / 454.9 MB, free: 15.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.724e-05/0.007372, allocations: 59.88 kB / 455 MB, free: 15.15 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.518e-05/0.007397, allocations: 4.656 kB / 455 MB, free: 15.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.995e-05/0.007487, allocations: 68.64 kB / 455.1 MB, free: 15.08 MB / 442.7 MB Notification: Performance of SimCode: time 5.61e-07/0.007487, allocations: 0 / 455.1 MB, free: 15.08 MB / 442.7 MB Notification: Performance of Templates: time 0.003286/0.01077, allocations: 1.676 MB / 456.7 MB, free: 13.52 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5907362895086408]