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.001015/0.001015, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7308/0.7308, allocations: 132.2 MB / 422.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001458, allocations: 68.39 kB / 0.5018 GB, free: 3.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.406, allocations: 80.21 MB / 0.5801 GB, free: 4.523 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001985/0.4081, allocations: 0.608 MB / 0.5807 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00186/0.4099, allocations: 1.39 MB / 0.582 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.309e-05/0.41, allocations: 1.281 kB / 0.5821 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.897e-05/0.41, allocations: 0.7031 kB / 0.5821 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.379e-05/0.4101, allocations: 6.188 kB / 0.5821 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006937/0.4108, allocations: 179.2 kB / 0.5822 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.4109, allocations: 48.53 kB / 0.5823 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.547e-05/0.411, allocations: 6.281 kB / 0.5823 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.955e-05/0.411, allocations: 25.03 kB / 0.5823 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.578e-05/0.4111, allocations: 28.33 kB / 0.5823 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.4111, allocations: 3.5 kB / 0.5823 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000372/0.4115, allocations: 191 kB / 0.5825 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.89e-05/0.4116, allocations: 13.86 kB / 0.5825 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/0.4116, allocations: 28.12 kB / 0.5826 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.412, allocations: 190 kB / 0.5827 GB, free: 2.918 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.412, allocations: 0 / 0.5827 GB, free: 2.918 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.412, allocations: 0 / 0.5827 GB, free: 2.918 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.412, allocations: 0 / 0.5827 GB, free: 2.918 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.0004645/0.4125, allocations: 443.3 kB / 0.5832 GB, free: 2.465 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.4125, allocations: 9.656 kB / 0.5832 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/0.4126, allocations: 3.797 kB / 0.5832 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.4127, allocations: 172.5 kB / 0.5833 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.4127, allocations: 2 kB / 0.5833 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.4127, allocations: 6.906 kB / 0.5833 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.4129, allocations: 110.5 kB / 0.5835 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.4129, allocations: 0 / 0.5835 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.413, allocations: 1.062 kB / 0.5835 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.413, allocations: 0 / 0.5835 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.4131, allocations: 64.95 kB / 0.5835 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001387/0.4132, allocations: 179.7 kB / 0.5837 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.4133, allocations: 76.39 kB / 0.5838 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.4135, allocations: 78.34 kB / 0.5838 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.4135, allocations: 1.922 kB / 0.5838 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.4135, allocations: 35.16 kB / 0.5839 GB, free: 1.906 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.4135, allocations: 0 / 0.5839 GB, free: 1.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004201/0.4139, allocations: 253 kB / 0.5841 GB, free: 1.824 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.414, allocations: 79.5 kB / 0.5842 GB, free: 1.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.4141, allocations: 140.1 kB / 0.5843 GB, free: 1.621 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.4141, allocations: 28.33 kB / 0.5843 GB, free: 1.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.996e-05/0.4141, allocations: 92.73 kB / 0.5844 GB, free: 1.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.4142, allocations: 19.38 kB / 0.5845 GB, free: 1.484 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.664e-05/0.4142, allocations: 28.06 kB / 0.5845 GB, free: 1.465 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.387e-05/0.4143, allocations: 319.6 kB / 0.5848 GB, free: 1.148 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.4144, allocations: 108.8 kB / 0.5849 GB, free: 1.129 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.4146, allocations: 99.28 kB / 0.585 GB, free: 1.121 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.4148, allocations: 278 kB / 0.5852 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4148, allocations: 0 / 0.5852 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003672/0.4152, allocations: 327.2 kB / 0.5856 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.375e-05/0.4153, allocations: 72.33 kB / 0.5856 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4153, allocations: 0 / 0.5856 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.4153, allocations: 0.9688 kB / 0.5856 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.294e-06/0.4153, allocations: 4.75 kB / 0.5856 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.4153, allocations: 1.188 kB / 0.5856 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.4155, allocations: 10.31 kB / 0.5856 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.4155, allocations: 4.688 kB / 0.5857 GB, free: 0.7773 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.333e-05/0.4156, allocations: 151 kB / 0.5858 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.4156, allocations: 15.31 kB / 0.5858 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.537e-05/0.4156, allocations: 7.656 kB / 0.5858 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.4156, allocations: 0 / 0.5858 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.4156, allocations: 1.031 kB / 0.5858 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4156, allocations: 0.6562 kB / 0.5858 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.718e-05/0.4157, allocations: 176.3 kB / 0.586 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4157, allocations: 0 / 0.586 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-06/0.4157, allocations: 5.922 kB / 0.586 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.4157, allocations: 0 / 0.586 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.4158, allocations: 6.062 kB / 0.586 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4158, allocations: 5.984 kB / 0.586 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4158, allocations: 0 / 0.586 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.4161, allocations: 220.4 kB / 0.5862 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.215e-05/0.4161, allocations: 91.78 kB / 0.5863 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.4161, allocations: 6.75 kB / 0.5863 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.562e-05/0.4162, allocations: 3.438 kB / 0.5863 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.819e-05/0.4162, allocations: 11.58 kB / 0.5863 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.4163, allocations: 1.953 kB / 0.5863 GB, free: 180 kB / 430.1 MB Notification: Performance of sorting global known variables: time 7.027e-05/0.4163, allocations: 114.6 kB / 0.5864 GB, free: 92 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4163, allocations: 0 / 0.5864 GB, free: 92 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003364/0.4167, allocations: 70.55 kB / 0.5865 GB, free: 80 kB / 430.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.0003285/0.417, allocations: 144.1 kB / 0.5866 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005029/0.4175, allocations: 371.8 kB / 0.587 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4175, allocations: 1.406 kB / 0.587 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.4177, allocations: 133.3 kB / 0.5871 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.4179, allocations: 12.2 kB / 0.5871 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/0.4182, allocations: 215.3 kB / 0.5873 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.4185, allocations: 0.6913 MB / 0.588 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.624e-06/0.4186, allocations: 0 / 0.588 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.017e-05/0.4186, allocations: 12.75 kB / 0.588 GB, free: 14.87 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4186, allocations: 4 kB / 0.588 GB, free: 14.87 MB / 446.1 MB Notification: Performance of Templates: time 0.005153/0.4237, allocations: 2.047 MB / 0.59 GB, free: 14.7 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)