Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IDEAS_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.006565/0.006565, allocations: 98.55 kB / 15.73 MB, free: 6.047 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.001402/0.001402, allocations: 194.3 kB / 16.68 MB, free: 5.969 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8222/0.8222, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 73.06 kB / 0.5809 GB, free: 1.082 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1741, allocations: 80.19 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001672/0.1758, allocations: 0.6055 MB / 0.6598 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001965/0.1778, allocations: 1.396 MB / 0.6612 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.845e-05/0.1778, allocations: 4 kB / 0.6612 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.92e-05/0.1779, allocations: 3.938 kB / 0.6612 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.546e-05/0.178, allocations: 0 / 0.6612 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006577/0.1786, allocations: 173.6 kB / 0.6614 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.1788, allocations: 59.83 kB / 0.6614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.686e-05/0.1788, allocations: 7.984 kB / 0.6614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.56e-05/0.1788, allocations: 19.98 kB / 0.6615 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.706e-05/0.1789, allocations: 23.91 kB / 0.6615 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.1789, allocations: 4 kB / 0.6615 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003659/0.1793, allocations: 199.7 kB / 0.6617 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.633e-05/0.1794, allocations: 15.92 kB / 0.6617 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.132e-05/0.1794, allocations: 19.86 kB / 0.6617 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.1797, allocations: 187.7 kB / 0.6619 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1797, allocations: 0 / 0.6619 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1797, allocations: 4 kB / 0.6619 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.1797, allocations: 0 / 0.6619 GB, free: 11.26 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.0004838/0.1802, allocations: 446.4 kB / 0.6623 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.1803, allocations: 12.03 kB / 0.6623 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.021e-05/0.1803, allocations: 30.75 kB / 0.6624 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.1804, allocations: 8.891 kB / 0.6624 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.1805, allocations: 172.3 kB / 0.6625 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1805, allocations: 384 / 0.6625 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.1805, allocations: 4.375 kB / 0.6625 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.1807, allocations: 101.8 kB / 0.6626 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.1807, allocations: 0 / 0.6626 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.1808, allocations: 0 / 0.6626 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1808, allocations: 4 kB / 0.6626 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.186e-05/0.1809, allocations: 67.89 kB / 0.6627 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000208/0.1811, allocations: 177.6 kB / 0.6629 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.1812, allocations: 82.47 kB / 0.6629 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.563e-05/0.1813, allocations: 68.89 kB / 0.663 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.096e-06/0.1813, allocations: 0 / 0.663 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.1814, allocations: 42.5 kB / 0.6631 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.1814, allocations: 0 / 0.6631 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.000409/0.1818, allocations: 255.2 kB / 0.6633 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.1819, allocations: 81.05 kB / 0.6634 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.182, allocations: 144.3 kB / 0.6635 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.182, allocations: 29.64 kB / 0.6635 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.1821, allocations: 92.12 kB / 0.6636 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.1821, allocations: 19.89 kB / 0.6636 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.1822, allocations: 25.72 kB / 0.6637 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1823, allocations: 318.9 kB / 0.664 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.1825, allocations: 103.9 kB / 0.6641 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.1826, allocations: 106.7 kB / 0.6642 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.1829, allocations: 277.9 kB / 0.6644 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1829, allocations: 0 / 0.6644 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004066/0.1834, allocations: 324.8 kB / 0.6648 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.818e-05/0.1834, allocations: 71.39 kB / 0.6648 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1834, allocations: 0 / 0.6648 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1835, allocations: 0 / 0.6648 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.895e-06/0.1835, allocations: 8 kB / 0.6648 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1835, allocations: 4 kB / 0.6648 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.1837, allocations: 11.89 kB / 0.6648 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.1837, allocations: 4 kB / 0.6648 GB, free: 7.938 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.0001245/0.1838, allocations: 151.5 kB / 0.665 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.1838, allocations: 11.89 kB / 0.665 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.051e-05/0.1839, allocations: 8.25 kB / 0.665 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1839, allocations: 0 / 0.665 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1839, allocations: 0 / 0.665 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1839, allocations: 4 kB / 0.665 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.184, allocations: 169.8 kB / 0.6652 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.184, allocations: 3.938 kB / 0.6652 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-06/0.184, allocations: 0 / 0.6652 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.184, allocations: 11.92 kB / 0.6652 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.1841, allocations: 0 / 0.6652 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.1841, allocations: 0 / 0.6652 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1841, allocations: 0 / 0.6652 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.1844, allocations: 234.7 kB / 0.6654 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.1844, allocations: 92.94 kB / 0.6655 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.1844, allocations: 0 / 0.6655 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.191e-05/0.1845, allocations: 7.984 kB / 0.6655 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.1846, allocations: 4 kB / 0.6655 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.1846, allocations: 4 kB / 0.6655 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.528e-05/0.1847, allocations: 109.6 kB / 0.6656 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1847, allocations: 0 / 0.6656 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002894/0.185, allocations: 71.86 kB / 0.6657 GB, free: 6.957 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.0007805/0.1857, allocations: 0.8131 MB / 0.6665 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004388/0.1862, allocations: 374.6 kB / 0.6668 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1862, allocations: 0 / 0.6668 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.1864, allocations: 139.3 kB / 0.667 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.1865, allocations: 4.156 kB / 0.667 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.1888, allocations: 2.137 MB / 0.6691 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.1891, allocations: 0.6963 MB / 0.6697 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.823e-06/0.1891, allocations: 0 / 0.6697 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.1892, allocations: 15.44 kB / 0.6698 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1892, allocations: 0 / 0.6698 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.2142, allocations: 3.281 MB / 0.673 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.375/8.59, allocations: 14.55 kB / 0.673 GB, free: 15.41 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)