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.001237/0.001237, allocations: 103.4 kB / 16.27 MB, free: 5.965 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.00125/0.00125, allocations: 191 kB / 17.2 MB, free: 5.59 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.362/1.362, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8475/0.8475, allocations: 135.2 MB / 426.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 63.89 kB / 0.506 GB, free: 8.324 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3555, allocations: 80.92 MB / 0.5851 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002504/0.358, allocations: 1.526 MB / 0.5866 GB, free: 24.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003169/0.3583, allocations: 114.3 kB / 0.5867 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.87e-05/0.3584, allocations: 5.156 kB / 0.5867 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.3585, allocations: 11.86 kB / 0.5867 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.638e-05/0.3586, allocations: 9.797 kB / 0.5867 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.3588, allocations: 30 kB / 0.5867 GB, free: 24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.844e-05/0.3589, allocations: 51.69 kB / 0.5868 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.359, allocations: 21.86 kB / 0.5868 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.719e-05/0.3591, allocations: 30.38 kB / 0.5868 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.46e-05/0.3592, allocations: 28.16 kB / 0.5868 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.3592, allocations: 6.25 kB / 0.5868 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.59e-05/0.3593, allocations: 15.23 kB / 0.5869 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.102e-05/0.3593, allocations: 9.344 kB / 0.5869 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.919e-05/0.3594, allocations: 33.89 kB / 0.5869 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.3595, allocations: 59.95 kB / 0.587 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.3595, allocations: 0 / 0.587 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3595, allocations: 0 / 0.587 GB, free: 23.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.3595, allocations: 2.219 kB / 0.587 GB, free: 23.84 MB / 446.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.0004621/0.36, allocations: 379 kB / 0.5873 GB, free: 23.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.36, allocations: 10.42 kB / 0.5873 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.3601, allocations: 8.438 kB / 0.5873 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.3602, allocations: 188 kB / 0.5875 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.3602, allocations: 2.531 kB / 0.5875 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.3603, allocations: 7.656 kB / 0.5875 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.3605, allocations: 86.17 kB / 0.5876 GB, free: 23.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.3606, allocations: 1.344 kB / 0.5876 GB, free: 23.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3606, allocations: 7.938 kB / 0.5876 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3606, allocations: 2.5 kB / 0.5876 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002942/0.3609, allocations: 79.38 kB / 0.5877 GB, free: 23.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.3614, allocations: 329.8 kB / 0.588 GB, free: 22.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.3616, allocations: 59.22 kB / 0.5881 GB, free: 22.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.3617, allocations: 41.75 kB / 0.5881 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.3618, allocations: 6.578 kB / 0.5881 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.3618, allocations: 37.44 kB / 0.5882 GB, free: 22.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3618, allocations: 3.938 kB / 0.5882 GB, free: 22.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005345/0.3623, allocations: 140 kB / 0.5883 GB, free: 22.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.3624, allocations: 52.69 kB / 0.5883 GB, free: 22.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.748e-05/0.3624, allocations: 114 kB / 0.5885 GB, free: 22.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.3624, allocations: 29.64 kB / 0.5885 GB, free: 22.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.348e-05/0.3625, allocations: 98.5 kB / 0.5886 GB, free: 22.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.3625, allocations: 11.28 kB / 0.5886 GB, free: 22.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.3625, allocations: 12.44 kB / 0.5886 GB, free: 22.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.746e-05/0.3626, allocations: 325.8 kB / 0.5889 GB, free: 21.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.3628, allocations: 31.34 kB / 0.5889 GB, free: 21.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.3629, allocations: 35.3 kB / 0.589 GB, free: 21.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.3632, allocations: 72.47 kB / 0.589 GB, free: 21.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3632, allocations: 0 / 0.589 GB, free: 21.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003276/0.3635, allocations: 114.8 kB / 0.5891 GB, free: 21.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3635, allocations: 6.031 kB / 0.5892 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3635, allocations: 0 / 0.5892 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.3636, allocations: 0 / 0.5892 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.3637, allocations: 17.08 kB / 0.5892 GB, free: 21.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3637, allocations: 0 / 0.5892 GB, free: 21.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.649e-05/0.3638, allocations: 12.95 kB / 0.5892 GB, free: 21.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.3638, allocations: 1.25 kB / 0.5892 GB, free: 21.81 MB / 446.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 6.001e-05/0.3639, allocations: 120.9 kB / 0.5893 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.3639, allocations: 7.094 kB / 0.5893 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003559/0.3643, allocations: 114 kB / 0.5894 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3643, allocations: 1 kB / 0.5894 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3643, allocations: 2.438 kB / 0.5894 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3643, allocations: 5.047 kB / 0.5894 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.3645, allocations: 185.5 kB / 0.5896 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3645, allocations: 1.312 kB / 0.5896 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.035e-05/0.3646, allocations: 13.89 kB / 0.5896 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3646, allocations: 1.094 kB / 0.5896 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.3646, allocations: 0.5 kB / 0.5896 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3646, allocations: 5.812 kB / 0.5896 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3646, allocations: 0 / 0.5896 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.3649, allocations: 205.6 kB / 0.5898 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.029e-05/0.365, allocations: 82.78 kB / 0.5899 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.365, allocations: 1.906 kB / 0.5899 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3651, allocations: 11.92 kB / 0.5899 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.3651, allocations: 6.078 kB / 0.5899 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.3652, allocations: 6.75 kB / 0.5899 GB, free: 21.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.639e-05/0.3652, allocations: 98.81 kB / 0.59 GB, free: 21.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3652, allocations: 0 / 0.59 GB, free: 21.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002293/0.3654, allocations: 9.531 kB / 0.59 GB, free: 21.01 MB / 446.1 MB 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.0001284/0.3656, allocations: 100.9 kB / 0.5901 GB, free: 20.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003523/0.3659, allocations: 81.45 kB / 0.5902 GB, free: 20.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3659, allocations: 0 / 0.5902 GB, free: 20.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.3661, allocations: 49.25 kB / 0.5902 GB, free: 20.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.3664, allocations: 6.953 kB / 0.5903 GB, free: 20.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.3668, allocations: 186.9 kB / 0.5904 GB, free: 20.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.3669, allocations: 0.6922 MB / 0.5911 GB, free: 19.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.3669, allocations: 7.438 kB / 0.5911 GB, free: 19.95 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3669, allocations: 4 kB / 0.5911 GB, free: 19.95 MB / 446.1 MB Notification: Performance of Templates: time 0.002176/0.3691, allocations: 0.9198 MB / 0.592 GB, free: 19.07 MB / 446.1 MB 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)