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.0012/0.001201, allocations: 118.7 kB / 16.37 MB, free: 5.984 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.001066/0.001066, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8021/0.8021, allocations: 132.2 MB / 423.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 59.91 kB / 0.5032 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3537, allocations: 80.18 MB / 0.5815 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.00167/0.3554, allocations: 0.6083 MB / 0.5821 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.3568, allocations: 1.4 MB / 0.5835 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.805e-05/0.3568, allocations: 1.125 kB / 0.5835 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.437e-05/0.3569, allocations: 0 / 0.5835 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.593e-05/0.357, allocations: 7.531 kB / 0.5835 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006114/0.3576, allocations: 176.3 kB / 0.5836 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.3577, allocations: 45.44 kB / 0.5837 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.601e-05/0.3577, allocations: 2.156 kB / 0.5837 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.288e-05/0.3578, allocations: 17.27 kB / 0.5837 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.699e-05/0.3578, allocations: 29.44 kB / 0.5837 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.3579, allocations: 7.219 kB / 0.5837 GB, free: 25.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.3581, allocations: 206.3 kB / 0.5839 GB, free: 25.72 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.545e-05/0.3582, allocations: 14.69 kB / 0.5839 GB, free: 25.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.293e-05/0.3582, allocations: 21.39 kB / 0.584 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.3584, allocations: 188.6 kB / 0.5842 GB, free: 25.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3585, allocations: 0 / 0.5842 GB, free: 25.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3585, allocations: 0 / 0.5842 GB, free: 25.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.3585, allocations: 1 kB / 0.5842 GB, free: 25.59 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.0003075/0.3588, allocations: 445.6 kB / 0.5846 GB, free: 25.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.3588, allocations: 8.938 kB / 0.5846 GB, free: 25.13 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.3589, allocations: 12.75 kB / 0.5846 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.554e-05/0.3589, allocations: 172 kB / 0.5848 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.359, allocations: 1.781 kB / 0.5848 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.359, allocations: 5.719 kB / 0.5848 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.3591, allocations: 100.7 kB / 0.5849 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.3592, allocations: 0 / 0.5849 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.3592, allocations: 2.844 kB / 0.5849 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.3592, allocations: 0 / 0.5849 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.445e-05/0.3593, allocations: 60.89 kB / 0.5849 GB, free: 24.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001018/0.3594, allocations: 177.5 kB / 0.5851 GB, free: 24.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.848e-05/0.3595, allocations: 84.42 kB / 0.5852 GB, free: 24.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.471e-05/0.3596, allocations: 70.92 kB / 0.5852 GB, free: 24.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.164e-06/0.3596, allocations: 2.656 kB / 0.5852 GB, free: 24.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.3596, allocations: 39.06 kB / 0.5853 GB, free: 24.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3596, allocations: 0 / 0.5853 GB, free: 24.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003331/0.3599, allocations: 261.4 kB / 0.5855 GB, free: 24.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.36, allocations: 79.45 kB / 0.5856 GB, free: 24.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.08e-05/0.3601, allocations: 145 kB / 0.5857 GB, free: 24.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.3601, allocations: 26.92 kB / 0.5858 GB, free: 24.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.978e-05/0.3601, allocations: 96.03 kB / 0.5859 GB, free: 24.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.3601, allocations: 10.09 kB / 0.5859 GB, free: 24.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.3602, allocations: 30.55 kB / 0.5859 GB, free: 24.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.07e-05/0.3602, allocations: 317.4 kB / 0.5862 GB, free: 23.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.3604, allocations: 105.3 kB / 0.5863 GB, free: 23.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.3605, allocations: 105.1 kB / 0.5864 GB, free: 23.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.3607, allocations: 279 kB / 0.5867 GB, free: 23.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3607, allocations: 0 / 0.5867 GB, free: 23.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002917/0.361, allocations: 325.1 kB / 0.587 GB, free: 23.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.034e-05/0.3611, allocations: 74.05 kB / 0.5871 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3611, allocations: 0 / 0.5871 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3611, allocations: 1 kB / 0.5871 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.3611, allocations: 0 / 0.5871 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3611, allocations: 1.312 kB / 0.5871 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.658e-05/0.3612, allocations: 13.95 kB / 0.5871 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.3612, allocations: 4.281 kB / 0.5871 GB, free: 23.23 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 8.761e-05/0.3613, allocations: 151.1 kB / 0.5872 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.3613, allocations: 11.66 kB / 0.5872 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.276e-05/0.3614, allocations: 6.406 kB / 0.5872 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3614, allocations: 5.531 kB / 0.5872 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3614, allocations: 1.25 kB / 0.5872 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.3614, allocations: 0 / 0.5872 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.478e-05/0.3614, allocations: 172.8 kB / 0.5874 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3615, allocations: 1.219 kB / 0.5874 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-07/0.3615, allocations: 5.281 kB / 0.5874 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.3615, allocations: 0 / 0.5874 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.3615, allocations: 5.766 kB / 0.5874 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3615, allocations: 2.125 kB / 0.5874 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3615, allocations: 3.938 kB / 0.5874 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.3617, allocations: 228 kB / 0.5876 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.691e-05/0.3617, allocations: 90.59 kB / 0.5877 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.3618, allocations: 1.938 kB / 0.5877 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.693e-05/0.3618, allocations: 3.688 kB / 0.5877 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.3619, allocations: 13.02 kB / 0.5877 GB, free: 22.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.3619, allocations: 2.406 kB / 0.5877 GB, free: 22.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.758e-05/0.362, allocations: 113.8 kB / 0.5879 GB, free: 22.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.362, allocations: 0 / 0.5879 GB, free: 22.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002863/0.3622, allocations: 64.56 kB / 0.5879 GB, free: 22.48 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.000226/0.3625, allocations: 159.5 kB / 0.5881 GB, free: 22.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003394/0.3628, allocations: 366.7 kB / 0.5884 GB, free: 22.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3628, allocations: 0.5938 kB / 0.5884 GB, free: 22.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.363, allocations: 139.6 kB / 0.5886 GB, free: 22.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.3631, allocations: 4.906 kB / 0.5886 GB, free: 22.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/0.3634, allocations: 202.5 kB / 0.5887 GB, free: 21.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.961e-05/0.3635, allocations: 0.6935 MB / 0.5894 GB, free: 21.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.33e-06/0.3635, allocations: 1.406 kB / 0.5894 GB, free: 21.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.325e-06/0.3635, allocations: 12.69 kB / 0.5894 GB, free: 21.19 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3636, allocations: 0 / 0.5894 GB, free: 21.19 MB / 446.1 MB Notification: Performance of Templates: time 0.00388/0.3674, allocations: 2.039 MB / 0.5914 GB, free: 19.61 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)