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.001352/0.001352, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001574/0.001574, allocations: 169 kB / 23.27 MB, free: 1.223 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.9553/0.9553, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.7187/0.7187, allocations: 154.9 MB / 415.1 MB, free: 260 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.293e-06/1.293e-06, allocations: 0 / 0.5211 GB, free: 1.605 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.865e-05, allocations: 6.359 kB / 0.5211 GB, free: 1.602 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.001716/0.001735, allocations: 1.463 MB / 0.5225 GB, free: 152 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005585/0.002293, allocations: 461.1 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.002328, allocations: 0.9688 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.48e-05/0.002353, allocations: 3.938 kB / 0.523 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.535e-05/0.002428, allocations: 17.61 kB / 0.523 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001248/0.002553, allocations: 19.92 kB / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.711e-05/0.00264, allocations: 51.78 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.15e-05/0.002712, allocations: 7.984 kB / 0.523 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.17e-05/0.002783, allocations: 32.42 kB / 0.5231 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.534e-05/0.002839, allocations: 11.98 kB / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.002857, allocations: 4.5 kB / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.727e-06/0.002866, allocations: 4.906 kB / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.253e-05/0.002888, allocations: 15.91 kB / 0.5231 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.002913, allocations: 12.78 kB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 8.587e-05/0.002999, allocations: 35.83 kB / 0.5232 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.003001, allocations: 0.625 kB / 0.5232 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.52e-07/0.003002, allocations: 0 / 0.5232 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.885e-06/0.003005, allocations: 1 kB / 0.5232 GB, free: 15.48 MB / 0.4948 GB 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.000372/0.003377, allocations: 415.1 kB / 0.5236 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.003409, allocations: 8.031 kB / 0.5236 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.003438, allocations: 14.64 kB / 0.5236 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.473e-05/0.003503, allocations: 116.5 kB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.003513, allocations: 12.34 kB / 0.5237 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-06/0.00352, allocations: 4.375 kB / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.522e-05/0.003595, allocations: 69.67 kB / 0.5238 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-06/0.003602, allocations: 192 / 0.5238 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.003609, allocations: 4.375 kB / 0.5238 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.003615, allocations: 3.938 kB / 0.5238 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.634e-05/0.003641, allocations: 37.69 kB / 0.5238 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002275/0.003868, allocations: 245.2 kB / 0.524 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.473e-05/0.003923, allocations: 70 kB / 0.5241 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.34e-05/0.003946, allocations: 49.5 kB / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.003961, allocations: 0 / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001003/0.004062, allocations: 125.7 kB / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.004063, allocations: 3.938 kB / 0.5243 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0001801/0.004243, allocations: 190.6 kB / 0.5245 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.004274, allocations: 81.11 kB / 0.5245 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.289e-05/0.004337, allocations: 172.1 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.004346, allocations: 25.7 kB / 0.5247 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/0.004383, allocations: 134.9 kB / 0.5249 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.0044, allocations: 27.83 kB / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.004429, allocations: 27.38 kB / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.219e-05/0.004521, allocations: 0.4901 MB / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.964e-05/0.004541, allocations: 37.64 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-05/0.004574, allocations: 72.73 kB / 0.5255 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.834e-05/0.004632, allocations: 110.8 kB / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.004633, allocations: 0.5625 kB / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.755e-05/0.004731, allocations: 145.9 kB / 0.5257 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.004755, allocations: 38.62 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.004759, allocations: 0 / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.00477, allocations: 4 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.236e-05/0.004803, allocations: 8.875 kB / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.004805, allocations: 0 / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.407e-05/0.004839, allocations: 8.859 kB / 0.5258 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.004844, allocations: 4 kB / 0.5258 GB, free: 12.46 MB / 0.4948 GB 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.281e-05/0.004917, allocations: 199.4 kB / 0.526 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.004929, allocations: 4 kB / 0.526 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/0.004952, allocations: 20.31 kB / 0.526 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.004954, allocations: 2.969 kB / 0.526 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.004955, allocations: 0 / 0.526 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.004959, allocations: 3.984 kB / 0.526 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.005193, allocations: 393.3 kB / 0.5264 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.005195, allocations: 0 / 0.5264 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.556e-06/0.005198, allocations: 4 kB / 0.5264 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.0052, allocations: 3.938 kB / 0.5264 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.005205, allocations: 0 / 0.5264 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.005207, allocations: 10.97 kB / 0.5264 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.005208, allocations: 0 / 0.5264 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.005331, allocations: 307.5 kB / 0.5267 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-06/0.005339, allocations: 11.89 kB / 0.5267 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.005352, allocations: 4 kB / 0.5267 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.087e-05/0.005402, allocations: 4 kB / 0.5267 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.005432, allocations: 15.97 kB / 0.5267 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.005442, allocations: 0 / 0.5267 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.179e-05/0.005474, allocations: 132.7 kB / 0.5269 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.005474, allocations: 0 / 0.5269 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001393/0.005613, allocations: 12 kB / 0.5269 GB, free: 11.27 MB / 0.4948 GB 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.883e-05/0.005682, allocations: 99.75 kB / 0.527 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001119/0.005794, allocations: 169.4 kB / 0.5271 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.005796, allocations: 4 kB / 0.5271 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.366e-05/0.00585, allocations: 104.8 kB / 0.5272 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.006035, allocations: 16.17 kB / 0.5273 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002196/0.006255, allocations: 199.6 kB / 0.5275 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.974e-05/0.006284, allocations: 58.36 kB / 0.5275 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.015e-05/0.006305, allocations: 7.984 kB / 0.5275 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.774e-05/0.006362, allocations: 82.2 kB / 0.5276 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of SimCode: time 6.92e-07/0.006363, allocations: 0 / 0.5276 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.002337/0.0087, allocations: 1.019 MB / 0.5286 GB, free: 9.477 MB / 0.4948 GB " [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.3249181150458753]