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.001133/0.001133, allocations: 114.3 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001286, allocations: 210.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 63.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2554, allocations: 50.53 MB / 409.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemonstrateSignalExtrema): time 0.00263/0.2581, allocations: 1.722 MB / 411.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.2591, allocations: 0.6661 MB / 412.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.451e-05/0.2592, allocations: 7.938 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.2593, allocations: 15.86 kB / 412.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.445e-05/0.2594, allocations: 19.8 kB / 412.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.2597, allocations: 87.77 kB / 412.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.2599, allocations: 151.5 kB / 412.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.26, allocations: 33.42 kB / 412.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.2602, allocations: 63.83 kB / 412.7 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.593e-05/0.2603, allocations: 71.67 kB / 412.8 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.2603, allocations: 12 kB / 412.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.412e-05/0.2604, allocations: 24 kB / 412.8 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.394e-05/0.2604, allocations: 35.89 kB / 412.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.661e-05/0.2605, allocations: 63.7 kB / 412.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.2607, allocations: 139.2 kB / 413 MB, free: 14.51 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2607, allocations: 0 / 413 MB, free: 14.51 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.2607, allocations: 3.984 kB / 413 MB, free: 14.51 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.2607, allocations: 0 / 413 MB, free: 14.51 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.0006537/0.2614, allocations: 491.8 kB / 413.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.2614, allocations: 11.97 kB / 413.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002416/0.2617, allocations: 36.72 kB / 413.6 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.2619, allocations: 212.3 kB / 413.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.262, allocations: 20.31 kB / 413.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.262, allocations: 16.12 kB / 413.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004454/0.2624, allocations: 168.4 kB / 414 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.2625, allocations: 0 / 414 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.2625, allocations: 0 / 414 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2625, allocations: 0 / 414 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003491/0.2629, allocations: 103.9 kB / 414.1 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006406/0.2635, allocations: 424.4 kB / 414.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005806/0.2641, allocations: 190.4 kB / 414.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002927/0.2644, allocations: 92.78 kB / 414.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.2644, allocations: 3.984 kB / 414.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004196/0.2648, allocations: 179.1 kB / 414.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.2649, allocations: 0 / 414.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.00098/0.2658, allocations: 349.3 kB / 415.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.2659, allocations: 55.41 kB / 415.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.266, allocations: 149.7 kB / 415.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.266, allocations: 33.7 kB / 415.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.906e-05/0.2661, allocations: 100.5 kB / 415.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.2661, allocations: 47.39 kB / 415.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.597e-05/0.2662, allocations: 49.69 kB / 415.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.939e-05/0.2663, allocations: 322.8 kB / 416 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.2664, allocations: 43.97 kB / 416.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.2667, allocations: 120.4 kB / 416.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/0.267, allocations: 168.4 kB / 416.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.267, allocations: 0 / 416.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003597/0.2674, allocations: 209.3 kB / 416.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2674, allocations: 4 kB / 416.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.2674, allocations: 4 kB / 416.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.2674, allocations: 4 kB / 416.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.2676, allocations: 35.86 kB / 416.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.2676, allocations: 7.938 kB / 416.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.772e-05/0.2677, allocations: 24.17 kB / 416.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.2678, allocations: 12 kB / 416.6 MB, free: 10.6 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.0001028/0.2679, allocations: 131.5 kB / 416.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.2679, allocations: 23.73 kB / 416.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007138/0.2686, allocations: 274.3 kB / 417.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.2686, allocations: 7.875 kB / 417.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2686, allocations: 0 / 417.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.2687, allocations: 85.02 kB / 417.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.964e-05/0.2687, allocations: 8 kB / 417.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.2689, allocations: 27.95 kB / 417.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.269, allocations: 19.98 kB / 417.2 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006791/0.2697, allocations: 331.7 kB / 417.5 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009455/0.2706, allocations: 0.5062 MB / 418 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002557/0.2709, allocations: 92.02 kB / 418.1 MB, free: 9.059 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.358e-05/0.2709, allocations: 110.6 kB / 418.2 MB, free: 8.953 MB / 334.1 MB Notification: Performance of Backend: time 3.7e-07/0.271, allocations: 0 / 418.2 MB, free: 8.953 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005262/0.2715, allocations: 162.8 kB / 418.4 MB, free: 8.789 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006693/0.2722, allocations: 0.7239 MB / 419.1 MB, free: 8.016 MB / 334.1 MB Notification: Performance of Templates: time 0.004019/0.2762, allocations: 1.501 MB / 420.6 MB, free: 6.52 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)