Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.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.001027/0.001027, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00109/0.00109, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.112/1.112, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.8105/0.8105, allocations: 154.9 MB / 415.1 MB, free: 244 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.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0.6562 kB / 480.4 MB, free: 6.484 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.671e-05, allocations: 2.312 kB / 480.4 MB, free: 6.48 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.003852/0.003879, allocations: 1.869 MB / 482.3 MB, free: 4.641 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.005146, allocations: 0.5723 MB / 482.9 MB, free: 4.074 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.005289, allocations: 12.44 kB / 482.9 MB, free: 4.062 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.005458, allocations: 23.7 kB / 482.9 MB, free: 4.043 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.005564, allocations: 28.55 kB / 482.9 MB, free: 4.023 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.005839, allocations: 72.5 kB / 483 MB, free: 3.953 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000265/0.006104, allocations: 173 kB / 483.2 MB, free: 3.785 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.00626, allocations: 46.38 kB / 483.2 MB, free: 3.738 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.006427, allocations: 84.67 kB / 483.3 MB, free: 3.656 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.761e-05/0.006515, allocations: 43.81 kB / 483.3 MB, free: 3.613 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.929e-05/0.006544, allocations: 8.656 kB / 483.3 MB, free: 3.605 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.078e-05/0.006565, allocations: 12 kB / 483.3 MB, free: 3.594 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.563e-05/0.006601, allocations: 29.16 kB / 483.4 MB, free: 3.566 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.807e-05/0.006659, allocations: 43.84 kB / 483.4 MB, free: 3.523 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.006848, allocations: 95.52 kB / 483.5 MB, free: 3.43 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.006852, allocations: 0.5625 kB / 483.5 MB, free: 3.43 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.006853, allocations: 0 / 483.5 MB, free: 3.43 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.006858, allocations: 2.906 kB / 483.5 MB, free: 3.43 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005136/0.007371, allocations: 371.2 kB / 483.9 MB, free: 3.047 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.007403, allocations: 8.031 kB / 483.9 MB, free: 3.039 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.007447, allocations: 24.91 kB / 483.9 MB, free: 3.016 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.007643, allocations: 171.4 kB / 484.1 MB, free: 2.824 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.007654, allocations: 5.062 kB / 484.1 MB, free: 2.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/0.007694, allocations: 24.3 kB / 484.1 MB, free: 2.797 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.007853, allocations: 132.7 kB / 484.2 MB, free: 2.645 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.007862, allocations: 4.125 kB / 484.2 MB, free: 2.641 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.007874, allocations: 5 kB / 484.2 MB, free: 2.637 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.007882, allocations: 7.938 kB / 484.3 MB, free: 2.629 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.67e-05/0.007929, allocations: 33.12 kB / 484.3 MB, free: 2.598 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005448/0.008473, allocations: 0.5651 MB / 484.8 MB, free: 2.004 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.932e-05/0.008533, allocations: 34.55 kB / 484.9 MB, free: 1.961 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.962e-05/0.008552, allocations: 9.484 kB / 484.9 MB, free: 1.949 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.008569, allocations: 4.594 kB / 484.9 MB, free: 1.945 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000121/0.00869, allocations: 99.69 kB / 485 MB, free: 1.824 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 2.114e-06/0.008692, allocations: 0 / 485 MB, free: 1.824 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001687/0.00886, allocations: 93.67 kB / 485.1 MB, free: 1.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/0.008922, allocations: 140.5 kB / 485.2 MB, free: 1.562 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.009041, allocations: 183.8 kB / 485.4 MB, free: 1.371 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.009061, allocations: 30.39 kB / 485.4 MB, free: 1.336 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.009123, allocations: 131.1 kB / 485.6 MB, free: 1.207 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.009147, allocations: 32.72 kB / 485.6 MB, free: 1.176 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/0.009198, allocations: 49.64 kB / 485.6 MB, free: 1.121 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.545e-05/0.009283, allocations: 326.8 kB / 486 MB, free: 0.793 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/0.009308, allocations: 12.73 kB / 486 MB, free: 0.7812 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.825e-05/0.009386, allocations: 124.4 kB / 486.1 MB, free: 0.6094 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.009508, allocations: 157 kB / 486.2 MB, free: 420 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.009511, allocations: 0 / 486.2 MB, free: 420 kB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001486/0.009659, allocations: 136 kB / 486.4 MB, free: 280 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.009675, allocations: 11.94 kB / 486.4 MB, free: 268 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.009681, allocations: 5.031 kB / 486.4 MB, free: 264 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.009697, allocations: 4 kB / 486.4 MB, free: 260 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.574e-05/0.009782, allocations: 40.66 kB / 486.4 MB, free: 220 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.009789, allocations: 11.88 kB / 486.4 MB, free: 208 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.401e-05/0.009853, allocations: 20.83 kB / 486.5 MB, free: 188 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/0.009862, allocations: 8 kB / 486.5 MB, free: 180 kB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intNoReset.trigger_internal,intDef.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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.942e-05/0.009952, allocations: 134.3 kB / 486.6 MB, free: 36 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.009972, allocations: 12.73 kB / 486.6 MB, free: 24 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.01001, allocations: 17.88 kB / 486.6 MB, free: 0 / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/0.01003, allocations: 8.484 kB / 486.6 MB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.01003, allocations: 5.094 kB / 486.7 MB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.01003, allocations: 0 / 486.7 MB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003298/0.01036, allocations: 337.9 kB / 487 MB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01037, allocations: 0.9375 kB / 487 MB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/0.01042, allocations: 23.92 kB / 487 MB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.01043, allocations: 5.156 kB / 487 MB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.01044, allocations: 4 kB / 487 MB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.01044, allocations: 0 / 487 MB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.01044, allocations: 4 kB / 487 MB, free: 15.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.01067, allocations: 283.3 kB / 487.3 MB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.01069, allocations: 15.91 kB / 487.3 MB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.01071, allocations: 8.25 kB / 487.3 MB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.101e-05/0.01079, allocations: 8.516 kB / 487.3 MB, free: 15.28 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.01083, allocations: 16.92 kB / 487.3 MB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.01085, allocations: 11.92 kB / 487.4 MB, free: 15.25 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.197e-05/0.01089, allocations: 48.64 kB / 487.4 MB, free: 15.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01089, allocations: 0 / 487.4 MB, free: 15.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002038/0.01109, allocations: 31.94 kB / 487.4 MB, free: 15.17 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 0.0001061/0.0112, allocations: 78.55 kB / 487.5 MB, free: 15.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001304/0.01133, allocations: 82.44 kB / 487.6 MB, free: 15.01 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.01134, allocations: 0 / 487.6 MB, free: 15.01 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.177e-05/0.01138, allocations: 34.59 kB / 487.6 MB, free: 14.97 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.01169, allocations: 69.58 kB / 487.7 MB, free: 14.91 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004255/0.01211, allocations: 322.5 kB / 488 MB, free: 14.55 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.373e-05/0.01216, allocations: 68.53 kB / 488.1 MB, free: 14.47 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.928e-05/0.01222, allocations: 20.88 kB / 488.1 MB, free: 14.45 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.466e-05/0.01231, allocations: 87.34 kB / 488.2 MB, free: 14.37 MB / 458.7 MB Notification: Performance of SimCode: time 4.8e-07/0.01231, allocations: 0 / 488.2 MB, free: 14.37 MB / 458.7 MB Notification: Performance of Templates: time 0.004209/0.01652, allocations: 2.205 MB / 490.4 MB, free: 12.35 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7435723869130015]