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.001661/0.001661, allocations: 107.9 kB / 16.36 MB, free: 6.285 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.00193/0.00193, allocations: 193.2 kB / 17.29 MB, free: 5.863 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.35/1.35, 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-master/package.mo): time 0.7898/0.7898, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 63.89 kB / 0.5068 GB, free: 7.648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3338, allocations: 80.91 MB / 0.5858 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001559/0.3354, allocations: 0.6036 MB / 0.5864 GB, free: 25.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.3367, allocations: 1.392 MB / 0.5877 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.136e-05/0.3367, allocations: 2.656 kB / 0.5877 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.12e-05/0.3368, allocations: 9.781 kB / 0.5877 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.221e-05/0.3368, allocations: 0 / 0.5877 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005325/0.3373, allocations: 166.2 kB / 0.5879 GB, free: 23.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.826e-05/0.3375, allocations: 54.52 kB / 0.5879 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.244e-05/0.3375, allocations: 6.922 kB / 0.5879 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.079e-05/0.3375, allocations: 21.8 kB / 0.588 GB, free: 23.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.719e-05/0.3376, allocations: 21.83 kB / 0.588 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.3376, allocations: 2.781 kB / 0.588 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002633/0.3379, allocations: 207.3 kB / 0.5882 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.482e-05/0.3379, allocations: 15.98 kB / 0.5882 GB, free: 23.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.319e-05/0.338, allocations: 21.59 kB / 0.5882 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.3382, allocations: 185.3 kB / 0.5884 GB, free: 23.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3382, allocations: 4 kB / 0.5884 GB, free: 23.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3382, allocations: 1.281 kB / 0.5884 GB, free: 23.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.3382, allocations: 1.281 kB / 0.5884 GB, free: 23.56 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.0002992/0.3385, allocations: 443.7 kB / 0.5888 GB, free: 23.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.3385, allocations: 11.36 kB / 0.5888 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.3386, allocations: 3.656 kB / 0.5888 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.019e-05/0.3387, allocations: 178.9 kB / 0.589 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.3387, allocations: 6.406 kB / 0.589 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.3387, allocations: 3.594 kB / 0.589 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.3388, allocations: 102.3 kB / 0.5891 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.3389, allocations: 1.094 kB / 0.5891 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.3389, allocations: 1.188 kB / 0.5891 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.3389, allocations: 0.5 kB / 0.5891 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.643e-05/0.339, allocations: 61.02 kB / 0.5892 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.688e-05/0.3391, allocations: 181.6 kB / 0.5894 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.109e-05/0.3392, allocations: 81.28 kB / 0.5894 GB, free: 22.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.244e-05/0.3392, allocations: 71.23 kB / 0.5895 GB, free: 22.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.024e-06/0.3393, allocations: 0 / 0.5895 GB, free: 22.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.3393, allocations: 37.06 kB / 0.5895 GB, free: 22.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.3393, allocations: 3.938 kB / 0.5895 GB, free: 22.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002786/0.3396, allocations: 255.3 kB / 0.5898 GB, free: 22.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.3396, allocations: 85.09 kB / 0.5899 GB, free: 22.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.58e-05/0.3397, allocations: 139.9 kB / 0.59 GB, free: 21.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.3397, allocations: 25.7 kB / 0.59 GB, free: 21.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.541e-05/0.3397, allocations: 96.12 kB / 0.5901 GB, free: 21.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.3397, allocations: 15.75 kB / 0.5901 GB, free: 21.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.3398, allocations: 29.7 kB / 0.5902 GB, free: 21.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.824e-05/0.3398, allocations: 315.5 kB / 0.5905 GB, free: 21.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.855e-05/0.3399, allocations: 110.3 kB / 0.5906 GB, free: 21.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.803e-05/0.34, allocations: 99.94 kB / 0.5907 GB, free: 21.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.3402, allocations: 281.2 kB / 0.5909 GB, free: 20.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3402, allocations: 0 / 0.5909 GB, free: 20.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002407/0.3405, allocations: 324.7 kB / 0.5912 GB, free: 20.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.3405, allocations: 73.14 kB / 0.5913 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.3405, allocations: 0 / 0.5913 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3405, allocations: 3.984 kB / 0.5913 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.3405, allocations: 0 / 0.5913 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.3405, allocations: 4 kB / 0.5913 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.815e-05/0.3406, allocations: 12.53 kB / 0.5913 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.3407, allocations: 4.656 kB / 0.5913 GB, free: 20.55 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.304e-05/0.3407, allocations: 152.2 kB / 0.5915 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.3407, allocations: 8.594 kB / 0.5915 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.868e-06/0.3408, allocations: 8.234 kB / 0.5915 GB, free: 20.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.3408, allocations: 1.594 kB / 0.5915 GB, free: 20.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3408, allocations: 0 / 0.5915 GB, free: 20.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.3408, allocations: 0 / 0.5915 GB, free: 20.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.043e-05/0.3408, allocations: 177.5 kB / 0.5917 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3409, allocations: 0.5625 kB / 0.5917 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-06/0.3409, allocations: 4.844 kB / 0.5917 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.3409, allocations: 4 kB / 0.5917 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.3409, allocations: 0 / 0.5917 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3409, allocations: 1.531 kB / 0.5917 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3409, allocations: 0 / 0.5917 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.3411, allocations: 229.1 kB / 0.5919 GB, free: 19.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.3411, allocations: 92.89 kB / 0.592 GB, free: 19.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.3411, allocations: 0 / 0.592 GB, free: 19.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.372e-05/0.3412, allocations: 4 kB / 0.592 GB, free: 19.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.3412, allocations: 12.12 kB / 0.592 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.3413, allocations: 0.5938 kB / 0.592 GB, free: 19.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.191e-05/0.3413, allocations: 109.8 kB / 0.5921 GB, free: 19.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3413, allocations: 1.562 kB / 0.5921 GB, free: 19.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.3416, allocations: 71.94 kB / 0.5922 GB, free: 19.59 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.0002093/0.3418, allocations: 152.8 kB / 0.5923 GB, free: 19.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002839/0.3421, allocations: 374.6 kB / 0.5927 GB, free: 19.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3421, allocations: 0 / 0.5927 GB, free: 19.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.947e-05/0.3422, allocations: 142.4 kB / 0.5928 GB, free: 18.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.3423, allocations: 8 kB / 0.5928 GB, free: 18.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002593/0.3426, allocations: 209.5 kB / 0.593 GB, free: 18.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.184e-05/0.3427, allocations: 0.6885 MB / 0.5937 GB, free: 17.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.31e-06/0.3427, allocations: 0 / 0.5937 GB, free: 17.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.935e-06/0.3427, allocations: 7.438 kB / 0.5937 GB, free: 17.93 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3427, allocations: 1.562 kB / 0.5937 GB, free: 17.93 MB / 446.1 MB Notification: Performance of Templates: time 0.003658/0.3464, allocations: 2.039 MB / 0.5957 GB, free: 15.97 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)