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.00107/0.00107, allocations: 101.8 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.00104/0.00104, allocations: 193.3 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.27/1.27, 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-master/package.mo): time 0.8042/0.8042, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 71.88 kB / 0.5068 GB, free: 7.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3767, allocations: 80.91 MB / 0.5858 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001874/0.3786, allocations: 0.6015 MB / 0.5864 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.38, allocations: 1.39 MB / 0.5877 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.361e-05/0.3801, allocations: 3.938 kB / 0.5877 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.717e-05/0.3801, allocations: 8.578 kB / 0.5877 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.355e-05/0.3802, allocations: 2.406 kB / 0.5877 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005432/0.3807, allocations: 175.7 kB / 0.5879 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.656e-05/0.3808, allocations: 45.41 kB / 0.5879 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.506e-05/0.3809, allocations: 7.188 kB / 0.5879 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.236e-05/0.3809, allocations: 21.06 kB / 0.588 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.107e-05/0.381, allocations: 29.88 kB / 0.588 GB, free: 23.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.381, allocations: 2.625 kB / 0.588 GB, free: 23.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000283/0.3813, allocations: 204.6 kB / 0.5882 GB, free: 23.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.97e-05/0.3813, allocations: 10.77 kB / 0.5882 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.3814, allocations: 27.05 kB / 0.5882 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.3816, allocations: 188.9 kB / 0.5884 GB, free: 23.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3816, allocations: 1.219 kB / 0.5884 GB, free: 23.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3816, allocations: 0 / 0.5884 GB, free: 23.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.3816, allocations: 0 / 0.5884 GB, free: 23.62 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.0003144/0.3819, allocations: 444.4 kB / 0.5888 GB, free: 23.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.382, allocations: 10.42 kB / 0.5888 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.382, allocations: 5.125 kB / 0.5888 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.252e-05/0.3821, allocations: 173 kB / 0.589 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.3821, allocations: 1.625 kB / 0.589 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.3821, allocations: 8.422 kB / 0.589 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.3823, allocations: 98.17 kB / 0.5891 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.3823, allocations: 0 / 0.5891 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.3823, allocations: 2.781 kB / 0.5891 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.3823, allocations: 0 / 0.5891 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.077e-05/0.3824, allocations: 60.52 kB / 0.5892 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001081/0.3825, allocations: 177.3 kB / 0.5893 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.817e-05/0.3826, allocations: 86.64 kB / 0.5894 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.276e-05/0.3827, allocations: 69.7 kB / 0.5895 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.879e-06/0.3827, allocations: 0.875 kB / 0.5895 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.3827, allocations: 43.75 kB / 0.5895 GB, free: 22.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3827, allocations: 0 / 0.5895 GB, free: 22.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.000292/0.383, allocations: 251.2 kB / 0.5898 GB, free: 22.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.3831, allocations: 77.89 kB / 0.5899 GB, free: 22.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.944e-05/0.3832, allocations: 147.9 kB / 0.59 GB, free: 22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.3832, allocations: 27.95 kB / 0.59 GB, free: 21.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/0.3832, allocations: 96.11 kB / 0.5901 GB, free: 21.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.3832, allocations: 15.75 kB / 0.5901 GB, free: 21.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.3833, allocations: 25.72 kB / 0.5902 GB, free: 21.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.243e-05/0.3833, allocations: 320 kB / 0.5905 GB, free: 21.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.816e-05/0.3834, allocations: 103.9 kB / 0.5906 GB, free: 21.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.257e-05/0.3835, allocations: 111.9 kB / 0.5907 GB, free: 21.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.3837, allocations: 283.1 kB / 0.5909 GB, free: 21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3837, allocations: 0 / 0.5909 GB, free: 21 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002313/0.3839, allocations: 320.8 kB / 0.5912 GB, free: 20.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.384, allocations: 67.39 kB / 0.5913 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.384, allocations: 1.656 kB / 0.5913 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.384, allocations: 3.938 kB / 0.5913 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.384, allocations: 4 kB / 0.5913 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.384, allocations: 0 / 0.5913 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.3841, allocations: 13.58 kB / 0.5913 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.3841, allocations: 8 kB / 0.5913 GB, free: 20.56 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.356e-05/0.3842, allocations: 147.5 kB / 0.5915 GB, free: 20.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.3842, allocations: 9.375 kB / 0.5915 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.959e-06/0.3842, allocations: 4.391 kB / 0.5915 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3842, allocations: 3.984 kB / 0.5915 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3842, allocations: 0 / 0.5915 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.3843, allocations: 4.906 kB / 0.5915 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.024e-05/0.3843, allocations: 173.5 kB / 0.5917 GB, free: 20.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3843, allocations: 1.875 kB / 0.5917 GB, free: 20.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.233e-06/0.3843, allocations: 7.938 kB / 0.5917 GB, free: 20.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.3843, allocations: 0 / 0.5917 GB, free: 20.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.3843, allocations: 0 / 0.5917 GB, free: 20.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3844, allocations: 11.97 kB / 0.5917 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3844, allocations: 1.531 kB / 0.5917 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.3845, allocations: 226.7 kB / 0.5919 GB, free: 19.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.786e-05/0.3846, allocations: 97.56 kB / 0.592 GB, free: 19.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.3846, allocations: 1.062 kB / 0.592 GB, free: 19.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.134e-05/0.3846, allocations: 4 kB / 0.592 GB, free: 19.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.3847, allocations: 7.984 kB / 0.592 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.3847, allocations: 5.625 kB / 0.592 GB, free: 19.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.08e-05/0.3848, allocations: 107.2 kB / 0.5921 GB, free: 19.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3848, allocations: 0 / 0.5921 GB, free: 19.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.385, allocations: 64 kB / 0.5922 GB, free: 19.6 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.0002114/0.3852, allocations: 159.5 kB / 0.5923 GB, free: 19.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002655/0.3855, allocations: 370.7 kB / 0.5927 GB, free: 19.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3855, allocations: 0 / 0.5927 GB, free: 19.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.39e-05/0.3856, allocations: 135.3 kB / 0.5928 GB, free: 18.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.3857, allocations: 6.344 kB / 0.5928 GB, free: 18.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002516/0.386, allocations: 213.5 kB / 0.593 GB, free: 18.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.035e-05/0.3861, allocations: 0.693 MB / 0.5937 GB, free: 17.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.011e-06/0.3861, allocations: 0 / 0.5937 GB, free: 17.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.095e-06/0.3861, allocations: 15.88 kB / 0.5937 GB, free: 17.93 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3861, allocations: 0.7188 kB / 0.5937 GB, free: 17.93 MB / 446.1 MB Notification: Performance of Templates: time 0.003664/0.3898, allocations: 2.021 MB / 0.5957 GB, free: 15.98 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)