Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.DemonstrateSignalExtrema,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema") translateModel(Modelica.Blocks.Examples.DemonstrateSignalExtrema,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001421/0.001421, allocations: 112.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001687/0.001687, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002401/0.002401, allocations: 59.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3269, allocations: 50.54 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemonstrateSignalExtrema): time 0.002968/0.3299, allocations: 1.715 MB / 411.6 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.3312, allocations: 0.67 MB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.156e-05/0.3313, allocations: 7.938 kB / 412.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.3315, allocations: 11.86 kB / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.416e-05/0.3315, allocations: 11.81 kB / 412.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.3319, allocations: 95.75 kB / 412.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.3321, allocations: 151.5 kB / 412.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.3323, allocations: 29.44 kB / 412.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.3325, allocations: 67.81 kB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.3326, allocations: 71.61 kB / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.3326, allocations: 16 kB / 412.8 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-05/0.3327, allocations: 24 kB / 412.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.634e-05/0.3328, allocations: 35.89 kB / 412.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.783e-05/0.3329, allocations: 55.73 kB / 412.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.3331, allocations: 147.1 kB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3331, allocations: 0 / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3331, allocations: 0 / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.3331, allocations: 0 / 413 MB, free: 14.46 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007513/0.3339, allocations: 491.8 kB / 413.5 MB, free: 13.92 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3339, allocations: 12.03 kB / 413.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002561/0.3342, allocations: 36.72 kB / 413.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.3345, allocations: 208.2 kB / 413.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.053e-05/0.3345, allocations: 16.36 kB / 413.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.395e-05/0.3346, allocations: 16.12 kB / 413.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/0.335, allocations: 165.4 kB / 414 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3351, allocations: 0 / 414 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.3351, allocations: 4 kB / 414 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3351, allocations: 0 / 414 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003345/0.3354, allocations: 99.91 kB / 414.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007458/0.3362, allocations: 424.4 kB / 414.5 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005662/0.3368, allocations: 194.4 kB / 414.7 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.337, allocations: 88.8 kB / 414.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.3371, allocations: 7.969 kB / 414.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004118/0.3375, allocations: 175.1 kB / 414.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.894e-06/0.3375, allocations: 0 / 414.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0009742/0.3385, allocations: 348.5 kB / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.3385, allocations: 63.38 kB / 415.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.3387, allocations: 145.7 kB / 415.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.3387, allocations: 33.7 kB / 415.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.3388, allocations: 104.5 kB / 415.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.683e-05/0.3388, allocations: 47.39 kB / 415.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.717e-05/0.3389, allocations: 45.7 kB / 415.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.339, allocations: 322.8 kB / 416 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.3392, allocations: 43.97 kB / 416.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.3394, allocations: 128.4 kB / 416.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.3397, allocations: 164.4 kB / 416.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3397, allocations: 0 / 416.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003562/0.3401, allocations: 205.3 kB / 416.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3401, allocations: 7.938 kB / 416.5 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.3401, allocations: 4 kB / 416.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.3401, allocations: 4 kB / 416.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.3403, allocations: 39.84 kB / 416.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.3403, allocations: 7.938 kB / 416.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.3405, allocations: 20.17 kB / 416.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.3405, allocations: 20 kB / 416.6 MB, free: 10.55 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 18 (signalExtrema2.t_max,$PRE.signalExtrema2.t_max,signalExtrema2.t_min,$PRE.signalExtrema2.t_min,signalExtrema1.t_max,$PRE.signalExtrema1.t_max,signalExtrema1.t_min,$PRE.signalExtrema1.t_min,$whenCondition2,$whenCondition1,signalExtrema2.y_max,$PRE.signalExtrema2.y_max,signalExtrema2.y_min,$PRE.signalExtrema2.y_min,signalExtrema1.y_max,$PRE.signalExtrema1.y_max,signalExtrema1.y_min,$PRE.signalExtrema1.y_min) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.0001231/0.3406, allocations: 135.4 kB / 416.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.3407, allocations: 15.81 kB / 416.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006874/0.3413, allocations: 274.3 kB / 417.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.3414, allocations: 7.922 kB / 417.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3414, allocations: 0 / 417.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.3414, allocations: 85.02 kB / 417.1 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/0.3415, allocations: 8 kB / 417.2 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.3416, allocations: 27.95 kB / 417.2 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.3417, allocations: 15.98 kB / 417.2 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006474/0.3424, allocations: 332.6 kB / 417.5 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008614/0.3432, allocations: 0.5093 MB / 418 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002302/0.3435, allocations: 92.02 kB / 418.1 MB, free: 9.016 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.268e-05/0.3435, allocations: 106.8 kB / 418.2 MB, free: 8.914 MB / 334.1 MB Notification: Performance of Backend: time 4.31e-07/0.3435, allocations: 0 / 418.2 MB, free: 8.914 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005671/0.3441, allocations: 174.3 kB / 418.4 MB, free: 8.738 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006653/0.3448, allocations: 0.7127 MB / 419.1 MB, free: 7.977 MB / 334.1 MB Notification: Performance of Templates: time 0.004024/0.3488, allocations: 1.494 MB / 420.6 MB, free: 6.484 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema.sim & ./Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema.pipe 2>&1)