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.001293/0.001293, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001324/0.001325, allocations: 192.2 kB / 16.25 MB, free: 6.641 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.324/1.324, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9202/0.9202, allocations: 135.6 MB / 425.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 68.33 kB / 0.5054 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1521, allocations: 81.02 MB / 0.5845 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002643/0.1548, allocations: 1.59 MB / 0.586 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002865/0.1551, allocations: 112.5 kB / 0.5862 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.189e-05/0.1552, allocations: 4 kB / 0.5862 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.1553, allocations: 7.922 kB / 0.5862 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.532e-05/0.1553, allocations: 11.92 kB / 0.5862 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.1555, allocations: 27.97 kB / 0.5862 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.542e-05/0.1556, allocations: 51.84 kB / 0.5863 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1557, allocations: 20 kB / 0.5863 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.227e-05/0.1558, allocations: 23.91 kB / 0.5863 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.288e-05/0.1559, allocations: 39.84 kB / 0.5863 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.1559, allocations: 4 kB / 0.5863 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.297e-05/0.156, allocations: 11.98 kB / 0.5864 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.324e-05/0.156, allocations: 19.92 kB / 0.5864 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.156, allocations: 19.88 kB / 0.5864 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.1562, allocations: 59.8 kB / 0.5864 GB, free: 2.309 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1562, allocations: 3.984 kB / 0.5864 GB, free: 2.305 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1562, allocations: 0 / 0.5864 GB, free: 2.305 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1562, allocations: 0 / 0.5864 GB, free: 2.305 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.0005318/0.1568, allocations: 379.6 kB / 0.5868 GB, free: 1.883 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.1568, allocations: 11.97 kB / 0.5868 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.035e-05/0.1569, allocations: 12.83 kB / 0.5868 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.157, allocations: 184.2 kB / 0.587 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1571, allocations: 8.359 kB / 0.587 GB, free: 1.633 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.1571, allocations: 4.375 kB / 0.587 GB, free: 1.629 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/0.1574, allocations: 82.2 kB / 0.5871 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1574, allocations: 8.188 kB / 0.5871 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1574, allocations: 3.938 kB / 0.5871 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1574, allocations: 0 / 0.5871 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002953/0.1577, allocations: 79.91 kB / 0.5872 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005206/0.1582, allocations: 328.6 kB / 0.5875 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.1584, allocations: 58.53 kB / 0.5876 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.1586, allocations: 48.88 kB / 0.5876 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.1586, allocations: 8 kB / 0.5876 GB, free: 0.957 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.1587, allocations: 34.56 kB / 0.5876 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1587, allocations: 0 / 0.5876 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005108/0.1592, allocations: 129.6 kB / 0.5878 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.1592, allocations: 55.41 kB / 0.5878 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.1594, allocations: 121.3 kB / 0.5879 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.1594, allocations: 25.7 kB / 0.588 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.1594, allocations: 95.97 kB / 0.5881 GB, free: 472 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.1595, allocations: 7.906 kB / 0.5881 GB, free: 464 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.1595, allocations: 17.72 kB / 0.5881 GB, free: 440 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1597, allocations: 322.8 kB / 0.5884 GB, free: 108 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.1598, allocations: 39.91 kB / 0.5884 GB, free: 68 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.16, allocations: 31.95 kB / 0.5885 GB, free: 36 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.1603, allocations: 72.78 kB / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1603, allocations: 0 / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003114/0.1606, allocations: 105.5 kB / 0.5886 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1606, allocations: 8 kB / 0.5886 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1606, allocations: 0 / 0.5886 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1606, allocations: 0 / 0.5886 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.1608, allocations: 15.98 kB / 0.5886 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.1608, allocations: 0 / 0.5886 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.793e-05/0.1609, allocations: 23.92 kB / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.1609, allocations: 7.984 kB / 0.5887 GB, free: 15.8 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 9.752e-05/0.161, allocations: 117.7 kB / 0.5888 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.161, allocations: 3.906 kB / 0.5888 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003631/0.1614, allocations: 117.8 kB / 0.5889 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1614, allocations: 4 kB / 0.5889 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1614, allocations: 0 / 0.5889 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.1614, allocations: 4.031 kB / 0.5889 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.1616, allocations: 181.6 kB / 0.5891 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1616, allocations: 0 / 0.5891 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.1617, allocations: 15.92 kB / 0.5891 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.1618, allocations: 0 / 0.5891 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.1618, allocations: 4 kB / 0.5891 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1618, allocations: 0 / 0.5891 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1618, allocations: 3.938 kB / 0.5891 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.1622, allocations: 203.4 kB / 0.5893 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.732e-05/0.1622, allocations: 81.02 kB / 0.5894 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.1623, allocations: 0 / 0.5894 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1624, allocations: 19.97 kB / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.1624, allocations: 8 kB / 0.5894 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.1624, allocations: 0 / 0.5894 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.925e-05/0.1625, allocations: 91.27 kB / 0.5895 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1625, allocations: 0 / 0.5895 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002156/0.1627, allocations: 11.94 kB / 0.5895 GB, free: 14.84 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.0001597/0.1629, allocations: 103.2 kB / 0.5896 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003541/0.1632, allocations: 91.84 kB / 0.5897 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1632, allocations: 0 / 0.5897 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.1634, allocations: 31.97 kB / 0.5897 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.1637, allocations: 11.98 kB / 0.5897 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.164, allocations: 173.4 kB / 0.5899 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.1644, allocations: 0.6885 MB / 0.5906 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.482e-05/0.1644, allocations: 7.984 kB / 0.5906 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.1645, allocations: 11.44 kB / 0.5906 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1645, allocations: 0 / 0.5906 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of Templates: time 0.002782/0.1673, allocations: 0.6557 MB / 0.5912 GB, free: 13.02 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)