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.001419/0.001419, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001481/0.001481, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.396/2.396, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.627/1.627, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005338/0.0005338, allocations: 19.98 kB / 0.5069 GB, free: 5.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2691, allocations: 82.3 MB / 0.5873 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001132/0.2703, allocations: 339 kB / 0.5876 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002787/0.2731, allocations: 1.331 MB / 0.5889 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.213e-05/0.2732, allocations: 0 / 0.5889 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.914e-05/0.2732, allocations: 0 / 0.5889 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.732e-05/0.2733, allocations: 3.938 kB / 0.5889 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007775/0.2741, allocations: 131.7 kB / 0.589 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.461e-05/0.2742, allocations: 23.91 kB / 0.5891 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/0.2742, allocations: 8 kB / 0.5891 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.411e-05/0.2743, allocations: 19.97 kB / 0.5891 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.985e-05/0.2744, allocations: 23.91 kB / 0.5891 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.2744, allocations: 4 kB / 0.5891 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004696/0.2749, allocations: 171.7 kB / 0.5893 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.482e-05/0.275, allocations: 11.97 kB / 0.5893 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.354e-05/0.275, allocations: 37.64 kB / 0.5893 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.2753, allocations: 116.1 kB / 0.5894 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.2753, allocations: 0 / 0.5894 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2753, allocations: 0 / 0.5894 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.2753, allocations: 0 / 0.5894 GB, free: 0.7812 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.0005714/0.2759, allocations: 442.5 kB / 0.5899 GB, free: 296 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.276, allocations: 8.031 kB / 0.5899 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.404e-05/0.276, allocations: 30.56 kB / 0.5899 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/0.2761, allocations: 7.906 kB / 0.5899 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.2763, allocations: 178.9 kB / 0.5901 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.2763, allocations: 4 kB / 0.5901 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.2763, allocations: 0 / 0.5901 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.2766, allocations: 93.64 kB / 0.5902 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.2766, allocations: 0 / 0.5902 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.2766, allocations: 11.94 kB / 0.5902 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.2766, allocations: 0 / 0.5902 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.2768, allocations: 59.95 kB / 0.5902 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002598/0.277, allocations: 173.6 kB / 0.5904 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.2772, allocations: 82.53 kB / 0.5905 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-06/0.2772, allocations: 0 / 0.5905 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.2772, allocations: 30.56 kB / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.2772, allocations: 4 kB / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0007518/0.278, allocations: 336.3 kB / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/0.2781, allocations: 85.05 kB / 0.5909 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/0.2784, allocations: 148.6 kB / 0.5911 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.2784, allocations: 25.7 kB / 0.5911 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.2785, allocations: 96.05 kB / 0.5912 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.2785, allocations: 7.891 kB / 0.5912 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.112e-05/0.2786, allocations: 4 kB / 0.5912 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.2788, allocations: 318.9 kB / 0.5915 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.279, allocations: 103.9 kB / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.2792, allocations: 102.9 kB / 0.5917 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/0.2795, allocations: 163.3 kB / 0.5918 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.2795, allocations: 3.953 kB / 0.5918 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006107/0.2801, allocations: 324.7 kB / 0.5922 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.097e-05/0.2802, allocations: 75.33 kB / 0.5922 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2803, allocations: 0 / 0.5922 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.2803, allocations: 0 / 0.5922 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.246e-06/0.2803, allocations: 4 kB / 0.5922 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.2803, allocations: 4.062 kB / 0.5922 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.2805, allocations: 11.84 kB / 0.5923 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.2805, allocations: 4 kB / 0.5923 GB, free: 13.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001456/0.2807, allocations: 151.5 kB / 0.5924 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.2807, allocations: 11.86 kB / 0.5924 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.756e-05/0.2807, allocations: 4.25 kB / 0.5924 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2808, allocations: 4 kB / 0.5924 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.2808, allocations: 0 / 0.5924 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.2808, allocations: 4.141 kB / 0.5924 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.2809, allocations: 177.6 kB / 0.5926 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.281, allocations: 0 / 0.5926 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.3e-06/0.281, allocations: 3.953 kB / 0.5926 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.281, allocations: 3.938 kB / 0.5926 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.281, allocations: 0 / 0.5926 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.281, allocations: 4 kB / 0.5926 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.281, allocations: 4 kB / 0.5926 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004198/0.2814, allocations: 234.6 kB / 0.5928 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.2816, allocations: 85.02 kB / 0.5929 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.2817, allocations: 3.953 kB / 0.5929 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.2818, allocations: 7.984 kB / 0.5929 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.2818, allocations: 4 kB / 0.5929 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.2819, allocations: 7.984 kB / 0.5929 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.758e-05/0.282, allocations: 105 kB / 0.593 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.282, allocations: 0 / 0.593 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005298/0.2825, allocations: 63.98 kB / 0.5931 GB, free: 12.62 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00118/0.2837, allocations: 0.8131 MB / 0.5939 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005996/0.2843, allocations: 374.6 kB / 0.5942 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2843, allocations: 0 / 0.5942 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.2846, allocations: 131.4 kB / 0.5944 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.2847, allocations: 12.09 kB / 0.5944 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000823/0.2856, allocations: 437.6 kB / 0.5948 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004858/0.2861, allocations: 0.6965 MB / 0.5955 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.749e-06/0.2861, allocations: 0 / 0.5955 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.2861, allocations: 19.44 kB / 0.5955 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.2861, allocations: 7.875 kB / 0.5955 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02074/0.3069, allocations: 2.853 MB / 0.5983 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002983/0.3072, allocations: 175.6 kB / 0.5985 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.803/3.111, allocations: 0 / 0.5985 GB, free: 7.074 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/linux/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) Environment - environmentSimulation: