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.002028/0.002028, 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.001948/0.001948, allocations: 194.3 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.899/0.899, allocations: 135.1 MB / 425.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 67.83 kB / 0.5055 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1606, allocations: 80.93 MB / 0.5845 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.002908/0.1636, allocations: 0.5935 MB / 0.5851 GB, free: 3.832 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.1657, allocations: 1.386 MB / 0.5864 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.843e-05/0.1658, allocations: 0 / 0.5864 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.586e-05/0.1659, allocations: 7.938 kB / 0.5864 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.916e-05/0.1659, allocations: 3.984 kB / 0.5864 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007802/0.1667, allocations: 178.7 kB / 0.5866 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.1669, allocations: 55.89 kB / 0.5867 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.1669, allocations: 0 / 0.5867 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.438e-05/0.167, allocations: 23.92 kB / 0.5867 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.987e-05/0.1671, allocations: 23.91 kB / 0.5867 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.1671, allocations: 4 kB / 0.5867 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004336/0.1676, allocations: 195.7 kB / 0.5869 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.463e-05/0.1676, allocations: 11.98 kB / 0.5869 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.77e-05/0.1677, allocations: 27.81 kB / 0.5869 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003736/0.1681, allocations: 187.8 kB / 0.5871 GB, free: 1.727 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1681, allocations: 0 / 0.5871 GB, free: 1.727 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1681, allocations: 4 kB / 0.5871 GB, free: 1.723 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1681, allocations: 0 / 0.5871 GB, free: 1.723 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.0005304/0.1686, allocations: 442.6 kB / 0.5875 GB, free: 1.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.1687, allocations: 8.031 kB / 0.5875 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.44e-05/0.1688, allocations: 42.67 kB / 0.5876 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.1688, allocations: 0.9375 kB / 0.5876 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.169, allocations: 180.2 kB / 0.5878 GB, free: 0.957 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.169, allocations: 384 / 0.5878 GB, free: 0.957 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.169, allocations: 4.375 kB / 0.5878 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.1693, allocations: 105.8 kB / 0.5879 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1693, allocations: 0 / 0.5879 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1693, allocations: 0 / 0.5879 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1693, allocations: 0 / 0.5879 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.1694, allocations: 59.95 kB / 0.5879 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001967/0.1696, allocations: 177.6 kB / 0.5881 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.1698, allocations: 78.47 kB / 0.5882 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.1699, allocations: 72.89 kB / 0.5882 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.17, allocations: 4 kB / 0.5882 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.17, allocations: 34.5 kB / 0.5883 GB, free: 364 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.17, allocations: 0 / 0.5883 GB, free: 364 kB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005254/0.1705, allocations: 259.1 kB / 0.5885 GB, free: 92 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.892e-05/0.1706, allocations: 81.11 kB / 0.5886 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.1708, allocations: 143.8 kB / 0.5887 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.1708, allocations: 29.7 kB / 0.5888 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.1709, allocations: 92.17 kB / 0.5889 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.1709, allocations: 15.75 kB / 0.5889 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.219e-05/0.171, allocations: 33.64 kB / 0.5889 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1712, allocations: 322.8 kB / 0.5892 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.1713, allocations: 99.94 kB / 0.5893 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.1715, allocations: 99.94 kB / 0.5894 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003763/0.1719, allocations: 273.8 kB / 0.5897 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1719, allocations: 0 / 0.5897 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000509/0.1724, allocations: 328.7 kB / 0.59 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-05/0.1725, allocations: 79.44 kB / 0.59 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1726, allocations: 0 / 0.59 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.1726, allocations: 0 / 0.59 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.1726, allocations: 0 / 0.59 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.1726, allocations: 0 / 0.59 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.1728, allocations: 15.84 kB / 0.5901 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.1729, allocations: 0 / 0.5901 GB, free: 14.41 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.0001655/0.1731, allocations: 151.5 kB / 0.5902 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.1731, allocations: 12.08 kB / 0.5902 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/0.1731, allocations: 16.23 kB / 0.5902 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1732, allocations: 0 / 0.5902 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1732, allocations: 0 / 0.5902 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1732, allocations: 0 / 0.5902 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.1733, allocations: 177.5 kB / 0.5904 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.1734, allocations: 7.938 kB / 0.5904 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.352e-06/0.1734, allocations: 0 / 0.5904 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1734, allocations: 0 / 0.5904 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.1734, allocations: 4 kB / 0.5904 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1734, allocations: 0 / 0.5904 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1734, allocations: 0 / 0.5904 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.1738, allocations: 230.7 kB / 0.5906 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.775e-05/0.1739, allocations: 84.95 kB / 0.5907 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.1739, allocations: 4 kB / 0.5907 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/0.174, allocations: 3.984 kB / 0.5907 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/0.1741, allocations: 8 kB / 0.5907 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.1741, allocations: 4 kB / 0.5907 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001059/0.1742, allocations: 103.2 kB / 0.5908 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.114e-06/0.1742, allocations: 4.031 kB / 0.5908 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005012/0.1747, allocations: 71.92 kB / 0.5909 GB, free: 13.43 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.0009928/0.1757, allocations: 0.8053 MB / 0.5917 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005952/0.1763, allocations: 374.6 kB / 0.592 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.1764, allocations: 4.094 kB / 0.5921 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.1766, allocations: 135.4 kB / 0.5922 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.1768, allocations: 10.12 kB / 0.5922 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/0.1799, allocations: 2.141 MB / 0.5943 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.1801, allocations: 0.6885 MB / 0.595 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.913e-06/0.1802, allocations: 0 / 0.595 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.1802, allocations: 19.44 kB / 0.595 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.1802, allocations: 32 / 0.595 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.2035, allocations: 3.276 MB / 0.5982 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.198/7.402, allocations: 0.7031 kB / 0.5982 GB, free: 5.883 MB / 0.4981 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_CubicHermite.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)