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.001265/0.001265, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001225/0.001225, allocations: 195.5 kB / 16.25 MB, free: 6.633 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.397/1.397, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9996/0.9996, allocations: 135.1 MB / 425.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 68.02 kB / 0.505 GB, free: 5.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1635, allocations: 80.93 MB / 0.584 GB, free: 4.777 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.002029/0.1656, allocations: 0.6564 MB / 0.5846 GB, free: 4.113 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002202/0.1678, allocations: 1.382 MB / 0.586 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.683e-05/0.1678, allocations: 0 / 0.586 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.226e-05/0.1679, allocations: 7.938 kB / 0.586 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.178e-05/0.168, allocations: 3.984 kB / 0.586 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007002/0.1687, allocations: 155.8 kB / 0.5862 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.1688, allocations: 51.97 kB / 0.5862 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/0.1688, allocations: 15.8 kB / 0.5862 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.321e-05/0.1689, allocations: 19.98 kB / 0.5862 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.96e-05/0.169, allocations: 23.91 kB / 0.5863 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.169, allocations: 4 kB / 0.5863 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003426/0.1693, allocations: 195.7 kB / 0.5865 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.1694, allocations: 15.98 kB / 0.5865 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.407e-05/0.1695, allocations: 27.8 kB / 0.5865 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.1697, allocations: 191.8 kB / 0.5867 GB, free: 2.016 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1697, allocations: 0 / 0.5867 GB, free: 2.016 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1697, allocations: 0 / 0.5867 GB, free: 2.016 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1698, allocations: 0 / 0.5867 GB, free: 2.016 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.0004617/0.1702, allocations: 438.6 kB / 0.5871 GB, free: 1.527 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1703, allocations: 8.031 kB / 0.5871 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.087e-05/0.1703, allocations: 34.75 kB / 0.5871 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.545e-05/0.1703, allocations: 0.9375 kB / 0.5871 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.1705, allocations: 180.2 kB / 0.5873 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1705, allocations: 12.36 kB / 0.5873 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.1705, allocations: 8.312 kB / 0.5873 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.1707, allocations: 93.77 kB / 0.5874 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.06e-06/0.1707, allocations: 0 / 0.5874 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.1707, allocations: 4 kB / 0.5874 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-06/0.1707, allocations: 0 / 0.5874 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.206e-05/0.1708, allocations: 63.95 kB / 0.5875 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001729/0.171, allocations: 177.6 kB / 0.5877 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.1711, allocations: 78.53 kB / 0.5877 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.361e-05/0.1712, allocations: 72.83 kB / 0.5878 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-06/0.1712, allocations: 0 / 0.5878 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.1712, allocations: 42.5 kB / 0.5878 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.1713, allocations: 0 / 0.5878 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003952/0.1717, allocations: 251.2 kB / 0.5881 GB, free: 396 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.1717, allocations: 77.11 kB / 0.5881 GB, free: 300 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1719, allocations: 155.4 kB / 0.5883 GB, free: 136 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.1719, allocations: 29.7 kB / 0.5883 GB, free: 100 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.243e-05/0.172, allocations: 88.12 kB / 0.5884 GB, free: 8 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.172, allocations: 15.97 kB / 0.5884 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.564e-05/0.1721, allocations: 29.7 kB / 0.5885 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1722, allocations: 318.8 kB / 0.5888 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.1724, allocations: 107.9 kB / 0.5889 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.1725, allocations: 102.5 kB / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.1728, allocations: 281.9 kB / 0.5892 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1728, allocations: 0 / 0.5892 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003686/0.1732, allocations: 324.8 kB / 0.5895 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.273e-05/0.1733, allocations: 75.33 kB / 0.5896 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1733, allocations: 0 / 0.5896 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1733, allocations: 0 / 0.5896 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.1733, allocations: 0 / 0.5896 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1733, allocations: 0 / 0.5896 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.1735, allocations: 15.83 kB / 0.5896 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.1735, allocations: 4 kB / 0.5896 GB, free: 14.69 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.0001098/0.1736, allocations: 155.5 kB / 0.5898 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.1736, allocations: 7.938 kB / 0.5898 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.736e-05/0.1737, allocations: 8.25 kB / 0.5898 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1737, allocations: 0 / 0.5898 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1737, allocations: 0 / 0.5898 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1737, allocations: 3.984 kB / 0.5898 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.1738, allocations: 173.6 kB / 0.59 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1738, allocations: 3.938 kB / 0.59 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1738, allocations: 0 / 0.59 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1738, allocations: 7.984 kB / 0.59 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1739, allocations: 4 kB / 0.59 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1739, allocations: 0 / 0.59 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1739, allocations: 0 / 0.59 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.1741, allocations: 222.7 kB / 0.5902 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.16e-05/0.1742, allocations: 89.09 kB / 0.5903 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.1742, allocations: 4 kB / 0.5903 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.962e-05/0.1743, allocations: 4 kB / 0.5903 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.1743, allocations: 19.94 kB / 0.5903 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.1744, allocations: 7.938 kB / 0.5903 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.201e-05/0.1744, allocations: 109.4 kB / 0.5904 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1745, allocations: 0 / 0.5904 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002897/0.1748, allocations: 64 kB / 0.5905 GB, free: 13.71 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.0006885/0.1754, allocations: 0.8131 MB / 0.5913 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000382/0.1758, allocations: 370.7 kB / 0.5916 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.1759, allocations: 0 / 0.5916 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.176, allocations: 143.3 kB / 0.5918 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.1761, allocations: 4 kB / 0.5918 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.1782, allocations: 2.141 MB / 0.5939 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.1785, allocations: 0.6965 MB / 0.5945 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.783e-06/0.1785, allocations: 0 / 0.5945 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.1785, allocations: 19.38 kB / 0.5945 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.1785, allocations: 0 / 0.5945 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01194/0.1905, allocations: 3.111 MB / 0.5976 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/0.1907, allocations: 205.8 kB / 0.5978 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/1.969, allocations: 0 / 0.5978 GB, free: 6.105 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 & /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)