Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite") translateModel(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001211/0.001211, allocations: 102.6 kB / 16.27 MB, free: 5.98 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.001261/0.001261, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.393/1.393, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8455/0.8455, allocations: 135.2 MB / 426.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 72.11 kB / 0.506 GB, free: 8.348 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3241, allocations: 80.92 MB / 0.5851 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001665/0.3258, allocations: 0.6056 MB / 0.5857 GB, free: 24.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.3272, allocations: 1.384 MB / 0.587 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.281e-05/0.3272, allocations: 0.5938 kB / 0.587 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.394e-05/0.3273, allocations: 5.031 kB / 0.587 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.217e-05/0.3273, allocations: 6.297 kB / 0.587 GB, free: 23.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005458/0.3279, allocations: 175.5 kB / 0.5872 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.447e-05/0.328, allocations: 50.06 kB / 0.5872 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.631e-05/0.328, allocations: 3.156 kB / 0.5872 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.211e-05/0.328, allocations: 21.83 kB / 0.5873 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.645e-05/0.3281, allocations: 32.89 kB / 0.5873 GB, free: 23.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.3281, allocations: 2.594 kB / 0.5873 GB, free: 23.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002724/0.3284, allocations: 195 kB / 0.5875 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.784e-05/0.3284, allocations: 13.08 kB / 0.5875 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.3285, allocations: 21.41 kB / 0.5875 GB, free: 23.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.3287, allocations: 190.5 kB / 0.5877 GB, free: 23.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3287, allocations: 0 / 0.5877 GB, free: 23.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.3287, allocations: 0.9062 kB / 0.5877 GB, free: 23.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.3287, allocations: 1.188 kB / 0.5877 GB, free: 23.28 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.0003247/0.3291, allocations: 441.8 kB / 0.5881 GB, free: 22.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3291, allocations: 14.75 kB / 0.5881 GB, free: 22.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.3292, allocations: 8.188 kB / 0.5881 GB, free: 22.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.145e-05/0.3292, allocations: 173.9 kB / 0.5883 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.3293, allocations: 5.359 kB / 0.5883 GB, free: 22.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.3293, allocations: 4.906 kB / 0.5883 GB, free: 22.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.3294, allocations: 97.67 kB / 0.5884 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3295, allocations: 4.562 kB / 0.5884 GB, free: 22.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.3295, allocations: 1.469 kB / 0.5884 GB, free: 22.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3295, allocations: 0.625 kB / 0.5884 GB, free: 22.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.754e-05/0.3296, allocations: 60.39 kB / 0.5885 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001033/0.3297, allocations: 182.5 kB / 0.5886 GB, free: 22.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.377e-05/0.3298, allocations: 85.31 kB / 0.5887 GB, free: 22.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.348e-05/0.3299, allocations: 65.7 kB / 0.5888 GB, free: 22.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-06/0.3299, allocations: 1.094 kB / 0.5888 GB, free: 22.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.3299, allocations: 37.19 kB / 0.5888 GB, free: 22.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3299, allocations: 0 / 0.5888 GB, free: 22.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003391/0.3302, allocations: 259.5 kB / 0.5891 GB, free: 22.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.3303, allocations: 79.52 kB / 0.5891 GB, free: 21.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.278e-05/0.3304, allocations: 144.5 kB / 0.5893 GB, free: 21.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.3304, allocations: 27.27 kB / 0.5893 GB, free: 21.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.72e-05/0.3304, allocations: 92.73 kB / 0.5894 GB, free: 21.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.3305, allocations: 13.09 kB / 0.5894 GB, free: 21.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.3305, allocations: 31.23 kB / 0.5894 GB, free: 21.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.033e-05/0.3306, allocations: 321.4 kB / 0.5897 GB, free: 21.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.3307, allocations: 104.4 kB / 0.5898 GB, free: 21.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.3308, allocations: 101 kB / 0.5899 GB, free: 21.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.331, allocations: 279.9 kB / 0.5902 GB, free: 21.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.331, allocations: 0 / 0.5902 GB, free: 21.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002403/0.3312, allocations: 324.7 kB / 0.5905 GB, free: 20.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/0.3313, allocations: 75.38 kB / 0.5906 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3313, allocations: 4 kB / 0.5906 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3313, allocations: 1.812 kB / 0.5906 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.3313, allocations: 0 / 0.5906 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.3313, allocations: 0 / 0.5906 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.783e-05/0.3314, allocations: 11.91 kB / 0.5906 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.3314, allocations: 5.094 kB / 0.5906 GB, free: 20.59 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 6.816e-05/0.3315, allocations: 152.4 kB / 0.5908 GB, free: 20.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.3315, allocations: 7.922 kB / 0.5908 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.969e-06/0.3316, allocations: 8.25 kB / 0.5908 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.3316, allocations: 2.281 kB / 0.5908 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3316, allocations: 0 / 0.5908 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.3316, allocations: 0 / 0.5908 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.343e-05/0.3316, allocations: 177.5 kB / 0.5909 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3316, allocations: 0 / 0.5909 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-06/0.3317, allocations: 3.938 kB / 0.591 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3317, allocations: 0.5625 kB / 0.591 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.3317, allocations: 4.562 kB / 0.591 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3317, allocations: 0 / 0.591 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3317, allocations: 4.562 kB / 0.591 GB, free: 20.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.3319, allocations: 227.7 kB / 0.5912 GB, free: 19.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.687e-05/0.3319, allocations: 89.59 kB / 0.5913 GB, free: 19.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.3319, allocations: 4.688 kB / 0.5913 GB, free: 19.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.834e-05/0.332, allocations: 4 kB / 0.5913 GB, free: 19.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.332, allocations: 18.41 kB / 0.5913 GB, free: 19.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.3321, allocations: 0 / 0.5913 GB, free: 19.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.182e-05/0.3321, allocations: 111.2 kB / 0.5914 GB, free: 19.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3321, allocations: 0 / 0.5914 GB, free: 19.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.3324, allocations: 67.98 kB / 0.5915 GB, free: 19.62 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.0002216/0.3326, allocations: 148.4 kB / 0.5916 GB, free: 19.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002951/0.3329, allocations: 372.1 kB / 0.592 GB, free: 19.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3329, allocations: 4 kB / 0.592 GB, free: 19.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.964e-05/0.333, allocations: 135.3 kB / 0.5921 GB, free: 18.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.3332, allocations: 8.25 kB / 0.5921 GB, free: 18.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002991/0.3335, allocations: 248.3 kB / 0.5923 GB, free: 18.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.92e-05/0.3336, allocations: 0.6885 MB / 0.593 GB, free: 17.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.496e-06/0.3336, allocations: 13 kB / 0.593 GB, free: 17.92 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3336, allocations: 0 / 0.593 GB, free: 17.92 MB / 446.1 MB Notification: Performance of Templates: time 0.002842/0.3364, allocations: 1.664 MB / 0.5946 GB, free: 16.32 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)