Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 104 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 187 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7915/0.7915, allocations: 132.2 MB / 423.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 65.95 kB / 0.582 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.149, allocations: 80.21 MB / 0.6603 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002838/0.1519, allocations: 1.533 MB / 0.6618 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003658/0.1523, allocations: 112.5 kB / 0.6619 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.443e-05/0.1524, allocations: 0 / 0.6619 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.1525, allocations: 15.86 kB / 0.662 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.289e-05/0.1526, allocations: 11.88 kB / 0.662 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.1529, allocations: 27.97 kB / 0.662 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.153, allocations: 59.77 kB / 0.662 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.1531, allocations: 23.98 kB / 0.6621 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.168e-05/0.1532, allocations: 27.92 kB / 0.6621 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.566e-05/0.1532, allocations: 27.91 kB / 0.6621 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.1533, allocations: 4 kB / 0.6621 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.093e-05/0.1533, allocations: 11.98 kB / 0.6621 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.884e-05/0.1534, allocations: 19.92 kB / 0.6622 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.323e-05/0.1534, allocations: 23.86 kB / 0.6622 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.1536, allocations: 59.81 kB / 0.6622 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1536, allocations: 0 / 0.6622 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.525e-06/0.1536, allocations: 0 / 0.6622 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.912e-06/0.1536, allocations: 0 / 0.6622 GB, free: 8.398 MB / 0.4981 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.0005851/0.1542, allocations: 379.3 kB / 0.6626 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.1543, allocations: 11.97 kB / 0.6626 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.258e-05/0.1543, allocations: 12.84 kB / 0.6626 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.1545, allocations: 192.1 kB / 0.6628 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.1546, allocations: 384 / 0.6628 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.1546, allocations: 4.375 kB / 0.6628 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002897/0.1549, allocations: 86.2 kB / 0.6629 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1549, allocations: 4.188 kB / 0.6629 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.1549, allocations: 3.938 kB / 0.6629 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1549, allocations: 0 / 0.6629 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/0.1552, allocations: 87.84 kB / 0.663 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000586/0.1558, allocations: 320.8 kB / 0.6633 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.1561, allocations: 62.56 kB / 0.6633 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.1563, allocations: 36.92 kB / 0.6634 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.443e-05/0.1564, allocations: 7.984 kB / 0.6634 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.1564, allocations: 38.56 kB / 0.6634 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.894e-06/0.1564, allocations: 0 / 0.6634 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005605/0.157, allocations: 133.5 kB / 0.6636 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.157, allocations: 55.34 kB / 0.6636 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.1571, allocations: 121.8 kB / 0.6637 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.1572, allocations: 25.7 kB / 0.6638 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.825e-05/0.1572, allocations: 103.9 kB / 0.6638 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.1573, allocations: 7.906 kB / 0.6639 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.864e-05/0.1573, allocations: 13.72 kB / 0.6639 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1575, allocations: 322.8 kB / 0.6642 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.1577, allocations: 31.97 kB / 0.6642 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.1579, allocations: 39.95 kB / 0.6642 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003726/0.1583, allocations: 72.72 kB / 0.6643 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1583, allocations: 0 / 0.6643 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004405/0.1588, allocations: 109.8 kB / 0.6644 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1588, allocations: 7.938 kB / 0.6644 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1588, allocations: 0 / 0.6644 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.1588, allocations: 4.031 kB / 0.6644 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.159, allocations: 19.98 kB / 0.6645 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.159, allocations: 0 / 0.6645 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.1591, allocations: 11.98 kB / 0.6645 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.1592, allocations: 0 / 0.6645 GB, free: 5.891 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.1593, allocations: 125.8 kB / 0.6646 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.1593, allocations: 4 kB / 0.6646 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004772/0.1598, allocations: 105.5 kB / 0.6647 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-06/0.1598, allocations: 3.984 kB / 0.6647 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1598, allocations: 4 kB / 0.6647 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1599, allocations: 4 kB / 0.6647 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.1601, allocations: 177.6 kB / 0.6649 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1601, allocations: 3.938 kB / 0.6649 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.1603, allocations: 15.98 kB / 0.6649 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.1603, allocations: 0 / 0.6649 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.1603, allocations: 4 kB / 0.6649 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1603, allocations: 0 / 0.6649 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1603, allocations: 0 / 0.6649 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005001/0.1608, allocations: 207.3 kB / 0.6651 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.176e-05/0.1609, allocations: 81.05 kB / 0.6652 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.1609, allocations: 4 kB / 0.6652 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.1611, allocations: 11.98 kB / 0.6652 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.1611, allocations: 7.984 kB / 0.6652 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.1611, allocations: 0 / 0.6652 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.579e-05/0.1612, allocations: 97.89 kB / 0.6653 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1612, allocations: 0 / 0.6653 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003432/0.1616, allocations: 15.91 kB / 0.6653 GB, free: 4.926 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002032/0.1618, allocations: 107.1 kB / 0.6654 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004724/0.1623, allocations: 83.91 kB / 0.6655 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1623, allocations: 0 / 0.6655 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.1625, allocations: 31.97 kB / 0.6655 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.1629, allocations: 17.67 kB / 0.6655 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005113/0.1635, allocations: 179.2 kB / 0.6657 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.1638, allocations: 0.6962 MB / 0.6664 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.1639, allocations: 7.438 kB / 0.6664 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1639, allocations: 0 / 0.6664 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of Templates: time 0.00338/0.1673, allocations: 0.9437 MB / 0.6673 GB, free: 2.805 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Average.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Average.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1)