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.0007027/0.0007027, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009221/0.001625, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007051/0.0007051, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008897/0.001595, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9886/0.9886, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1262/1.115, allocations: 53.67 MB / 243.2 MB, free: 15.59 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.8425/0.8425, allocations: 154.6 MB / 398.5 MB, free: 0.5234 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2768/1.119, allocations: 49.04 MB / 447.6 MB, free: 6.695 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.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.272e-06/1.272e-06, allocations: 0 / 448.8 MB, free: 5.453 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565e-05/1.692e-05, allocations: 2.312 kB / 448.8 MB, free: 5.449 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.001979/0.001996, allocations: 1.537 MB / 450.4 MB, free: 3.945 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006189/0.002614, allocations: 457.2 kB / 450.8 MB, free: 3.496 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.313e-05/0.002658, allocations: 4 kB / 450.8 MB, free: 3.492 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.002684, allocations: 3.938 kB / 450.8 MB, free: 3.488 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.341e-05/0.002738, allocations: 8.266 kB / 450.8 MB, free: 3.484 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.601e-05/0.002824, allocations: 25.27 kB / 450.9 MB, free: 3.461 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.002943, allocations: 51.14 kB / 450.9 MB, free: 3.422 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.734e-05/0.00302, allocations: 7.984 kB / 450.9 MB, free: 3.414 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.343e-05/0.003103, allocations: 44.25 kB / 451 MB, free: 3.379 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.296e-05/0.003186, allocations: 18.38 kB / 451 MB, free: 3.363 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.00321, allocations: 4.5 kB / 451 MB, free: 3.359 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.003222, allocations: 5.688 kB / 451 MB, free: 3.355 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.028e-05/0.003242, allocations: 6.516 kB / 451 MB, free: 3.352 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.003276, allocations: 8.875 kB / 451 MB, free: 3.344 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.49e-05/0.003371, allocations: 36.5 kB / 451 MB, free: 3.309 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.367e-05/0.003384, allocations: 0 / 451 MB, free: 3.309 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003385, allocations: 2.812 kB / 451 MB, free: 3.309 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.003397, allocations: 0 / 451 MB, free: 3.309 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.00044/0.003837, allocations: 296.3 kB / 451.3 MB, free: 2.992 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.003873, allocations: 8.031 kB / 451.3 MB, free: 2.984 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.00391, allocations: 4.938 kB / 451.3 MB, free: 2.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.54e-05/0.004005, allocations: 123.2 kB / 451.5 MB, free: 2.836 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.004015, allocations: 4.375 kB / 451.5 MB, free: 2.832 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.004024, allocations: 4.375 kB / 451.5 MB, free: 2.828 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.98e-05/0.004124, allocations: 73.61 kB / 451.5 MB, free: 2.746 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.00413, allocations: 2.156 kB / 451.5 MB, free: 2.746 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.004139, allocations: 8.375 kB / 451.6 MB, free: 2.738 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.004145, allocations: 3.938 kB / 451.6 MB, free: 2.734 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.437e-05/0.004179, allocations: 33.7 kB / 451.6 MB, free: 2.695 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/0.004438, allocations: 152.3 kB / 451.7 MB, free: 2.531 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.356e-05/0.004522, allocations: 60.88 kB / 451.8 MB, free: 2.457 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.4e-05/0.004556, allocations: 46.48 kB / 451.8 MB, free: 2.402 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.004575, allocations: 1.344 kB / 451.8 MB, free: 2.402 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/0.004707, allocations: 131 kB / 452 MB, free: 2.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.004709, allocations: 0 / 452 MB, free: 2.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001473/0.004856, allocations: 167.2 kB / 452.1 MB, free: 2.062 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.004898, allocations: 81.83 kB / 452.2 MB, free: 1.965 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.747e-05/0.004956, allocations: 114.6 kB / 452.3 MB, free: 1.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.004968, allocations: 32.58 kB / 452.4 MB, free: 1.805 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.261e-05/0.005, allocations: 92.11 kB / 452.4 MB, free: 1.711 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.005015, allocations: 11.91 kB / 452.5 MB, free: 1.699 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.005045, allocations: 25.7 kB / 452.5 MB, free: 1.668 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.616e-05/0.005132, allocations: 322.8 kB / 452.8 MB, free: 1.344 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.972e-05/0.005151, allocations: 33.7 kB / 452.8 MB, free: 1.305 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.485e-05/0.005186, allocations: 66.05 kB / 452.9 MB, free: 1.227 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.617e-05/0.005252, allocations: 106.9 kB / 453 MB, free: 1.102 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.005256, allocations: 4 kB / 453 MB, free: 1.098 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.819e-05/0.005344, allocations: 126.8 kB / 453.1 MB, free: 0.957 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.612e-05/0.00538, allocations: 37.69 kB / 453.2 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.005386, allocations: 3.938 kB / 453.2 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.005395, allocations: 1.438 kB / 453.2 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.672e-05/0.005431, allocations: 7.938 kB / 453.2 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.005434, allocations: 4 kB / 453.2 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.443e-05/0.005468, allocations: 4.812 kB / 453.2 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.005473, allocations: 0 / 453.2 MB, free: 0.8945 MB / 426.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 6.835e-05/0.005541, allocations: 152.5 kB / 453.3 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.005554, allocations: 9.172 kB / 453.3 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.193e-05/0.005576, allocations: 16.92 kB / 453.4 MB, free: 0.707 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.005578, allocations: 1.25 kB / 453.4 MB, free: 0.707 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.005579, allocations: 4 kB / 453.4 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.005582, allocations: 0 / 453.4 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.005796, allocations: 286.7 kB / 453.6 MB, free: 396 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.005798, allocations: 0 / 453.6 MB, free: 396 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.029e-06/0.005803, allocations: 5.156 kB / 453.7 MB, free: 392 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.216e-06/0.005811, allocations: 7.938 kB / 453.7 MB, free: 384 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.005812, allocations: 0 / 453.7 MB, free: 384 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.005819, allocations: 4.734 kB / 453.7 MB, free: 380 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.005821, allocations: 4 kB / 453.7 MB, free: 376 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.005823, allocations: 5.094 kB / 453.7 MB, free: 372 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.005939, allocations: 224.3 kB / 453.9 MB, free: 120 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.005954, allocations: 7.938 kB / 453.9 MB, free: 112 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.919e-05/0.006013, allocations: 8.594 kB / 453.9 MB, free: 104 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.006052, allocations: 7.984 kB / 453.9 MB, free: 96 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.006065, allocations: 1.906 kB / 453.9 MB, free: 96 kB / 426.7 MB Notification: Performance of sorting global known variables: time 1.754e-05/0.006082, allocations: 16.84 kB / 453.9 MB, free: 76 kB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006082, allocations: 0 / 453.9 MB, free: 76 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001289/0.006211, allocations: 19.95 kB / 454 MB, free: 56 kB / 426.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 9.271e-05/0.006304, allocations: 81.61 kB / 454 MB, free: 15.97 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.00645, allocations: 163.6 kB / 454.2 MB, free: 15.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.006456, allocations: 4.5 kB / 454.2 MB, free: 15.78 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.08e-05/0.006516, allocations: 111.7 kB / 454.3 MB, free: 15.65 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.006678, allocations: 16.52 kB / 454.3 MB, free: 15.63 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004094/0.007087, allocations: 187.5 kB / 454.5 MB, free: 15.42 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.917e-05/0.007126, allocations: 63.34 kB / 454.6 MB, free: 15.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.21e-05/0.007148, allocations: 4 kB / 454.6 MB, free: 15.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/0.007208, allocations: 63.98 kB / 454.6 MB, free: 15.27 MB / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/0.007209, allocations: 0.625 kB / 454.6 MB, free: 15.27 MB / 442.7 MB Notification: Performance of Templates: time 0.002313/0.009522, allocations: 1.01 MB / 455.6 MB, free: 14.34 MB / 442.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.5264902198687196]