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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006532/0.006532, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.002274/0.002275, allocations: 197.2 kB / 16.68 MB, free: 5.926 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7585/0.7585, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 67.8 kB / 0.5852 GB, free: 21.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1644, allocations: 80.94 MB / 0.6642 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001718/0.1661, allocations: 0.598 MB / 0.6648 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001871/0.168, allocations: 1.383 MB / 0.6661 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3e-05/0.1681, allocations: 0 / 0.6661 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.567e-05/0.1681, allocations: 3.938 kB / 0.6661 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.936e-05/0.1682, allocations: 4 kB / 0.6661 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006749/0.1689, allocations: 183.5 kB / 0.6663 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.169, allocations: 51.89 kB / 0.6664 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.348e-05/0.1691, allocations: 3.938 kB / 0.6664 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.834e-05/0.1691, allocations: 15.98 kB / 0.6664 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.202e-05/0.1692, allocations: 35.89 kB / 0.6664 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.1692, allocations: 0 / 0.6664 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003536/0.1695, allocations: 203.7 kB / 0.6666 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.647e-05/0.1696, allocations: 15.92 kB / 0.6666 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.475e-05/0.1696, allocations: 23.86 kB / 0.6667 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.1699, allocations: 190.4 kB / 0.6668 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.17, allocations: 3.938 kB / 0.6668 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.024e-06/0.17, allocations: 0 / 0.6668 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.17, allocations: 0 / 0.6668 GB, free: 3.516 MB / 0.4981 GB 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.0004381/0.1704, allocations: 431.6 kB / 0.6673 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.1705, allocations: 13.09 kB / 0.6673 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.515e-05/0.1705, allocations: 38.75 kB / 0.6673 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.1706, allocations: 8.844 kB / 0.6673 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.1707, allocations: 172.2 kB / 0.6675 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1707, allocations: 4.375 kB / 0.6675 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.1707, allocations: 4.375 kB / 0.6675 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.1709, allocations: 93.77 kB / 0.6676 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.1709, allocations: 0 / 0.6676 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.171, allocations: 4 kB / 0.6676 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.171, allocations: 3.938 kB / 0.6676 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.572e-05/0.1711, allocations: 63.89 kB / 0.6676 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000157/0.1712, allocations: 181.6 kB / 0.6678 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.1713, allocations: 78.53 kB / 0.6679 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.019e-05/0.1714, allocations: 68.89 kB / 0.668 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.1715, allocations: 0 / 0.668 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.1715, allocations: 34.5 kB / 0.668 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1715, allocations: 0 / 0.668 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0004105/0.1719, allocations: 263.1 kB / 0.6682 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.172, allocations: 85.14 kB / 0.6683 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.1721, allocations: 143.5 kB / 0.6685 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1721, allocations: 29.7 kB / 0.6685 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.1722, allocations: 88.05 kB / 0.6686 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.1722, allocations: 7.906 kB / 0.6686 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.1723, allocations: 29.7 kB / 0.6686 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1724, allocations: 322.8 kB / 0.6689 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.1725, allocations: 99.94 kB / 0.669 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.1726, allocations: 111.9 kB / 0.6691 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.1729, allocations: 269.9 kB / 0.6694 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1729, allocations: 0 / 0.6694 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003551/0.1733, allocations: 332.7 kB / 0.6697 GB, free: 320 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.744e-05/0.1734, allocations: 75.31 kB / 0.6698 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1734, allocations: 0 / 0.6698 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1734, allocations: 0 / 0.6698 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.1734, allocations: 0 / 0.6698 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1734, allocations: 0 / 0.6698 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.1736, allocations: 11.84 kB / 0.6698 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.1736, allocations: 8.062 kB / 0.6698 GB, free: 212 kB / 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.0001207/0.1737, allocations: 155.5 kB / 0.6699 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.1738, allocations: 11.84 kB / 0.6699 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.891e-05/0.1738, allocations: 8.25 kB / 0.6699 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1738, allocations: 0 / 0.6699 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.1738, allocations: 0 / 0.6699 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1738, allocations: 0 / 0.6699 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.1739, allocations: 173.6 kB / 0.6701 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/0.1739, allocations: 3.938 kB / 0.6701 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.52e-07/0.174, allocations: 7.938 kB / 0.6701 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.174, allocations: 0 / 0.6701 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.174, allocations: 4 kB / 0.6701 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.174, allocations: 0 / 0.6701 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.174, allocations: 0 / 0.6701 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.1743, allocations: 226.6 kB / 0.6703 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.89e-05/0.1743, allocations: 88.95 kB / 0.6704 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.1743, allocations: 0 / 0.6704 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.115e-05/0.1744, allocations: 16.02 kB / 0.6704 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.885e-05/0.1745, allocations: 7.984 kB / 0.6705 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.1745, allocations: 4 kB / 0.6705 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.625e-05/0.1746, allocations: 109 kB / 0.6706 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1746, allocations: 0 / 0.6706 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002932/0.1749, allocations: 63.98 kB / 0.6706 GB, free: 15.23 MB / 0.5137 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.0007328/0.1756, allocations: 0.8144 MB / 0.6714 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004129/0.176, allocations: 374.6 kB / 0.6718 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1761, allocations: 0 / 0.6718 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.1762, allocations: 131.4 kB / 0.6719 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.1763, allocations: 8 kB / 0.6719 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.1784, allocations: 2.138 MB / 0.674 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.1786, allocations: 0.6925 MB / 0.6747 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.015e-06/0.1787, allocations: 3.938 kB / 0.6747 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.1787, allocations: 27.41 kB / 0.6747 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.1787, allocations: 0 / 0.6747 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.1988, allocations: 3.337 MB / 0.678 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.45/7.648, allocations: 4.344 kB / 0.678 GB, free: 7.609 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_CubicHermite.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)