Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.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.001203/0.001203, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001187/0.001187, allocations: 177.4 kB / 23.36 MB, free: 1.129 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 0.9455/0.9455, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.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.79/0.79, allocations: 154.6 MB / 414.9 MB, free: 0.5 MB / 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. " [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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0.6562 kB / 480 MB, free: 6.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/2.013e-05, allocations: 5.156 kB / 480 MB, free: 6.965 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.001823/0.001843, allocations: 1.482 MB / 481.4 MB, free: 5.5 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000628/0.002471, allocations: 463.1 kB / 481.9 MB, free: 5.051 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.002503, allocations: 0 / 481.9 MB, free: 5.051 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.231e-05/0.002526, allocations: 8.484 kB / 481.9 MB, free: 5.043 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.126e-05/0.002597, allocations: 12.06 kB / 481.9 MB, free: 5.035 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001104/0.002708, allocations: 17.97 kB / 481.9 MB, free: 5.02 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.213e-05/0.0028, allocations: 53.81 kB / 482 MB, free: 4.977 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.508e-05/0.002865, allocations: 7.938 kB / 482 MB, free: 4.969 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.292e-05/0.002938, allocations: 32.25 kB / 482 MB, free: 4.941 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.645e-05/0.002994, allocations: 21.48 kB / 482 MB, free: 4.922 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.003011, allocations: 6.688 kB / 482 MB, free: 4.918 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-06/0.003019, allocations: 4 kB / 482.1 MB, free: 4.914 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.003042, allocations: 8.766 kB / 482.1 MB, free: 4.906 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.003076, allocations: 13.33 kB / 482.1 MB, free: 4.895 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.8e-05/0.003164, allocations: 32.8 kB / 482.1 MB, free: 4.863 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.003166, allocations: 0 / 482.1 MB, free: 4.863 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.003168, allocations: 5.422 kB / 482.1 MB, free: 4.859 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.003171, allocations: 0 / 482.1 MB, free: 4.859 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003539/0.003525, allocations: 290.5 kB / 482.4 MB, free: 4.551 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.003556, allocations: 8.031 kB / 482.4 MB, free: 4.543 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.625e-05/0.003582, allocations: 13.95 kB / 482.4 MB, free: 4.531 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.401e-05/0.003656, allocations: 113.7 kB / 482.5 MB, free: 4.395 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.003666, allocations: 4.375 kB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.003676, allocations: 5 kB / 482.5 MB, free: 4.387 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.811e-05/0.003754, allocations: 73.39 kB / 482.6 MB, free: 4.305 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.003761, allocations: 2.594 kB / 482.6 MB, free: 4.305 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.003767, allocations: 384 / 482.6 MB, free: 4.305 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.003772, allocations: 3.938 kB / 482.6 MB, free: 4.301 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.795e-05/0.0038, allocations: 37.7 kB / 482.7 MB, free: 4.258 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002114/0.004012, allocations: 160.3 kB / 482.8 MB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.57e-05/0.004067, allocations: 57.56 kB / 482.9 MB, free: 4.016 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.374e-05/0.004091, allocations: 42.55 kB / 482.9 MB, free: 3.965 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.004102, allocations: 0 / 482.9 MB, free: 3.965 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.675e-05/0.004198, allocations: 127 kB / 483 MB, free: 3.816 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.0042, allocations: 0.875 kB / 483 MB, free: 3.816 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.000144/0.004344, allocations: 159.2 kB / 483.2 MB, free: 3.637 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.004382, allocations: 82.17 kB / 483.3 MB, free: 3.539 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.543e-05/0.004437, allocations: 118.6 kB / 483.4 MB, free: 3.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.004448, allocations: 29.7 kB / 483.4 MB, free: 3.375 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.717e-05/0.004475, allocations: 80.77 kB / 483.5 MB, free: 3.293 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.004493, allocations: 28.44 kB / 483.5 MB, free: 3.266 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.004521, allocations: 25.7 kB / 483.5 MB, free: 3.234 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.036e-05/0.004591, allocations: 319.5 kB / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.004611, allocations: 33.7 kB / 483.9 MB, free: 2.875 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.683e-05/0.004648, allocations: 68.81 kB / 484 MB, free: 2.793 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.775e-05/0.004706, allocations: 103.6 kB / 484.1 MB, free: 2.672 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.004708, allocations: 0 / 484.1 MB, free: 2.672 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.739e-05/0.004795, allocations: 129.7 kB / 484.2 MB, free: 2.527 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.004821, allocations: 34.23 kB / 484.2 MB, free: 2.488 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.004826, allocations: 8.406 kB / 484.2 MB, free: 2.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.004837, allocations: 0 / 484.2 MB, free: 2.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.25e-05/0.00487, allocations: 9.406 kB / 484.2 MB, free: 2.473 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.085e-06/0.004873, allocations: 0 / 484.2 MB, free: 2.473 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.694e-05/0.00491, allocations: 11.92 kB / 484.2 MB, free: 2.461 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.004915, allocations: 4.906 kB / 484.3 MB, free: 2.457 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.837e-05/0.004994, allocations: 140.6 kB / 484.4 MB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.005007, allocations: 12.73 kB / 484.4 MB, free: 2.293 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.932e-05/0.005026, allocations: 12.38 kB / 484.4 MB, free: 2.281 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.005028, allocations: 4.625 kB / 484.4 MB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.00503, allocations: 0 / 484.4 MB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.005033, allocations: 1.312 kB / 484.4 MB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.00524, allocations: 278.1 kB / 484.7 MB, free: 1.969 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.005242, allocations: 3.984 kB / 484.7 MB, free: 1.965 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.301e-06/0.005249, allocations: 10.34 kB / 484.7 MB, free: 1.957 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.005251, allocations: 3.938 kB / 484.7 MB, free: 1.953 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.005257, allocations: 1.062 kB / 484.7 MB, free: 1.953 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.005258, allocations: 0 / 484.7 MB, free: 1.953 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.005259, allocations: 0 / 484.7 MB, free: 1.953 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.005361, allocations: 224 kB / 484.9 MB, free: 1.707 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.338e-05/0.005375, allocations: 15.89 kB / 484.9 MB, free: 1.691 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.005389, allocations: 3.938 kB / 484.9 MB, free: 1.688 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.955e-05/0.005439, allocations: 13.03 kB / 485 MB, free: 1.676 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.005467, allocations: 4.047 kB / 485 MB, free: 1.672 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.005479, allocations: 12.69 kB / 485 MB, free: 1.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.363e-05/0.005493, allocations: 12.84 kB / 485 MB, free: 1.645 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005493, allocations: 1.562 kB / 485 MB, free: 1.645 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001289/0.005622, allocations: 20 kB / 485 MB, free: 1.625 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 7.032e-05/0.005692, allocations: 81.19 kB / 485.1 MB, free: 1.539 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.005808, allocations: 155.6 kB / 485.2 MB, free: 1.359 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.005812, allocations: 4.562 kB / 485.2 MB, free: 1.355 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.773e-05/0.00587, allocations: 106.9 kB / 485.4 MB, free: 1.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.006019, allocations: 11.98 kB / 485.4 MB, free: 1.219 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002287/0.006248, allocations: 188.1 kB / 485.5 MB, free: 1.008 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.097e-05/0.006279, allocations: 56.11 kB / 485.6 MB, free: 0.9336 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.237e-05/0.006302, allocations: 8.484 kB / 485.6 MB, free: 0.9258 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.985e-05/0.006361, allocations: 63.88 kB / 485.7 MB, free: 0.8633 MB / 442.7 MB Notification: Performance of SimCode: time 5.51e-07/0.006362, allocations: 7.875 kB / 485.7 MB, free: 0.8555 MB / 442.7 MB Notification: Performance of Templates: time 0.002444/0.008806, allocations: 0.9619 MB / 486.6 MB, free: 15.97 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5518827959895134]