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.0008241/0.0008238, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008954/0.0008954, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.154/1.154, allocations: 223.3 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6541/0.6541, allocations: 132.4 MB / 423.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002691/0.0002691, allocations: 8 kB / 0.5034 GB, free: 4.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3292, allocations: 81.58 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.0005418/0.3297, allocations: 338 kB / 0.5834 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.331, allocations: 1.337 MB / 0.5847 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.199e-05/0.331, allocations: 0 / 0.5847 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.909e-05/0.331, allocations: 5.25 kB / 0.5847 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.567e-05/0.3311, allocations: 2.562 kB / 0.5847 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004313/0.3315, allocations: 143.5 kB / 0.5849 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.826e-05/0.3316, allocations: 34.58 kB / 0.5849 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.284e-05/0.3316, allocations: 1.656 kB / 0.5849 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.311e-05/0.3317, allocations: 18.58 kB / 0.5849 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.247e-05/0.3317, allocations: 33.3 kB / 0.5849 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.3317, allocations: 8.969 kB / 0.585 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002516/0.332, allocations: 176.9 kB / 0.5851 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.907e-05/0.332, allocations: 9.375 kB / 0.5851 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.296e-05/0.3321, allocations: 32.98 kB / 0.5852 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.3322, allocations: 124.6 kB / 0.5853 GB, free: 2.613 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3322, allocations: 2.922 kB / 0.5853 GB, free: 2.613 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3322, allocations: 0 / 0.5853 GB, free: 2.613 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.976e-06/0.3322, allocations: 0 / 0.5853 GB, free: 2.613 MB / 430.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.0002561/0.3325, allocations: 437.9 kB / 0.5857 GB, free: 2.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.3325, allocations: 9.938 kB / 0.5857 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.3326, allocations: 7.062 kB / 0.5857 GB, free: 2.156 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.733e-05/0.3327, allocations: 172.3 kB / 0.5859 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.3327, allocations: 2.141 kB / 0.5859 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.3327, allocations: 2.625 kB / 0.5859 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.3328, allocations: 100.9 kB / 0.586 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.3329, allocations: 0.8125 kB / 0.586 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.3329, allocations: 1 kB / 0.586 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3329, allocations: 4.562 kB / 0.586 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.715e-05/0.333, allocations: 65.12 kB / 0.586 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000105/0.3331, allocations: 178.9 kB / 0.5862 GB, free: 1.695 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.725e-05/0.3332, allocations: 77.66 kB / 0.5863 GB, free: 1.668 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.368e-05/0.3333, allocations: 74.12 kB / 0.5864 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-06/0.3333, allocations: 0.7812 kB / 0.5864 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.422e-05/0.3333, allocations: 39.16 kB / 0.5864 GB, free: 1.602 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.3333, allocations: 0.6875 kB / 0.5864 GB, free: 1.602 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003474/0.3337, allocations: 252.1 kB / 0.5866 GB, free: 1.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.3337, allocations: 80.14 kB / 0.5867 GB, free: 1.426 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.703e-05/0.3338, allocations: 142.6 kB / 0.5869 GB, free: 1.316 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.3338, allocations: 30.95 kB / 0.5869 GB, free: 1.281 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.579e-05/0.3338, allocations: 96.17 kB / 0.587 GB, free: 1.188 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.3339, allocations: 11.78 kB / 0.587 GB, free: 1.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-06/0.3339, allocations: 0.625 kB / 0.587 GB, free: 1.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.647e-05/0.3339, allocations: 329.4 kB / 0.5873 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.334, allocations: 104.3 kB / 0.5874 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.3341, allocations: 101.6 kB / 0.5875 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.3343, allocations: 159.8 kB / 0.5877 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3343, allocations: 0 / 0.5877 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003064/0.3346, allocations: 325.4 kB / 0.588 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/0.3347, allocations: 69.56 kB / 0.588 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.3347, allocations: 0 / 0.588 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.3347, allocations: 1.656 kB / 0.588 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-07/0.3347, allocations: 64 / 0.588 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.3347, allocations: 4 kB / 0.588 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.3348, allocations: 17.12 kB / 0.5881 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.3348, allocations: 3.281 kB / 0.5881 GB, free: 0.543 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.435e-05/0.3349, allocations: 155 kB / 0.5882 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.3349, allocations: 8.75 kB / 0.5882 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.09e-05/0.3349, allocations: 6.859 kB / 0.5882 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.3349, allocations: 0 / 0.5882 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.335, allocations: 1.312 kB / 0.5882 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.335, allocations: 4 kB / 0.5882 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.712e-05/0.335, allocations: 180.1 kB / 0.5884 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.335, allocations: 1.375 kB / 0.5884 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-07/0.335, allocations: 0.6094 kB / 0.5884 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.3351, allocations: 0 / 0.5884 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.3351, allocations: 3.547 kB / 0.5884 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.3351, allocations: 3.938 kB / 0.5884 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3351, allocations: 1.375 kB / 0.5884 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.3353, allocations: 227.3 kB / 0.5886 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.3354, allocations: 88.2 kB / 0.5887 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.3354, allocations: 6.391 kB / 0.5887 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.419e-05/0.3354, allocations: 5.516 kB / 0.5887 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.3355, allocations: 7.172 kB / 0.5887 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-06/0.3355, allocations: 1.375 kB / 0.5887 GB, free: 15.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.928e-05/0.3356, allocations: 108.6 kB / 0.5888 GB, free: 15.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3356, allocations: 0 / 0.5888 GB, free: 15.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00025/0.3358, allocations: 62.34 kB / 0.5889 GB, free: 15.86 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002301/0.3361, allocations: 155.3 kB / 0.589 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003893/0.3365, allocations: 371.7 kB / 0.5894 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.3365, allocations: 0 / 0.5894 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.3366, allocations: 138.6 kB / 0.5895 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.3368, allocations: 5.438 kB / 0.5895 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003027/0.3371, allocations: 213.2 kB / 0.5897 GB, free: 15.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.3373, allocations: 0.6917 MB / 0.5904 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.309e-06/0.3373, allocations: 0 / 0.5904 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.114e-06/0.3373, allocations: 8.219 kB / 0.5904 GB, free: 14.65 MB / 446.1 MB Notification: Performance of SimCode: time 1.452e-06/0.3373, allocations: 0 / 0.5904 GB, free: 14.65 MB / 446.1 MB Notification: Performance of Templates: time 0.00403/0.3414, allocations: 1.885 MB / 0.5923 GB, free: 14.48 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)