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.001512/0.001512, allocations: 102.2 kB / 16.27 MB, free: 6 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.00149/0.00149, allocations: 191 kB / 17.2 MB, free: 5.609 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.359/1.359, 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.8299/0.8299, allocations: 135.2 MB / 426.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001922, allocations: 63.89 kB / 0.5061 GB, free: 8.293 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3651, allocations: 80.92 MB / 0.5851 GB, free: 25.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001801/0.3669, allocations: 0.6061 MB / 0.5857 GB, free: 24.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.3683, allocations: 1.385 MB / 0.587 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.524e-05/0.3684, allocations: 0 / 0.587 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.382e-05/0.3684, allocations: 0 / 0.587 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.672e-05/0.3685, allocations: 7.562 kB / 0.587 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005877/0.3691, allocations: 173.8 kB / 0.5872 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.125e-05/0.3692, allocations: 51.39 kB / 0.5872 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.681e-05/0.3692, allocations: 6.438 kB / 0.5872 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.444e-05/0.3693, allocations: 26.44 kB / 0.5873 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.874e-05/0.3693, allocations: 24.25 kB / 0.5873 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.3694, allocations: 3.219 kB / 0.5873 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002871/0.3697, allocations: 198.3 kB / 0.5875 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.299e-05/0.3697, allocations: 8.219 kB / 0.5875 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.055e-05/0.3698, allocations: 30.47 kB / 0.5875 GB, free: 23.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.37, allocations: 190.2 kB / 0.5877 GB, free: 23.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.37, allocations: 1.156 kB / 0.5877 GB, free: 23.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.37, allocations: 3.938 kB / 0.5877 GB, free: 23.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.37, allocations: 0 / 0.5877 GB, free: 23.4 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.0003482/0.3704, allocations: 443.5 kB / 0.5881 GB, free: 22.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.3704, allocations: 10.64 kB / 0.5881 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.3705, allocations: 4.5 kB / 0.5881 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.156e-05/0.3706, allocations: 173.2 kB / 0.5883 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.3706, allocations: 1.75 kB / 0.5883 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.3706, allocations: 4.469 kB / 0.5883 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.3708, allocations: 105.2 kB / 0.5884 GB, free: 22.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3708, allocations: 1.719 kB / 0.5884 GB, free: 22.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3708, allocations: 1.344 kB / 0.5884 GB, free: 22.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3708, allocations: 1.531 kB / 0.5884 GB, free: 22.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.114e-05/0.3709, allocations: 58.95 kB / 0.5885 GB, free: 22.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001093/0.371, allocations: 177.5 kB / 0.5886 GB, free: 22.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.3711, allocations: 85.08 kB / 0.5887 GB, free: 22.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.662e-05/0.3712, allocations: 69.61 kB / 0.5888 GB, free: 22.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.3712, allocations: 0 / 0.5888 GB, free: 22.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.3712, allocations: 43.91 kB / 0.5888 GB, free: 22.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3712, allocations: 0 / 0.5888 GB, free: 22.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003414/0.3716, allocations: 252.1 kB / 0.5891 GB, free: 22.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.3716, allocations: 80.11 kB / 0.5892 GB, free: 22.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.401e-05/0.3717, allocations: 143.2 kB / 0.5893 GB, free: 21.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.3717, allocations: 27.05 kB / 0.5893 GB, free: 21.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.904e-05/0.3718, allocations: 92.47 kB / 0.5894 GB, free: 21.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.3718, allocations: 13.31 kB / 0.5894 GB, free: 21.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-05/0.3719, allocations: 29.7 kB / 0.5894 GB, free: 21.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.363e-05/0.3719, allocations: 319.1 kB / 0.5898 GB, free: 21.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.372, allocations: 103.9 kB / 0.5899 GB, free: 21.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-05/0.3721, allocations: 108.3 kB / 0.59 GB, free: 21.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.3723, allocations: 287.2 kB / 0.5902 GB, free: 21.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3723, allocations: 0 / 0.5902 GB, free: 21.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002368/0.3726, allocations: 323.8 kB / 0.5905 GB, free: 20.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/0.3726, allocations: 67.39 kB / 0.5906 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3726, allocations: 0.5938 kB / 0.5906 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3727, allocations: 2.281 kB / 0.5906 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.3727, allocations: 4 kB / 0.5906 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3727, allocations: 0 / 0.5906 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.3728, allocations: 11.89 kB / 0.5906 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.3728, allocations: 8 kB / 0.5906 GB, free: 20.69 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.149e-05/0.3729, allocations: 148.6 kB / 0.5908 GB, free: 20.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.465e-05/0.3729, allocations: 7.938 kB / 0.5908 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.175e-05/0.3729, allocations: 5.938 kB / 0.5908 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.3729, allocations: 3.938 kB / 0.5908 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3729, allocations: 0 / 0.5908 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.373, allocations: 7.984 kB / 0.5908 GB, free: 20.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.718e-05/0.373, allocations: 173.5 kB / 0.591 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.373, allocations: 4.562 kB / 0.591 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.153e-06/0.373, allocations: 7.938 kB / 0.591 GB, free: 20.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.373, allocations: 5.734 kB / 0.591 GB, free: 20.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.3731, allocations: 0 / 0.591 GB, free: 20.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3731, allocations: 0 / 0.591 GB, free: 20.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3731, allocations: 0 / 0.591 GB, free: 20.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.3733, allocations: 227.9 kB / 0.5912 GB, free: 20.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/0.3733, allocations: 96.08 kB / 0.5913 GB, free: 19.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.3733, allocations: 0 / 0.5913 GB, free: 19.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.516e-05/0.3734, allocations: 4 kB / 0.5913 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.3734, allocations: 8.125 kB / 0.5913 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.3734, allocations: 0 / 0.5913 GB, free: 19.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.295e-05/0.3735, allocations: 113.9 kB / 0.5914 GB, free: 19.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3735, allocations: 0 / 0.5914 GB, free: 19.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.3738, allocations: 65.47 kB / 0.5915 GB, free: 19.73 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.0002221/0.374, allocations: 155.1 kB / 0.5916 GB, free: 19.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.3743, allocations: 375.1 kB / 0.592 GB, free: 19.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3743, allocations: 0.5625 kB / 0.592 GB, free: 19.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.3744, allocations: 139.9 kB / 0.5921 GB, free: 19.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.3746, allocations: 4.719 kB / 0.5921 GB, free: 19.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.3748, allocations: 249.6 kB / 0.5923 GB, free: 18.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.3749, allocations: 0.6885 MB / 0.593 GB, free: 18.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.596e-06/0.375, allocations: 12.72 kB / 0.593 GB, free: 18.02 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.375, allocations: 0 / 0.593 GB, free: 18.02 MB / 446.1 MB Notification: Performance of Templates: time 0.002886/0.3779, allocations: 1.656 MB / 0.5947 GB, free: 16.43 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)