Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009905/0.0009905, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001418/0.002408, 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.00103/0.00103, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001348/0.002378, 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 1.094/1.094, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1028/1.196, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.844/0.844, allocations: 155.3 MB / 399.2 MB, free: 15.92 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/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.2932/1.137, allocations: 49.13 MB / 448.4 MB, free: 6.031 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-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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 449.6 MB, free: 4.789 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.256e-05, allocations: 2.312 kB / 449.6 MB, free: 4.785 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002531/0.002554, allocations: 1.524 MB / 451.2 MB, free: 3.285 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005196/0.003074, allocations: 466.5 kB / 451.6 MB, free: 2.832 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.759e-05/0.003101, allocations: 1.969 kB / 451.6 MB, free: 2.832 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.764e-05/0.003119, allocations: 8.906 kB / 451.6 MB, free: 2.824 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.195e-05/0.003161, allocations: 2.734 kB / 451.6 MB, free: 2.824 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.61e-05/0.003237, allocations: 28.83 kB / 451.7 MB, free: 2.797 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.156e-05/0.003328, allocations: 51.34 kB / 451.7 MB, free: 2.758 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.238e-05/0.003381, allocations: 8.531 kB / 451.7 MB, free: 2.75 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.869e-05/0.00345, allocations: 39.22 kB / 451.8 MB, free: 2.719 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.934e-05/0.003499, allocations: 18.33 kB / 451.8 MB, free: 2.703 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.003514, allocations: 4.594 kB / 451.8 MB, free: 2.699 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.518e-06/0.003524, allocations: 4 kB / 451.8 MB, free: 2.695 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.003543, allocations: 13.97 kB / 451.8 MB, free: 2.684 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.003568, allocations: 13.91 kB / 451.8 MB, free: 2.672 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 7.625e-05/0.003644, allocations: 27.86 kB / 451.8 MB, free: 2.645 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.127e-05/0.003655, allocations: 0 / 451.8 MB, free: 2.645 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.003656, allocations: 4 kB / 451.9 MB, free: 2.641 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.00367, allocations: 0 / 451.9 MB, free: 2.641 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.0003913/0.004061, allocations: 293.2 kB / 452.1 MB, free: 2.328 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.617e-05/0.004087, allocations: 13.03 kB / 452.2 MB, free: 2.316 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.561e-05/0.004113, allocations: 4.938 kB / 452.2 MB, free: 2.312 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.004214, allocations: 122.5 kB / 452.3 MB, free: 2.168 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.004224, allocations: 384 / 452.3 MB, free: 2.168 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.004234, allocations: 8.375 kB / 452.3 MB, free: 2.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.085e-05/0.004325, allocations: 72.39 kB / 452.4 MB, free: 2.078 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.004332, allocations: 4.672 kB / 452.4 MB, free: 2.074 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-06/0.004337, allocations: 1.656 kB / 452.4 MB, free: 2.074 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.004342, allocations: 3.938 kB / 452.4 MB, free: 2.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.26e-05/0.004375, allocations: 37.7 kB / 452.4 MB, free: 2.027 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002189/0.004594, allocations: 157 kB / 452.6 MB, free: 1.859 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.959e-05/0.004653, allocations: 56.28 kB / 452.6 MB, free: 1.789 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.29e-05/0.004676, allocations: 40.47 kB / 452.6 MB, free: 1.742 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.004692, allocations: 7.984 kB / 452.7 MB, free: 1.734 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001059/0.004798, allocations: 123 kB / 452.8 MB, free: 1.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.004799, allocations: 0 / 452.8 MB, free: 1.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001406/0.00494, allocations: 166.6 kB / 452.9 MB, free: 1.402 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.004976, allocations: 81.67 kB / 453 MB, free: 1.305 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.736e-05/0.005033, allocations: 123.3 kB / 453.1 MB, free: 1.172 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.005044, allocations: 25.7 kB / 453.2 MB, free: 1.141 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.847e-05/0.005072, allocations: 80.64 kB / 453.2 MB, free: 1.059 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.005089, allocations: 25.25 kB / 453.3 MB, free: 1.035 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.00512, allocations: 29.64 kB / 453.3 MB, free: 1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.909e-05/0.005199, allocations: 322.8 kB / 453.6 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.108e-05/0.00522, allocations: 33.7 kB / 453.6 MB, free: 0.6367 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.034e-05/0.00525, allocations: 57.33 kB / 453.7 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.858e-05/0.005309, allocations: 114.6 kB / 453.8 MB, free: 444 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.00531, allocations: 0 / 453.8 MB, free: 444 kB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.26e-05/0.005393, allocations: 121.9 kB / 453.9 MB, free: 304 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.005423, allocations: 38.3 kB / 454 MB, free: 260 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.005428, allocations: 3.938 kB / 454 MB, free: 256 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.234e-06/0.005435, allocations: 5.422 kB / 454 MB, free: 252 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.336e-05/0.005468, allocations: 11.94 kB / 454 MB, free: 240 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.005471, allocations: 0 / 454 MB, free: 240 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.205e-05/0.005503, allocations: 4.844 kB / 454 MB, free: 236 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.005508, allocations: 4.844 kB / 454 MB, free: 232 kB / 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.653e-05/0.005575, allocations: 149 kB / 454.1 MB, free: 68 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.005586, allocations: 8 kB / 454.2 MB, free: 60 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.005609, allocations: 12.38 kB / 454.2 MB, free: 44 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.005611, allocations: 4 kB / 454.2 MB, free: 40 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.005614, allocations: 6.047 kB / 454.2 MB, free: 36 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.005617, allocations: 0 / 454.2 MB, free: 36 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.005838, allocations: 290.7 kB / 454.5 MB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.005839, allocations: 0 / 454.5 MB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-06/0.005847, allocations: 4.844 kB / 454.5 MB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-06/0.005854, allocations: 3.938 kB / 454.5 MB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.005856, allocations: 0.625 kB / 454.5 MB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.005863, allocations: 7.984 kB / 454.5 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.005864, allocations: 1.5 kB / 454.5 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.005866, allocations: 0 / 454.5 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.981e-05/0.005965, allocations: 222.9 kB / 454.7 MB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.005983, allocations: 7.922 kB / 454.7 MB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.109e-05/0.006035, allocations: 14.03 kB / 454.7 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.006068, allocations: 11.97 kB / 454.7 MB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.006079, allocations: 4 kB / 454.7 MB, free: 15.42 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.339e-05/0.006092, allocations: 12.84 kB / 454.7 MB, free: 15.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006092, allocations: 0 / 454.7 MB, free: 15.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001172/0.006209, allocations: 16.66 kB / 454.8 MB, free: 15.39 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.633e-05/0.006276, allocations: 86.62 kB / 454.8 MB, free: 15.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.006386, allocations: 156.8 kB / 455 MB, free: 15.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.006389, allocations: 0 / 455 MB, free: 15.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.96e-05/0.006449, allocations: 117.9 kB / 455.1 MB, free: 14.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.006586, allocations: 18.02 kB / 455.1 MB, free: 14.96 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003412/0.006927, allocations: 193.1 kB / 455.3 MB, free: 14.75 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.02e-05/0.006987, allocations: 63.86 kB / 455.4 MB, free: 14.67 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.14e-05/0.007009, allocations: 4.531 kB / 455.4 MB, free: 14.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.939e-05/0.007068, allocations: 67.92 kB / 455.5 MB, free: 14.6 MB / 442.7 MB Notification: Performance of SimCode: time 5.51e-07/0.007069, allocations: 0 / 455.5 MB, free: 14.6 MB / 442.7 MB Notification: Performance of Templates: time 0.002294/0.009362, allocations: 1.009 MB / 456.5 MB, free: 13.68 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6201106971129775]