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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007641/0.007641, allocations: 101.1 kB / 15.88 MB, free: 5.871 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.001788/0.001788, allocations: 192.1 kB / 16.79 MB, free: 5.816 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.356/1.356, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8973/0.8973, allocations: 135.1 MB / 425.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 68.81 kB / 0.5053 GB, free: 5.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1495, allocations: 80.93 MB / 0.5843 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002601/0.1521, allocations: 1.578 MB / 0.5859 GB, free: 3.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003238/0.1525, allocations: 116.5 kB / 0.586 GB, free: 3.293 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.529e-05/0.1525, allocations: 4 kB / 0.586 GB, free: 3.289 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.1527, allocations: 11.92 kB / 0.586 GB, free: 3.277 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.533e-05/0.1527, allocations: 3.938 kB / 0.586 GB, free: 3.273 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.1529, allocations: 23.97 kB / 0.586 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.56e-05/0.153, allocations: 55.78 kB / 0.5861 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1531, allocations: 31.95 kB / 0.5861 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.8e-05/0.1531, allocations: 19.92 kB / 0.5861 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.039e-05/0.1532, allocations: 27.91 kB / 0.5862 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.1532, allocations: 4 kB / 0.5862 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.802e-05/0.1533, allocations: 11.98 kB / 0.5862 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.176e-05/0.1533, allocations: 15.92 kB / 0.5862 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.1534, allocations: 23.86 kB / 0.5862 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.802e-05/0.1535, allocations: 39.94 kB / 0.5863 GB, free: 3.023 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1535, allocations: 0 / 0.5863 GB, free: 3.023 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1535, allocations: 4 kB / 0.5863 GB, free: 3.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.1535, allocations: 0 / 0.5863 GB, free: 3.02 MB / 494.1 MB 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.0005231/0.154, allocations: 383.5 kB / 0.5866 GB, free: 2.594 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.1541, allocations: 8.031 kB / 0.5866 GB, free: 2.586 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.1541, allocations: 8.844 kB / 0.5866 GB, free: 2.578 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.1543, allocations: 192.1 kB / 0.5868 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.1543, allocations: 384 / 0.5868 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.1543, allocations: 4.375 kB / 0.5868 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.1546, allocations: 86.2 kB / 0.5869 GB, free: 2.258 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.1546, allocations: 4.188 kB / 0.5869 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1546, allocations: 3.938 kB / 0.5869 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1546, allocations: 0 / 0.5869 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000306/0.155, allocations: 83.84 kB / 0.587 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000503/0.1555, allocations: 328.7 kB / 0.5873 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.1557, allocations: 62.56 kB / 0.5874 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.1558, allocations: 48.91 kB / 0.5874 GB, free: 1.676 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.1559, allocations: 4 kB / 0.5874 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.1559, allocations: 30.56 kB / 0.5875 GB, free: 1.633 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.1559, allocations: 0 / 0.5875 GB, free: 1.633 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005511/0.1565, allocations: 133.6 kB / 0.5876 GB, free: 1.496 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.1565, allocations: 51.41 kB / 0.5876 GB, free: 1.434 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.577e-05/0.1566, allocations: 117.8 kB / 0.5877 GB, free: 1.309 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.1566, allocations: 29.69 kB / 0.5878 GB, free: 1.273 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/0.1567, allocations: 91.98 kB / 0.5879 GB, free: 1.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.1567, allocations: 15.84 kB / 0.5879 GB, free: 1.164 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.1567, allocations: 21.64 kB / 0.5879 GB, free: 1.137 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1568, allocations: 322.8 kB / 0.5882 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.157, allocations: 35.95 kB / 0.5882 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.1571, allocations: 27.97 kB / 0.5883 GB, free: 0.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.1574, allocations: 76.78 kB / 0.5883 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1574, allocations: 0 / 0.5883 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003343/0.1578, allocations: 105.5 kB / 0.5884 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1578, allocations: 10.5 kB / 0.5885 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1578, allocations: 0 / 0.5885 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1578, allocations: 0 / 0.5885 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.158, allocations: 23.92 kB / 0.5885 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.158, allocations: 0 / 0.5885 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.163e-05/0.1581, allocations: 11.97 kB / 0.5885 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.1581, allocations: 4 kB / 0.5885 GB, free: 0.5156 MB / 494.1 MB 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 8.243e-05/0.1582, allocations: 117.8 kB / 0.5886 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.1582, allocations: 3.906 kB / 0.5886 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000368/0.1586, allocations: 121.8 kB / 0.5887 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1586, allocations: 4.031 kB / 0.5887 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1586, allocations: 0 / 0.5887 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1586, allocations: 0 / 0.5887 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.1588, allocations: 181.6 kB / 0.5889 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1588, allocations: 4 kB / 0.5889 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.815e-05/0.1589, allocations: 11.98 kB / 0.5889 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1589, allocations: 3.938 kB / 0.5889 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.1589, allocations: 12.08 kB / 0.5889 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1589, allocations: 0 / 0.5889 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1589, allocations: 0 / 0.5889 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.1593, allocations: 195.4 kB / 0.5891 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.219e-05/0.1594, allocations: 85.02 kB / 0.5892 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.1594, allocations: 7.984 kB / 0.5892 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.1595, allocations: 11.98 kB / 0.5892 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.1595, allocations: 4 kB / 0.5892 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1596, allocations: 0 / 0.5892 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.727e-05/0.1596, allocations: 95.2 kB / 0.5893 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1596, allocations: 0 / 0.5893 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002309/0.1598, allocations: 11.94 kB / 0.5893 GB, free: 15.55 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.0001388/0.16, allocations: 111.2 kB / 0.5894 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003332/0.1603, allocations: 75.86 kB / 0.5895 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1603, allocations: 0 / 0.5895 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.1605, allocations: 39.95 kB / 0.5895 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.1608, allocations: 12 kB / 0.5895 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000333/0.1611, allocations: 188.7 kB / 0.5897 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.1614, allocations: 0.6887 MB / 0.5904 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.1614, allocations: 7.438 kB / 0.5904 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1614, allocations: 4 kB / 0.5904 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of Templates: time 0.002135/0.1636, allocations: 0.9457 MB / 0.5913 GB, free: 13.43 MB / 0.4981 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)