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.005867/0.005868, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7571/0.7571, allocations: 135.2 MB / 151.1 MB, free: 13.83 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.504/1.504, allocations: 223.2 MB / 406.9 MB, free: 3.215 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000942/0.0009418, allocations: 102.6 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003771, allocations: 8 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4645/0.4649, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1506/0.6156, allocations: 111.5 MB / 0.7584 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.6158, allocations: 75.95 kB / 0.7585 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003546/0.6194, allocations: 1.126 MB / 0.7596 GB, free: 3.25 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.492e-06/0.6194, allocations: 0 / 0.7596 GB, free: 3.25 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.6194, allocations: 4 kB / 0.7596 GB, free: 3.246 MB / 0.5261 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.0004986/0.6199, allocations: 390.3 kB / 0.7599 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.62, allocations: 8.031 kB / 0.7599 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.62, allocations: 7.906 kB / 0.7599 GB, free: 2.805 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.6202, allocations: 190.9 kB / 0.7601 GB, free: 2.578 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.6203, allocations: 3.938 kB / 0.7601 GB, free: 2.574 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.6203, allocations: 4 kB / 0.7601 GB, free: 2.57 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.6206, allocations: 97.64 kB / 0.7602 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.6206, allocations: 0 / 0.7602 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.6206, allocations: 4 kB / 0.7602 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6206, allocations: 0 / 0.7602 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/0.621, allocations: 103.9 kB / 0.7603 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005805/0.6216, allocations: 344.6 kB / 0.7607 GB, free: 1.977 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.6218, allocations: 70.53 kB / 0.7607 GB, free: 1.898 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.6218, allocations: 4.094 kB / 0.7607 GB, free: 1.895 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.6219, allocations: 34.5 kB / 0.7608 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.6219, allocations: 0 / 0.7608 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0005747/0.6224, allocations: 169.6 kB / 0.7609 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.6225, allocations: 63.36 kB / 0.761 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.248e-05/0.6226, allocations: 101 kB / 0.7611 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.6226, allocations: 33.64 kB / 0.7611 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.6227, allocations: 92.06 kB / 0.7612 GB, free: 1.367 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.6227, allocations: 15.81 kB / 0.7612 GB, free: 1.352 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.6227, allocations: 0 / 0.7612 GB, free: 1.352 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.6228, allocations: 318.8 kB / 0.7615 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.623, allocations: 39.97 kB / 0.7616 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.6231, allocations: 51.89 kB / 0.7616 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.6233, allocations: 47.95 kB / 0.7617 GB, free: 0.8945 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6233, allocations: 0 / 0.7617 GB, free: 0.8945 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003259/0.6236, allocations: 121.9 kB / 0.7618 GB, free: 0.7695 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.6237, allocations: 8 kB / 0.7618 GB, free: 0.7617 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.6237, allocations: 0 / 0.7618 GB, free: 0.7617 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.6237, allocations: 8.031 kB / 0.7618 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.6238, allocations: 19.97 kB / 0.7618 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.6239, allocations: 4 kB / 0.7618 GB, free: 0.7305 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.308e-05/0.6239, allocations: 15.94 kB / 0.7618 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.624, allocations: 8 kB / 0.7618 GB, free: 0.707 MB / 0.5261 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 () * Number of clocked 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 9.11e-05/0.6241, allocations: 113.8 kB / 0.7619 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.6241, allocations: 3.906 kB / 0.7619 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003908/0.6245, allocations: 141.4 kB / 0.7621 GB, free: 444 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.6245, allocations: 3.938 kB / 0.7621 GB, free: 440 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6245, allocations: 0 / 0.7621 GB, free: 440 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.6245, allocations: 0 / 0.7621 GB, free: 440 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.6247, allocations: 181.6 kB / 0.7623 GB, free: 208 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.6247, allocations: 4 kB / 0.7623 GB, free: 204 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.6248, allocations: 19.98 kB / 0.7623 GB, free: 184 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.6248, allocations: 7.984 kB / 0.7623 GB, free: 176 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.6249, allocations: 0 / 0.7623 GB, free: 176 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6249, allocations: 0 / 0.7623 GB, free: 176 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6249, allocations: 0 / 0.7623 GB, free: 176 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004095/0.6253, allocations: 231.3 kB / 0.7625 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.731e-05/0.6254, allocations: 77.11 kB / 0.7626 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.6254, allocations: 4 kB / 0.7626 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.6255, allocations: 15.98 kB / 0.7626 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.6256, allocations: 11.98 kB / 0.7626 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.6256, allocations: 3.938 kB / 0.7626 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.33e-05/0.6256, allocations: 87.72 kB / 0.7627 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6256, allocations: 0 / 0.7627 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002171/0.6259, allocations: 19.92 kB / 0.7627 GB, free: 15.7 MB / 0.5417 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 () * Number of clocked 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.0001566/0.626, allocations: 99.25 kB / 0.7628 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003481/0.6264, allocations: 91.92 kB / 0.7629 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6264, allocations: 0 / 0.7629 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.6266, allocations: 59.89 kB / 0.763 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.6267, allocations: 8.281 kB / 0.763 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.6271, allocations: 160.8 kB / 0.7631 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.6274, allocations: 0.7004 MB / 0.7638 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.938e-05/0.6275, allocations: 12 kB / 0.7638 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.6275, allocations: 7.438 kB / 0.7638 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of SimCode: time 3e-07/0.6275, allocations: 0 / 0.7638 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.002596/0.6301, allocations: 0.5945 MB / 0.7644 GB, free: 13.91 MB / 0.5417 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)