Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.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.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite") translateModel(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 108.1 kB / 16.36 MB, free: 5.824 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.001907/0.001907, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8405/0.8405, allocations: 132.2 MB / 423.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.91 kB / 0.5032 GB, free: 10.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.359, allocations: 80.2 MB / 0.5815 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001623/0.3607, allocations: 0.6 MB / 0.5821 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.362, allocations: 1.387 MB / 0.5834 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.397e-05/0.3621, allocations: 0 / 0.5834 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.692e-05/0.3621, allocations: 5.906 kB / 0.5834 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.275e-05/0.3622, allocations: 4.906 kB / 0.5835 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005828/0.3628, allocations: 172.6 kB / 0.5836 GB, free: 26.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.3629, allocations: 54.77 kB / 0.5837 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.111e-05/0.3629, allocations: 13.44 kB / 0.5837 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.216e-05/0.363, allocations: 21.45 kB / 0.5837 GB, free: 26.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.576e-05/0.363, allocations: 26.09 kB / 0.5837 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.3631, allocations: 2.531 kB / 0.5837 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/0.3633, allocations: 204 kB / 0.5839 GB, free: 26.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.987e-05/0.3634, allocations: 11.77 kB / 0.5839 GB, free: 26.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.3634, allocations: 25.73 kB / 0.584 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.3637, allocations: 185 kB / 0.5841 GB, free: 25.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3637, allocations: 1.844 kB / 0.5841 GB, free: 25.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3637, allocations: 0 / 0.5841 GB, free: 25.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.3637, allocations: 0 / 0.5841 GB, free: 25.96 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003343/0.364, allocations: 447.5 kB / 0.5846 GB, free: 25.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.3641, allocations: 10.47 kB / 0.5846 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.144e-05/0.3641, allocations: 13.41 kB / 0.5846 GB, free: 25.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.132e-05/0.3642, allocations: 171.4 kB / 0.5848 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.3642, allocations: 1.969 kB / 0.5848 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.3643, allocations: 3.281 kB / 0.5848 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.3644, allocations: 97.36 kB / 0.5848 GB, free: 25.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.3644, allocations: 0.9688 kB / 0.5849 GB, free: 25.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3645, allocations: 1.125 kB / 0.5849 GB, free: 25.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3645, allocations: 0.5625 kB / 0.5849 GB, free: 25.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.304e-05/0.3646, allocations: 59.98 kB / 0.5849 GB, free: 25.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001069/0.3647, allocations: 182.4 kB / 0.5851 GB, free: 25.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.386e-05/0.3648, allocations: 84.47 kB / 0.5852 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.478e-05/0.3648, allocations: 67.42 kB / 0.5852 GB, free: 24.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.3649, allocations: 0.5938 kB / 0.5852 GB, free: 24.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.3649, allocations: 42.81 kB / 0.5853 GB, free: 24.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3649, allocations: 0 / 0.5853 GB, free: 24.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003377/0.3652, allocations: 255.1 kB / 0.5855 GB, free: 24.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.3653, allocations: 83.39 kB / 0.5856 GB, free: 24.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.221e-05/0.3654, allocations: 143.4 kB / 0.5857 GB, free: 24.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.3654, allocations: 28.3 kB / 0.5858 GB, free: 24.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/0.3654, allocations: 94.88 kB / 0.5858 GB, free: 24.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.3654, allocations: 9.938 kB / 0.5859 GB, free: 24.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.3655, allocations: 31.05 kB / 0.5859 GB, free: 24.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.223e-05/0.3655, allocations: 322.2 kB / 0.5862 GB, free: 24.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.3657, allocations: 101.3 kB / 0.5863 GB, free: 24.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.3658, allocations: 108.7 kB / 0.5864 GB, free: 24.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.366, allocations: 274.7 kB / 0.5867 GB, free: 23.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.366, allocations: 0 / 0.5867 GB, free: 23.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002899/0.3663, allocations: 327.9 kB / 0.587 GB, free: 23.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.049e-05/0.3664, allocations: 71.31 kB / 0.587 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.3664, allocations: 7.875 kB / 0.587 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3664, allocations: 1.062 kB / 0.587 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.3664, allocations: 1.406 kB / 0.587 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.3664, allocations: 1.281 kB / 0.587 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.3665, allocations: 13.66 kB / 0.5871 GB, free: 23.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.3665, allocations: 3.688 kB / 0.5871 GB, free: 23.6 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 7.11e-05/0.3666, allocations: 152 kB / 0.5872 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.3666, allocations: 11.62 kB / 0.5872 GB, free: 23.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.29e-05/0.3667, allocations: 7.062 kB / 0.5872 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.3667, allocations: 0 / 0.5872 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.3667, allocations: 0.6875 kB / 0.5872 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.3667, allocations: 2.5 kB / 0.5872 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.837e-05/0.3667, allocations: 173 kB / 0.5874 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3668, allocations: 0 / 0.5874 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.222e-06/0.3668, allocations: 3.938 kB / 0.5874 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3668, allocations: 2.312 kB / 0.5874 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.3668, allocations: 1.25 kB / 0.5874 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3668, allocations: 1.656 kB / 0.5874 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3668, allocations: 5.812 kB / 0.5874 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.367, allocations: 237.8 kB / 0.5876 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.739e-05/0.367, allocations: 88.77 kB / 0.5877 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.3671, allocations: 1.531 kB / 0.5877 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.514e-05/0.3671, allocations: 6.953 kB / 0.5877 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.3672, allocations: 4.031 kB / 0.5877 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.3672, allocations: 2.344 kB / 0.5877 GB, free: 22.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.886e-05/0.3672, allocations: 113.4 kB / 0.5878 GB, free: 22.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3673, allocations: 0 / 0.5878 GB, free: 22.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002939/0.3676, allocations: 68.58 kB / 0.5879 GB, free: 22.85 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: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000234/0.3678, allocations: 151.9 kB / 0.5881 GB, free: 22.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003515/0.3682, allocations: 376.3 kB / 0.5884 GB, free: 22.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3682, allocations: 1.281 kB / 0.5884 GB, free: 22.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.3683, allocations: 131.1 kB / 0.5885 GB, free: 22.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.3684, allocations: 10.38 kB / 0.5885 GB, free: 22.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.3687, allocations: 209.1 kB / 0.5887 GB, free: 22.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.84e-05/0.3689, allocations: 0.6919 MB / 0.5894 GB, free: 21.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.271e-06/0.3689, allocations: 0 / 0.5894 GB, free: 21.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.979e-06/0.3689, allocations: 8.875 kB / 0.5894 GB, free: 21.56 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3689, allocations: 0.6562 kB / 0.5894 GB, free: 21.56 MB / 446.1 MB Notification: Performance of Templates: time 0.004011/0.3729, allocations: 2.034 MB / 0.5914 GB, free: 19.76 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)