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.0006689/0.0006689, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009404/0.001609, 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.0006915/0.0006915, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009591/0.001651, 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.001/1.001, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09095/1.092, 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.8258/0.8258, allocations: 154.6 MB / 398.8 MB, free: 380 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.2735/1.099, allocations: 49.04 MB / 447.8 MB, free: 6.609 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.553e-06/1.553e-06, allocations: 0 / 449.1 MB, free: 5.336 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.963e-05/2.118e-05, allocations: 3.078 kB / 449.1 MB, free: 5.332 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002142/0.002163, allocations: 1.539 MB / 450.6 MB, free: 3.824 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.000547/0.00271, allocations: 458.4 kB / 451.1 MB, free: 3.375 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.073e-05/0.002741, allocations: 0.9062 kB / 451.1 MB, free: 3.375 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.173e-05/0.002763, allocations: 7.922 kB / 451.1 MB, free: 3.367 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.096e-05/0.002814, allocations: 16.06 kB / 451.1 MB, free: 3.355 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.751e-05/0.002891, allocations: 15.92 kB / 451.1 MB, free: 3.34 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.003004, allocations: 56.34 kB / 451.2 MB, free: 3.297 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.27e-05/0.003077, allocations: 8.641 kB / 451.2 MB, free: 3.289 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.397e-05/0.00316, allocations: 35.75 kB / 451.2 MB, free: 3.258 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.296e-05/0.003223, allocations: 17.39 kB / 451.3 MB, free: 3.242 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.003244, allocations: 6.953 kB / 451.3 MB, free: 3.238 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.003254, allocations: 4 kB / 451.3 MB, free: 3.234 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.003276, allocations: 9.844 kB / 451.3 MB, free: 3.227 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/0.003308, allocations: 9.531 kB / 451.3 MB, free: 3.219 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.506e-05/0.003403, allocations: 31.31 kB / 451.3 MB, free: 3.191 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.003413, allocations: 0 / 451.3 MB, free: 3.191 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.003414, allocations: 0 / 451.3 MB, free: 3.191 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.003425, allocations: 1.969 kB / 451.3 MB, free: 3.191 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.0004367/0.003862, allocations: 296.3 kB / 451.6 MB, free: 2.875 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.003894, allocations: 8.578 kB / 451.6 MB, free: 2.867 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.003928, allocations: 10.91 kB / 451.6 MB, free: 2.859 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.186e-05/0.00401, allocations: 122.5 kB / 451.7 MB, free: 2.715 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.00402, allocations: 4.375 kB / 451.7 MB, free: 2.711 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.00403, allocations: 4.375 kB / 451.8 MB, free: 2.707 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.228e-05/0.004112, allocations: 72.92 kB / 451.8 MB, free: 2.625 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.004118, allocations: 0.8438 kB / 451.8 MB, free: 2.625 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.004124, allocations: 384 / 451.8 MB, free: 2.625 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.004131, allocations: 11.09 kB / 451.8 MB, free: 2.617 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.096e-05/0.004162, allocations: 37.69 kB / 451.9 MB, free: 2.574 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002212/0.004383, allocations: 152.9 kB / 452 MB, free: 2.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.489e-05/0.004438, allocations: 56.3 kB / 452.1 MB, free: 2.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.463e-05/0.004463, allocations: 49.84 kB / 452.1 MB, free: 2.285 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.004476, allocations: 0 / 452.1 MB, free: 2.285 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/0.004584, allocations: 127.8 kB / 452.2 MB, free: 2.137 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.004585, allocations: 0 / 452.2 MB, free: 2.137 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001486/0.004734, allocations: 162.7 kB / 452.4 MB, free: 1.953 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.004799, allocations: 166.2 kB / 452.6 MB, free: 1.754 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.792e-05/0.004857, allocations: 118.6 kB / 452.7 MB, free: 1.625 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.004866, allocations: 29.7 kB / 452.7 MB, free: 1.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.95e-05/0.004896, allocations: 81.05 kB / 452.8 MB, free: 1.508 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.004913, allocations: 19.89 kB / 452.8 MB, free: 1.488 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.004943, allocations: 26.56 kB / 452.8 MB, free: 1.457 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.723e-05/0.00502, allocations: 320.7 kB / 453.2 MB, free: 1.137 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.259e-05/0.005042, allocations: 37.69 kB / 453.2 MB, free: 1.094 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.44e-05/0.005077, allocations: 62.61 kB / 453.3 MB, free: 1.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.253e-05/0.005139, allocations: 110.8 kB / 453.4 MB, free: 0.8906 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.005141, allocations: 0.5469 kB / 453.4 MB, free: 0.8906 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.324e-05/0.005224, allocations: 122 kB / 453.5 MB, free: 0.7539 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/0.005259, allocations: 41.69 kB / 453.5 MB, free: 0.707 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.005264, allocations: 9.188 kB / 453.5 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.005274, allocations: 0 / 453.5 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.991e-05/0.005314, allocations: 11.94 kB / 453.5 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.005318, allocations: 0.6562 kB / 453.5 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.482e-05/0.005362, allocations: 4 kB / 453.5 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.005372, allocations: 5.219 kB / 453.5 MB, free: 0.6797 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 8.654e-05/0.005458, allocations: 143.5 kB / 453.7 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.005476, allocations: 13.05 kB / 453.7 MB, free: 0.5117 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.005505, allocations: 13.69 kB / 453.7 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.005508, allocations: 4 kB / 453.7 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.005511, allocations: 5.219 kB / 453.7 MB, free: 500 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.005515, allocations: 0 / 453.7 MB, free: 500 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.00574, allocations: 286.1 kB / 454 MB, free: 176 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.005742, allocations: 0.7188 kB / 454 MB, free: 176 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.354e-06/0.005749, allocations: 3.938 kB / 454 MB, free: 172 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-06/0.005758, allocations: 17.41 kB / 454 MB, free: 156 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.005761, allocations: 0 / 454 MB, free: 156 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.005767, allocations: 4 kB / 454 MB, free: 152 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.005768, allocations: 0 / 454 MB, free: 152 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.005769, allocations: 1.5 kB / 454 MB, free: 152 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.005886, allocations: 218.9 kB / 454.2 MB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.005902, allocations: 7.938 kB / 454.3 MB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.966e-05/0.005951, allocations: 4 kB / 454.3 MB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.005985, allocations: 12.67 kB / 454.3 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.005997, allocations: 7.938 kB / 454.3 MB, free: 15.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.528e-05/0.006013, allocations: 17.39 kB / 454.3 MB, free: 15.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006013, allocations: 1.219 kB / 454.3 MB, free: 15.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001244/0.006137, allocations: 19.95 kB / 454.3 MB, free: 15.84 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 6.791e-05/0.006205, allocations: 77.78 kB / 454.4 MB, free: 15.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.006332, allocations: 164.1 kB / 454.6 MB, free: 15.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.006335, allocations: 0.6875 kB / 454.6 MB, free: 15.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.979e-05/0.006395, allocations: 110.7 kB / 454.7 MB, free: 15.44 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.006567, allocations: 101.7 kB / 454.8 MB, free: 15.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.006933, allocations: 195 kB / 454.9 MB, free: 15.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.26e-05/0.006966, allocations: 55.98 kB / 455 MB, free: 15.03 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.237e-05/0.006988, allocations: 9.5 kB / 455 MB, free: 15.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.09e-05/0.007049, allocations: 64.31 kB / 455.1 MB, free: 14.96 MB / 442.7 MB Notification: Performance of SimCode: time 8.52e-07/0.00705, allocations: 0 / 455.1 MB, free: 14.96 MB / 442.7 MB Notification: Performance of Templates: time 0.002477/0.009527, allocations: 0.9933 MB / 456.1 MB, free: 14.04 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.4507508696988225]