Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.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.0007246/0.0007246, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008979/0.001623, 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.0007016/0.0007016, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009265/0.001628, 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 0.977/0.977, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08901/1.066, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7387/0.7387, allocations: 155.3 MB / 399.2 MB, free: 15.94 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.3018/1.04, allocations: 49.14 MB / 448.4 MB, free: 6.047 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.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 449.6 MB, free: 4.809 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.115e-05, allocations: 6.172 kB / 449.6 MB, free: 4.805 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002109/0.002131, allocations: 1.569 MB / 451.2 MB, free: 3.258 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006342/0.002765, allocations: 478.7 kB / 451.7 MB, free: 2.793 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.002794, allocations: 5.25 kB / 451.7 MB, free: 2.789 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.907e-05/0.002813, allocations: 3.938 kB / 451.7 MB, free: 2.785 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.325e-05/0.002846, allocations: 2.844 kB / 451.7 MB, free: 2.785 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.73e-05/0.002914, allocations: 32.36 kB / 451.7 MB, free: 2.754 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.312e-05/0.002987, allocations: 44.73 kB / 451.8 MB, free: 2.719 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.137e-05/0.003068, allocations: 9.281 kB / 451.8 MB, free: 2.711 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.957e-05/0.003138, allocations: 46.66 kB / 451.8 MB, free: 2.672 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.5e-05/0.003193, allocations: 13.72 kB / 451.8 MB, free: 2.66 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.003214, allocations: 5.703 kB / 451.8 MB, free: 2.656 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.147e-06/0.003223, allocations: 4 kB / 451.8 MB, free: 2.652 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.00324, allocations: 11.61 kB / 451.9 MB, free: 2.645 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.797e-05/0.003268, allocations: 9.859 kB / 451.9 MB, free: 2.637 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 8.571e-05/0.003354, allocations: 40.88 kB / 451.9 MB, free: 2.598 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.686e-05/0.00337, allocations: 3.984 kB / 451.9 MB, free: 2.594 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003371, allocations: 0 / 451.9 MB, free: 2.594 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.003388, allocations: 0.5625 kB / 451.9 MB, free: 2.594 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003978/0.003785, allocations: 263.3 kB / 452.2 MB, free: 2.316 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.003817, allocations: 8.031 kB / 452.2 MB, free: 2.309 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.003846, allocations: 10.55 kB / 452.2 MB, free: 2.301 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.096e-05/0.003927, allocations: 111.2 kB / 452.3 MB, free: 2.168 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.003937, allocations: 4.375 kB / 452.3 MB, free: 2.164 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.003948, allocations: 8.375 kB / 452.3 MB, free: 2.156 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.572e-05/0.004023, allocations: 52.2 kB / 452.4 MB, free: 2.102 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.004031, allocations: 192 / 452.4 MB, free: 2.102 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.004038, allocations: 4.375 kB / 452.4 MB, free: 2.098 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.004043, allocations: 3.938 kB / 452.4 MB, free: 2.094 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.702e-05/0.00407, allocations: 15.92 kB / 452.4 MB, free: 2.078 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.004315, allocations: 186.2 kB / 452.6 MB, free: 1.883 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.263e-05/0.004378, allocations: 34.56 kB / 452.6 MB, free: 1.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.376e-05/0.004401, allocations: 17.69 kB / 452.6 MB, free: 1.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.004409, allocations: 4 kB / 452.6 MB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.845e-05/0.004508, allocations: 67.97 kB / 452.7 MB, free: 1.738 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.004509, allocations: 0.6875 kB / 452.7 MB, free: 1.738 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001107/0.004619, allocations: 69.61 kB / 452.8 MB, free: 1.664 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.00466, allocations: 60.16 kB / 452.8 MB, free: 1.594 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.382e-05/0.004714, allocations: 112 kB / 452.9 MB, free: 1.473 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.004729, allocations: 30.33 kB / 453 MB, free: 1.438 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.038e-05/0.004759, allocations: 84.09 kB / 453 MB, free: 1.352 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.004778, allocations: 25.33 kB / 453.1 MB, free: 1.328 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.004812, allocations: 33.7 kB / 453.1 MB, free: 1.289 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.039e-05/0.004882, allocations: 314.8 kB / 453.4 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.061e-05/0.004893, allocations: 8 kB / 453.4 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.63e-05/0.004919, allocations: 37.5 kB / 453.4 MB, free: 0.918 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.154e-05/0.00497, allocations: 59.33 kB / 453.5 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.004972, allocations: 0 / 453.5 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 6.5e-05/0.005037, allocations: 74.72 kB / 453.6 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.005049, allocations: 8.906 kB / 453.6 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.005053, allocations: 0 / 453.6 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-06/0.005062, allocations: 1.031 kB / 453.6 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.779e-05/0.00512, allocations: 19.94 kB / 453.6 MB, free: 0.7422 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.005125, allocations: 3.984 kB / 453.6 MB, free: 0.7383 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.058e-05/0.005155, allocations: 12.78 kB / 453.6 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.00516, allocations: 4 kB / 453.6 MB, free: 0.7227 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 6.346e-05/0.005223, allocations: 115.1 kB / 453.7 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.005235, allocations: 13.56 kB / 453.7 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.005259, allocations: 12.06 kB / 453.8 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.005261, allocations: 0.6875 kB / 453.8 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.005265, allocations: 4 kB / 453.8 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.005268, allocations: 0.9062 kB / 453.8 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.005462, allocations: 222.7 kB / 454 MB, free: 332 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.005464, allocations: 4.938 kB / 454 MB, free: 328 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-05/0.005479, allocations: 4 kB / 454 MB, free: 324 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-06/0.005485, allocations: 4.562 kB / 454 MB, free: 320 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.005488, allocations: 7.984 kB / 454 MB, free: 312 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-06/0.005492, allocations: 1.312 kB / 454 MB, free: 312 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.005493, allocations: 0 / 454 MB, free: 312 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.005494, allocations: 0 / 454 MB, free: 312 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.396e-05/0.005568, allocations: 159.4 kB / 454.2 MB, free: 136 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.317e-06/0.005578, allocations: 4.5 kB / 454.2 MB, free: 132 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.222e-05/0.00561, allocations: 5.375 kB / 454.2 MB, free: 128 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.005641, allocations: 7.984 kB / 454.2 MB, free: 120 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.005646, allocations: 0 / 454.2 MB, free: 120 kB / 426.7 MB Notification: Performance of sorting global known variables: time 1.281e-05/0.005659, allocations: 14.94 kB / 454.2 MB, free: 104 kB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005659, allocations: 0 / 454.2 MB, free: 104 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001468/0.005806, allocations: 19.94 kB / 454.2 MB, free: 84 kB / 426.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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.332e-05/0.005879, allocations: 77.17 kB / 454.3 MB, free: 0 / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.838e-05/0.005977, allocations: 47.25 kB / 454.3 MB, free: 15.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.005983, allocations: 7.938 kB / 454.3 MB, free: 15.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.142e-05/0.006015, allocations: 25.42 kB / 454.4 MB, free: 15.92 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.006152, allocations: 19.34 kB / 454.4 MB, free: 15.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003879/0.00654, allocations: 158.1 kB / 454.5 MB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.082e-05/0.006571, allocations: 63.98 kB / 454.6 MB, free: 15.64 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.304e-05/0.006594, allocations: 4.891 kB / 454.6 MB, free: 15.64 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.56e-05/0.00664, allocations: 64.75 kB / 454.7 MB, free: 15.58 MB / 442.7 MB Notification: Performance of SimCode: time 8.92e-07/0.006641, allocations: 0 / 454.7 MB, free: 15.58 MB / 442.7 MB Notification: Performance of Templates: time 0.002222/0.008863, allocations: 0.8541 MB / 455.5 MB, free: 14.79 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.433669213205576]