Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00095/0.0009501, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7752/0.7752, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.61/1.61, allocations: 221.3 MB / 400.4 MB, free: 5.832 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009578/0.0009583, allocations: 99.09 kB / 483.3 MB, free: 5.848 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.125e-05/4.127e-05, allocations: 7.641 kB / 0.56 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.182, allocations: 82.3 MB / 0.6404 GB, free: 7.805 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6138/0.7958, allocations: 111.4 MB / 0.7493 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.7961, allocations: 75.27 kB / 0.7493 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003619/0.7997, allocations: 1.126 MB / 0.7504 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7997, allocations: 0 / 0.7504 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.7998, allocations: 3.844 kB / 0.7504 GB, free: 27.68 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004554/0.8002, allocations: 380.9 kB / 0.7508 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.8003, allocations: 11.5 kB / 0.7508 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.8003, allocations: 10.38 kB / 0.7508 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.8005, allocations: 180.4 kB / 0.751 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.8005, allocations: 2.75 kB / 0.751 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.8005, allocations: 3.875 kB / 0.751 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.8007, allocations: 65.81 kB / 0.7511 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.8007, allocations: 4 kB / 0.7511 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.8007, allocations: 0 / 0.7511 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.8007, allocations: 3.938 kB / 0.7511 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.15e-05/0.8008, allocations: 32.23 kB / 0.7511 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005227/0.8013, allocations: 342.3 kB / 0.7514 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.914e-05/0.8014, allocations: 37.48 kB / 0.7515 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/0.8015, allocations: 23.23 kB / 0.7515 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.8015, allocations: 0 / 0.7515 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.8015, allocations: 34.19 kB / 0.7515 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.8016, allocations: 4 kB / 0.7515 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001722/0.8017, allocations: 58.97 kB / 0.7516 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.8018, allocations: 63.23 kB / 0.7516 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.039e-05/0.8019, allocations: 102.7 kB / 0.7517 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.8019, allocations: 25.7 kB / 0.7518 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.8019, allocations: 93.75 kB / 0.7518 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.802, allocations: 14.61 kB / 0.7519 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.802, allocations: 7.781 kB / 0.7519 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.8021, allocations: 318.4 kB / 0.7522 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.671e-05/0.8021, allocations: 11.5 kB / 0.7522 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.106e-05/0.8022, allocations: 10.06 kB / 0.7522 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.759e-05/0.8022, allocations: 13.3 kB / 0.7522 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.8022, allocations: 0 / 0.7522 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.949e-05/0.8023, allocations: 58.81 kB / 0.7523 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.8023, allocations: 3.875 kB / 0.7523 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.8023, allocations: 0 / 0.7523 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.8023, allocations: 0 / 0.7523 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.8025, allocations: 28.7 kB / 0.7523 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.8025, allocations: 0 / 0.7523 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.407e-05/0.8026, allocations: 20.38 kB / 0.7523 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.8026, allocations: 3.844 kB / 0.7523 GB, free: 26.02 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.55e-05/0.8027, allocations: 101 kB / 0.7524 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.8027, allocations: 11.88 kB / 0.7524 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.8029, allocations: 67.86 kB / 0.7525 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.8029, allocations: 0 / 0.7525 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.8029, allocations: 3.875 kB / 0.7525 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.8029, allocations: 1.375 kB / 0.7525 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.8031, allocations: 180.7 kB / 0.7527 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.8031, allocations: 0 / 0.7527 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.8032, allocations: 20.22 kB / 0.7527 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.8032, allocations: 7.938 kB / 0.7527 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.8032, allocations: 0 / 0.7527 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.8032, allocations: 2.766 kB / 0.7527 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.8032, allocations: 3.875 kB / 0.7527 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.8034, allocations: 155.9 kB / 0.7528 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.586e-05/0.8034, allocations: 80.2 kB / 0.7529 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.8035, allocations: 0.6875 kB / 0.7529 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.8036, allocations: 18.25 kB / 0.7529 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.8036, allocations: 6.641 kB / 0.7529 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.8036, allocations: 3.375 kB / 0.753 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.054e-05/0.8037, allocations: 98.38 kB / 0.753 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8037, allocations: 0 / 0.753 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002028/0.8039, allocations: 11.62 kB / 0.7531 GB, free: 25.35 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00015/0.8041, allocations: 98.69 kB / 0.7531 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.8042, allocations: 46.31 kB / 0.7532 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.8042, allocations: 0 / 0.7532 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.386e-05/0.8042, allocations: 20.44 kB / 0.7532 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.8044, allocations: 7.797 kB / 0.7532 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002336/0.8046, allocations: 90.16 kB / 0.7533 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.8049, allocations: 0.6917 MB / 0.754 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.084e-05/0.805, allocations: 14.53 kB / 0.754 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.805, allocations: 11.34 kB / 0.754 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of SimCode: time 3.21e-07/0.805, allocations: 0 / 0.754 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of Templates: time 0.002502/0.8075, allocations: 0.6013 MB / 0.7546 GB, free: 24.41 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1)