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.001109/0.001109, allocations: 113.3 kB / 16.37 MB, free: 6.012 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.001058/0.001059, allocations: 190.3 kB / 17.31 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.343/1.343, 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.8032/0.8032, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.89 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3687, allocations: 80.17 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002685/0.3714, allocations: 1.536 MB / 0.583 GB, free: 26.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003647/0.3718, allocations: 121.1 kB / 0.5831 GB, free: 26.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.714e-05/0.3719, allocations: 1.062 kB / 0.5831 GB, free: 26.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.372, allocations: 13.3 kB / 0.5831 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.744e-05/0.3721, allocations: 5.781 kB / 0.5831 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.3723, allocations: 28.55 kB / 0.5831 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.3724, allocations: 58.72 kB / 0.5832 GB, free: 26.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.3726, allocations: 22.02 kB / 0.5832 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.249e-05/0.3727, allocations: 22.8 kB / 0.5832 GB, free: 26.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.33e-05/0.3727, allocations: 28.91 kB / 0.5833 GB, free: 26.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.3727, allocations: 5.594 kB / 0.5833 GB, free: 26.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.221e-05/0.3728, allocations: 19.89 kB / 0.5833 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.111e-05/0.3729, allocations: 16.3 kB / 0.5833 GB, free: 26.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.3729, allocations: 25.8 kB / 0.5833 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.373, allocations: 61.28 kB / 0.5834 GB, free: 26.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3731, allocations: 0 / 0.5834 GB, free: 26.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3731, allocations: 1.469 kB / 0.5834 GB, free: 26.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3731, allocations: 0 / 0.5834 GB, free: 26.14 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.0005059/0.3736, allocations: 382.3 kB / 0.5838 GB, free: 25.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.3736, allocations: 9.531 kB / 0.5838 GB, free: 25.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.3737, allocations: 8.688 kB / 0.5838 GB, free: 25.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.3739, allocations: 196.1 kB / 0.584 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.3739, allocations: 1.625 kB / 0.584 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.3739, allocations: 4.406 kB / 0.584 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.3742, allocations: 88.89 kB / 0.5841 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.3742, allocations: 0.9688 kB / 0.5841 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.3742, allocations: 5 kB / 0.5841 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.3742, allocations: 2.875 kB / 0.5841 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002864/0.3745, allocations: 81.34 kB / 0.5841 GB, free: 25.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004686/0.375, allocations: 325.5 kB / 0.5845 GB, free: 25.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.3752, allocations: 60.44 kB / 0.5845 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.3754, allocations: 41.3 kB / 0.5846 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.334e-05/0.3754, allocations: 6.547 kB / 0.5846 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.3754, allocations: 32.53 kB / 0.5846 GB, free: 24.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.764e-06/0.3754, allocations: 4.922 kB / 0.5846 GB, free: 24.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005281/0.376, allocations: 141.5 kB / 0.5847 GB, free: 24.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/0.376, allocations: 51.41 kB / 0.5848 GB, free: 24.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.224e-05/0.3761, allocations: 116 kB / 0.5849 GB, free: 24.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.3761, allocations: 26.48 kB / 0.5849 GB, free: 24.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.303e-05/0.3761, allocations: 91.66 kB / 0.585 GB, free: 24.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.3762, allocations: 16.78 kB / 0.585 GB, free: 24.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.3762, allocations: 13.5 kB / 0.585 GB, free: 24.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.06e-05/0.3763, allocations: 327.9 kB / 0.5853 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.3764, allocations: 34.38 kB / 0.5854 GB, free: 24.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.3765, allocations: 35.17 kB / 0.5854 GB, free: 24.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.3767, allocations: 70.66 kB / 0.5855 GB, free: 24.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.3768, allocations: 1.125 kB / 0.5855 GB, free: 24.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002861/0.3771, allocations: 114.3 kB / 0.5856 GB, free: 24.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3771, allocations: 5.844 kB / 0.5856 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.3771, allocations: 5.844 kB / 0.5856 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3771, allocations: 0 / 0.5856 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.3772, allocations: 14.64 kB / 0.5856 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3772, allocations: 0 / 0.5856 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.895e-05/0.3773, allocations: 13.05 kB / 0.5856 GB, free: 24.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.3774, allocations: 0.9688 kB / 0.5856 GB, free: 24.1 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.287e-05/0.3774, allocations: 122.6 kB / 0.5857 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.3775, allocations: 6.812 kB / 0.5857 GB, free: 23.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/0.3778, allocations: 114.2 kB / 0.5859 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.3778, allocations: 0 / 0.5859 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3778, allocations: 2.25 kB / 0.5859 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.3778, allocations: 3.984 kB / 0.5859 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.378, allocations: 174.7 kB / 0.586 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.378, allocations: 4.609 kB / 0.586 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.001e-05/0.3781, allocations: 20.02 kB / 0.5861 GB, free: 23.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3781, allocations: 0 / 0.5861 GB, free: 23.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.3781, allocations: 2.906 kB / 0.5861 GB, free: 23.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3781, allocations: 0 / 0.5861 GB, free: 23.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3781, allocations: 0 / 0.5861 GB, free: 23.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.3784, allocations: 211.6 kB / 0.5863 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.3784, allocations: 78.61 kB / 0.5863 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.3785, allocations: 1.281 kB / 0.5863 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.735e-05/0.3786, allocations: 10.23 kB / 0.5863 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.3786, allocations: 5.781 kB / 0.5863 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.3786, allocations: 4.031 kB / 0.5864 GB, free: 23.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.531e-05/0.3787, allocations: 92.05 kB / 0.5864 GB, free: 23.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.3787, allocations: 0 / 0.5864 GB, free: 23.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.3789, allocations: 17.41 kB / 0.5865 GB, free: 23.3 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.0001205/0.379, allocations: 99.16 kB / 0.5866 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003173/0.3794, allocations: 77.5 kB / 0.5866 GB, free: 23.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3794, allocations: 1.625 kB / 0.5866 GB, free: 23.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.3795, allocations: 44.11 kB / 0.5867 GB, free: 23.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.3798, allocations: 11.03 kB / 0.5867 GB, free: 23.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/0.3802, allocations: 159.3 kB / 0.5868 GB, free: 23.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.3803, allocations: 0.691 MB / 0.5875 GB, free: 22.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.23e-05/0.3804, allocations: 7.969 kB / 0.5875 GB, free: 22.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.3804, allocations: 13.72 kB / 0.5875 GB, free: 22.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3804, allocations: 0 / 0.5875 GB, free: 22.29 MB / 446.1 MB Notification: Performance of Templates: time 0.003343/0.3838, allocations: 0.7587 MB / 0.5883 GB, free: 21.94 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1)