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.001063/0.001063, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001406/0.002469, 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.001038/0.001038, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001369/0.002407, 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 0.9641/0.9641, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0875/1.052, allocations: 53.66 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-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.816/0.816, allocations: 155.4 MB / 399.5 MB, free: 15.79 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.2774/1.093, allocations: 49.13 MB / 448.6 MB, free: 5.902 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.312e-06/1.312e-06, allocations: 0 / 449.9 MB, free: 4.641 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.761e-05/1.893e-05, allocations: 5.188 kB / 449.9 MB, free: 4.637 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002325/0.002344, allocations: 1.542 MB / 451.5 MB, free: 3.117 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006238/0.002968, allocations: 462.7 kB / 451.9 MB, free: 2.668 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.003, allocations: 0 / 451.9 MB, free: 2.668 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.315e-05/0.003023, allocations: 6.938 kB / 451.9 MB, free: 2.664 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.99e-05/0.003073, allocations: 14.5 kB / 451.9 MB, free: 2.652 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.068e-05/0.003153, allocations: 24.72 kB / 452 MB, free: 2.629 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.00327, allocations: 54.36 kB / 452 MB, free: 2.59 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.692e-05/0.003336, allocations: 6.219 kB / 452 MB, free: 2.586 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.003455, allocations: 39.56 kB / 452 MB, free: 2.551 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.594e-05/0.003521, allocations: 18.44 kB / 452.1 MB, free: 2.535 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.003541, allocations: 0 / 452.1 MB, free: 2.535 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.003551, allocations: 4 kB / 452.1 MB, free: 2.531 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.49e-05/0.003576, allocations: 10.52 kB / 452.1 MB, free: 2.523 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.003607, allocations: 9.812 kB / 452.1 MB, free: 2.516 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.57e-05/0.003703, allocations: 31.81 kB / 452.1 MB, free: 2.488 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.088e-05/0.003714, allocations: 0 / 452.1 MB, free: 2.488 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.003715, allocations: 1.281 kB / 452.1 MB, free: 2.488 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.003722, allocations: 0 / 452.1 MB, free: 2.488 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.0004439/0.004166, allocations: 301 kB / 452.4 MB, free: 2.168 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.004196, allocations: 10 kB / 452.4 MB, free: 2.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.487e-05/0.004231, allocations: 12.92 kB / 452.4 MB, free: 2.148 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.027e-05/0.004311, allocations: 113.7 kB / 452.6 MB, free: 2.012 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.004323, allocations: 4.922 kB / 452.6 MB, free: 2.008 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.004333, allocations: 384 / 452.6 MB, free: 2.008 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.353e-05/0.004426, allocations: 80.44 kB / 452.6 MB, free: 1.918 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.004434, allocations: 192 / 452.6 MB, free: 1.918 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.004441, allocations: 2.359 kB / 452.6 MB, free: 1.918 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.004448, allocations: 7.875 kB / 452.6 MB, free: 1.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.358e-05/0.004481, allocations: 43.34 kB / 452.7 MB, free: 1.863 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000224/0.004705, allocations: 152.3 kB / 452.8 MB, free: 1.699 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.185e-05/0.004767, allocations: 52.28 kB / 452.9 MB, free: 1.633 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.888e-05/0.004796, allocations: 47.33 kB / 452.9 MB, free: 1.578 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.004809, allocations: 0 / 452.9 MB, free: 1.578 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/0.004931, allocations: 127.6 kB / 453.1 MB, free: 1.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.004932, allocations: 0 / 453.1 MB, free: 1.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.000164/0.005096, allocations: 163.5 kB / 453.2 MB, free: 1.246 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/0.005167, allocations: 162.2 kB / 453.4 MB, free: 1.051 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.611e-05/0.005233, allocations: 123.3 kB / 453.5 MB, free: 0.918 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.005247, allocations: 29.7 kB / 453.5 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/0.005281, allocations: 85.62 kB / 453.6 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.005299, allocations: 15.91 kB / 453.6 MB, free: 0.7812 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.005335, allocations: 25.69 kB / 453.6 MB, free: 0.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.222e-05/0.005418, allocations: 322.8 kB / 454 MB, free: 436 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.569e-05/0.005443, allocations: 39.8 kB / 454 MB, free: 392 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.662e-05/0.00548, allocations: 56.27 kB / 454.1 MB, free: 320 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.077e-05/0.005551, allocations: 109.9 kB / 454.2 MB, free: 188 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.005553, allocations: 0 / 454.2 MB, free: 188 kB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001058/0.005659, allocations: 125.9 kB / 454.3 MB, free: 44 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.005691, allocations: 34.7 kB / 454.3 MB, free: 4 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.005697, allocations: 5.391 kB / 454.3 MB, free: 0 / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.005708, allocations: 0 / 454.3 MB, free: 0 / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.213e-05/0.00576, allocations: 16.86 kB / 454.3 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.005763, allocations: 3.938 kB / 454.3 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.981e-05/0.005803, allocations: 4.625 kB / 454.4 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.005809, allocations: 4 kB / 454.4 MB, free: 15.97 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.223e-05/0.005881, allocations: 140.8 kB / 454.5 MB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.005899, allocations: 11.98 kB / 454.5 MB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.243e-05/0.005922, allocations: 12.91 kB / 454.5 MB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.005924, allocations: 4 kB / 454.5 MB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.005926, allocations: 0.5625 kB / 454.5 MB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.005929, allocations: 4.562 kB / 454.5 MB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.006164, allocations: 294 kB / 454.8 MB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.006165, allocations: 0.875 kB / 454.8 MB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.038e-05/0.006176, allocations: 4 kB / 454.8 MB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.039e-05/0.006186, allocations: 10.28 kB / 454.8 MB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.006188, allocations: 0 / 454.8 MB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.006195, allocations: 4 kB / 454.8 MB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.006197, allocations: 0.7188 kB / 454.8 MB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.006198, allocations: 0 / 454.8 MB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.006322, allocations: 227.8 kB / 455.1 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.00634, allocations: 7.938 kB / 455.1 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.966e-05/0.00641, allocations: 8.984 kB / 455.1 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.006442, allocations: 11.98 kB / 455.1 MB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.006454, allocations: 0 / 455.1 MB, free: 15.17 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.537e-05/0.006469, allocations: 13.48 kB / 455.1 MB, free: 15.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006469, allocations: 0 / 455.1 MB, free: 15.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001848/0.006654, allocations: 13.31 kB / 455.1 MB, free: 15.14 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.682e-05/0.006731, allocations: 88.34 kB / 455.2 MB, free: 15.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.006866, allocations: 165.5 kB / 455.4 MB, free: 14.86 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.00687, allocations: 0 / 455.4 MB, free: 14.86 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.551e-05/0.006935, allocations: 109.9 kB / 455.5 MB, free: 14.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.007173, allocations: 102.9 kB / 455.6 MB, free: 14.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003924/0.007566, allocations: 200.4 kB / 455.8 MB, free: 14.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.941e-05/0.007605, allocations: 63.92 kB / 455.8 MB, free: 14.31 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.526e-05/0.00763, allocations: 4.906 kB / 455.8 MB, free: 14.31 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.891e-05/0.007699, allocations: 67.36 kB / 455.9 MB, free: 14.24 MB / 442.7 MB Notification: Performance of SimCode: time 5.62e-07/0.0077, allocations: 0 / 455.9 MB, free: 14.24 MB / 442.7 MB Notification: Performance of Templates: time 0.002814/0.01051, allocations: 0.9947 MB / 456.9 MB, free: 13.34 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.5468188179656863]