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.00114/0.00114, allocations: 100.1 kB / 15.88 MB, free: 12 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.001213/0.001213, allocations: 199.4 kB / 16.79 MB, free: 6.809 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.348/1.348, allocations: 222.9 MB / 240.5 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8953/0.8953, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 64.66 kB / 0.5053 GB, free: 5.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1425, allocations: 80.94 MB / 0.5844 GB, free: 4.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001609/0.1441, allocations: 0.6543 MB / 0.585 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.1457, allocations: 1.429 MB / 0.5864 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.667e-05/0.1458, allocations: 0 / 0.5864 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.946e-05/0.1458, allocations: 0 / 0.5864 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.205e-05/0.1458, allocations: 4 kB / 0.5864 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000422/0.1463, allocations: 127.8 kB / 0.5865 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.061e-05/0.1463, allocations: 43.88 kB / 0.5866 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.98e-05/0.1464, allocations: 3.938 kB / 0.5866 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.397e-05/0.1464, allocations: 19.98 kB / 0.5866 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.504e-05/0.1465, allocations: 27.91 kB / 0.5866 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.1465, allocations: 4 kB / 0.5866 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002682/0.1468, allocations: 199.7 kB / 0.5868 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.461e-05/0.1468, allocations: 15.92 kB / 0.5868 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.1469, allocations: 19.86 kB / 0.5868 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.147, allocations: 119.8 kB / 0.587 GB, free: 2.301 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.147, allocations: 0 / 0.587 GB, free: 2.301 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.147, allocations: 0 / 0.587 GB, free: 2.301 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.985e-06/0.1471, allocations: 0 / 0.587 GB, free: 2.301 MB / 494.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.0003757/0.1474, allocations: 446.9 kB / 0.5874 GB, free: 1.805 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.854e-05/0.1475, allocations: 12.03 kB / 0.5874 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/0.1475, allocations: 8.844 kB / 0.5874 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.1476, allocations: 172.2 kB / 0.5876 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1476, allocations: 4.375 kB / 0.5876 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.1477, allocations: 4.375 kB / 0.5876 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.1478, allocations: 97.89 kB / 0.5877 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.1478, allocations: 0 / 0.5877 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1479, allocations: 4 kB / 0.5877 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.1479, allocations: 3.938 kB / 0.5877 GB, free: 1.461 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.211e-05/0.1479, allocations: 59.95 kB / 0.5877 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.1481, allocations: 181.6 kB / 0.5879 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.1482, allocations: 82.53 kB / 0.588 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.944e-05/0.1483, allocations: 68.89 kB / 0.5881 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-06/0.1483, allocations: 3.938 kB / 0.5881 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.1483, allocations: 38.5 kB / 0.5881 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1484, allocations: 0 / 0.5881 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003699/0.1487, allocations: 255.2 kB / 0.5883 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.1488, allocations: 81.14 kB / 0.5884 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.1489, allocations: 148.2 kB / 0.5886 GB, free: 464 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1489, allocations: 33.7 kB / 0.5886 GB, free: 424 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/0.149, allocations: 84.14 kB / 0.5887 GB, free: 336 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.149, allocations: 15.75 kB / 0.5887 GB, free: 320 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/0.1491, allocations: 29.7 kB / 0.5887 GB, free: 284 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1492, allocations: 322.8 kB / 0.589 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.1493, allocations: 99.94 kB / 0.5891 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.1494, allocations: 111.9 kB / 0.5892 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.1497, allocations: 273.6 kB / 0.5895 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.1497, allocations: 0 / 0.5895 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000339/0.1501, allocations: 328.7 kB / 0.5898 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.078e-05/0.1501, allocations: 71.39 kB / 0.5899 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.1501, allocations: 0 / 0.5899 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.1501, allocations: 0 / 0.5899 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.1502, allocations: 0 / 0.5899 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.1502, allocations: 0 / 0.5899 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.1503, allocations: 11.88 kB / 0.5899 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.1503, allocations: 8.062 kB / 0.5899 GB, free: 15.02 MB / 0.4981 GB 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 0.000106/0.1504, allocations: 159.5 kB / 0.59 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.889e-05/0.1505, allocations: 11.84 kB / 0.59 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.495e-05/0.1505, allocations: 4.25 kB / 0.5901 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1505, allocations: 4 kB / 0.5901 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1505, allocations: 0 / 0.5901 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.1505, allocations: 0 / 0.5901 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.1506, allocations: 173.6 kB / 0.5902 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1506, allocations: 0 / 0.5902 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-06/0.1506, allocations: 11.88 kB / 0.5902 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.1506, allocations: 0 / 0.5902 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1506, allocations: 4 kB / 0.5902 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1507, allocations: 0 / 0.5902 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1507, allocations: 0 / 0.5902 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.1509, allocations: 222.6 kB / 0.5904 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.151, allocations: 88.95 kB / 0.5905 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.151, allocations: 0 / 0.5905 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.965e-05/0.151, allocations: 12.02 kB / 0.5905 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.1511, allocations: 8 kB / 0.5906 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.1511, allocations: 7.984 kB / 0.5906 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.101e-05/0.1512, allocations: 109.7 kB / 0.5907 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1512, allocations: 0 / 0.5907 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002744/0.1515, allocations: 63.98 kB / 0.5907 GB, free: 14.04 MB / 0.4981 GB 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.0002581/0.1517, allocations: 147.2 kB / 0.5909 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003513/0.1521, allocations: 374.6 kB / 0.5912 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1521, allocations: 4.062 kB / 0.5912 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.1522, allocations: 139.3 kB / 0.5914 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.1524, allocations: 7.938 kB / 0.5914 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.1527, allocations: 248.9 kB / 0.5916 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.1529, allocations: 0.6965 MB / 0.5923 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-06/0.1529, allocations: 11.5 kB / 0.5923 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1529, allocations: 0 / 0.5923 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of Templates: time 0.002866/0.1558, allocations: 1.662 MB / 0.5939 GB, free: 10.67 MB / 0.4981 GB 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)