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.001673/0.001673, allocations: 117.5 kB / 16.37 MB, free: 6.016 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.001859/0.001859, allocations: 192.6 kB / 17.3 MB, free: 5.613 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8066/0.8066, allocations: 132.2 MB / 423.4 MB, free: 6.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 59.91 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3721, allocations: 80.18 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002457/0.3746, allocations: 1.531 MB / 0.583 GB, free: 26.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002981/0.3749, allocations: 116.9 kB / 0.5831 GB, free: 26.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.523e-05/0.375, allocations: 1.125 kB / 0.5831 GB, free: 26.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.3751, allocations: 9.469 kB / 0.5831 GB, free: 26.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.772e-05/0.3752, allocations: 18.88 kB / 0.5831 GB, free: 26.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002157/0.3754, allocations: 23.84 kB / 0.5832 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.231e-05/0.3755, allocations: 54.56 kB / 0.5832 GB, free: 26.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.3756, allocations: 27.48 kB / 0.5832 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.062e-05/0.3757, allocations: 20.92 kB / 0.5833 GB, free: 26.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.404e-05/0.3758, allocations: 33.2 kB / 0.5833 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.3758, allocations: 4.219 kB / 0.5833 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.449e-05/0.3758, allocations: 8.969 kB / 0.5833 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.145e-05/0.3759, allocations: 21.05 kB / 0.5833 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.3759, allocations: 25.77 kB / 0.5833 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.376, allocations: 59.67 kB / 0.5834 GB, free: 26.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3761, allocations: 2.062 kB / 0.5834 GB, free: 26.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3761, allocations: 1.156 kB / 0.5834 GB, free: 26.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.3761, allocations: 0 / 0.5834 GB, free: 26.1 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.0004716/0.3765, allocations: 383.9 kB / 0.5838 GB, free: 25.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.3766, allocations: 8.969 kB / 0.5838 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.3766, allocations: 8.438 kB / 0.5838 GB, free: 25.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.3768, allocations: 187.9 kB / 0.584 GB, free: 25.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.3768, allocations: 5.609 kB / 0.584 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.3768, allocations: 3.375 kB / 0.584 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.3771, allocations: 91.34 kB / 0.5841 GB, free: 25.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.3771, allocations: 1.469 kB / 0.5841 GB, free: 25.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3771, allocations: 3.938 kB / 0.5841 GB, free: 25.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3771, allocations: 1.031 kB / 0.5841 GB, free: 25.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000275/0.3774, allocations: 82.89 kB / 0.5841 GB, free: 25.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.3778, allocations: 325.3 kB / 0.5845 GB, free: 25.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.378, allocations: 63.77 kB / 0.5845 GB, free: 25.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.3782, allocations: 41.91 kB / 0.5846 GB, free: 24.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.3782, allocations: 7.219 kB / 0.5846 GB, free: 24.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.3782, allocations: 31.06 kB / 0.5846 GB, free: 24.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3782, allocations: 2.938 kB / 0.5846 GB, free: 24.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004892/0.3787, allocations: 136.6 kB / 0.5847 GB, free: 24.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.3788, allocations: 56.2 kB / 0.5848 GB, free: 24.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.127e-05/0.3788, allocations: 114.2 kB / 0.5849 GB, free: 24.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.3788, allocations: 26.77 kB / 0.5849 GB, free: 24.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.027e-05/0.3789, allocations: 90.2 kB / 0.585 GB, free: 24.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.3789, allocations: 24.39 kB / 0.585 GB, free: 24.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.3789, allocations: 14.03 kB / 0.585 GB, free: 24.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.816e-05/0.379, allocations: 322.7 kB / 0.5853 GB, free: 24.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.3791, allocations: 36.89 kB / 0.5854 GB, free: 24.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.3792, allocations: 32.56 kB / 0.5854 GB, free: 24.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.3795, allocations: 73.39 kB / 0.5855 GB, free: 24.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3795, allocations: 1.812 kB / 0.5855 GB, free: 24.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002843/0.3798, allocations: 102.6 kB / 0.5856 GB, free: 24.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3798, allocations: 4.438 kB / 0.5856 GB, free: 24.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3798, allocations: 1.188 kB / 0.5856 GB, free: 24.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3798, allocations: 0.5 kB / 0.5856 GB, free: 24.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.38, allocations: 22.62 kB / 0.5856 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.38, allocations: 1.906 kB / 0.5856 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.22e-05/0.3801, allocations: 12.36 kB / 0.5856 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.3801, allocations: 1.219 kB / 0.5856 GB, free: 24.07 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 5.583e-05/0.3801, allocations: 118.1 kB / 0.5857 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.3802, allocations: 6.906 kB / 0.5857 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003411/0.3805, allocations: 114.3 kB / 0.5859 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3805, allocations: 4.938 kB / 0.5859 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3805, allocations: 0.6562 kB / 0.5859 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3805, allocations: 0.9844 kB / 0.5859 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.3807, allocations: 186.9 kB / 0.586 GB, free: 23.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3807, allocations: 1.25 kB / 0.586 GB, free: 23.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.903e-05/0.3808, allocations: 19.81 kB / 0.5861 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3808, allocations: 3.938 kB / 0.5861 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.3808, allocations: 5.344 kB / 0.5861 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3808, allocations: 0 / 0.5861 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3808, allocations: 0.5 kB / 0.5861 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003088/0.3811, allocations: 202.1 kB / 0.5863 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.3812, allocations: 78.61 kB / 0.5863 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.3812, allocations: 5.156 kB / 0.5863 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.995e-05/0.3813, allocations: 11.64 kB / 0.5863 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.3813, allocations: 12.61 kB / 0.5864 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.3813, allocations: 1.344 kB / 0.5864 GB, free: 23.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.308e-05/0.3814, allocations: 91.31 kB / 0.5864 GB, free: 23.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3814, allocations: 3.938 kB / 0.5865 GB, free: 23.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002247/0.3816, allocations: 9.312 kB / 0.5865 GB, free: 23.27 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.0001021/0.3817, allocations: 107.7 kB / 0.5866 GB, free: 23.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003166/0.382, allocations: 77.7 kB / 0.5866 GB, free: 23.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3821, allocations: 1.062 kB / 0.5866 GB, free: 23.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.3822, allocations: 39.86 kB / 0.5867 GB, free: 23.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.3825, allocations: 10.25 kB / 0.5867 GB, free: 23.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000283/0.3828, allocations: 153.9 kB / 0.5868 GB, free: 22.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.3829, allocations: 0.6887 MB / 0.5875 GB, free: 22.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.832e-05/0.3829, allocations: 9.172 kB / 0.5875 GB, free: 22.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.383, allocations: 9.594 kB / 0.5875 GB, free: 22.26 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.383, allocations: 0.9375 kB / 0.5875 GB, free: 22.26 MB / 446.1 MB Notification: Performance of Templates: time 0.002841/0.3858, allocations: 0.7596 MB / 0.5883 GB, free: 21.9 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1)