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.0008137/0.0008138, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004737/0.004738, allocations: 170 kB / 16.26 MB, free: 6.613 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.296/1.296, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7341/0.7341, allocations: 132.3 MB / 423.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002751/0.0002751, allocations: 16 kB / 0.5041 GB, free: 3.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3314, allocations: 81.57 MB / 0.5838 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.0005838/0.332, allocations: 349.7 kB / 0.5841 GB, free: 3.625 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.3334, allocations: 1.41 MB / 0.5855 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.833e-05/0.3334, allocations: 0 / 0.5855 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.309e-05/0.3335, allocations: 0.6562 kB / 0.5855 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.553e-05/0.3335, allocations: 6.781 kB / 0.5855 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004356/0.3339, allocations: 133.6 kB / 0.5856 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.521e-05/0.334, allocations: 41.95 kB / 0.5856 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.687e-05/0.3341, allocations: 7.141 kB / 0.5856 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.521e-05/0.3341, allocations: 21.22 kB / 0.5857 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.252e-05/0.3342, allocations: 25.38 kB / 0.5857 GB, free: 2.535 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.3342, allocations: 3.594 kB / 0.5857 GB, free: 2.535 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002753/0.3345, allocations: 190.2 kB / 0.5859 GB, free: 2.484 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.661e-05/0.3345, allocations: 13.53 kB / 0.5859 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.905e-05/0.3345, allocations: 54.28 kB / 0.5859 GB, free: 2.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.3348, allocations: 185.1 kB / 0.5861 GB, free: 2.383 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.3348, allocations: 0 / 0.5861 GB, free: 2.383 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3348, allocations: 0 / 0.5861 GB, free: 2.383 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.838e-06/0.3348, allocations: 1.438 kB / 0.5861 GB, free: 2.383 MB / 430.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.0002715/0.3351, allocations: 427 kB / 0.5865 GB, free: 1.938 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.3351, allocations: 9.062 kB / 0.5865 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.681e-05/0.3352, allocations: 41.38 kB / 0.5866 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.626e-05/0.3352, allocations: 12 kB / 0.5866 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.691e-05/0.3353, allocations: 171.6 kB / 0.5868 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.3353, allocations: 2.375 kB / 0.5868 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.3353, allocations: 2.812 kB / 0.5868 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.3355, allocations: 98.08 kB / 0.5868 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.3355, allocations: 0.5938 kB / 0.5869 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.3355, allocations: 1.062 kB / 0.5869 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.3355, allocations: 0 / 0.5869 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.883e-05/0.3356, allocations: 61.38 kB / 0.5869 GB, free: 1.641 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001039/0.3357, allocations: 179.5 kB / 0.5871 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.3358, allocations: 87.81 kB / 0.5872 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.997e-05/0.3359, allocations: 68.25 kB / 0.5872 GB, free: 1.387 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.652e-06/0.3359, allocations: 0 / 0.5872 GB, free: 1.387 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.173e-05/0.3359, allocations: 35.5 kB / 0.5873 GB, free: 1.344 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.3359, allocations: 0 / 0.5873 GB, free: 1.344 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.000349/0.3363, allocations: 253.1 kB / 0.5875 GB, free: 1.262 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.3363, allocations: 92 kB / 0.5876 GB, free: 1.156 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.129e-05/0.3364, allocations: 143.8 kB / 0.5877 GB, free: 1.043 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.3364, allocations: 27.58 kB / 0.5878 GB, free: 1.012 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.598e-05/0.3365, allocations: 88.81 kB / 0.5878 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.3365, allocations: 15.31 kB / 0.5879 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.3365, allocations: 25.48 kB / 0.5879 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.645e-05/0.3366, allocations: 320.1 kB / 0.5882 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.3367, allocations: 100.9 kB / 0.5883 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.3368, allocations: 105.8 kB / 0.5884 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.3371, allocations: 275 kB / 0.5886 GB, free: 428 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3371, allocations: 0 / 0.5886 GB, free: 428 kB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003176/0.3374, allocations: 322.5 kB / 0.589 GB, free: 292 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.183e-05/0.3374, allocations: 75.14 kB / 0.589 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.3375, allocations: 0 / 0.589 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.3375, allocations: 0.7812 kB / 0.589 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.663e-06/0.3375, allocations: 1.812 kB / 0.589 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.3375, allocations: 0 / 0.589 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.3376, allocations: 19.41 kB / 0.589 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.3376, allocations: 4.5 kB / 0.589 GB, free: 212 kB / 430.1 MB 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 6.991e-05/0.3377, allocations: 150.7 kB / 0.5892 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.3377, allocations: 12.91 kB / 0.5892 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.079e-05/0.3377, allocations: 6.062 kB / 0.5892 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.3377, allocations: 1.25 kB / 0.5892 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3378, allocations: 0.75 kB / 0.5892 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3378, allocations: 4.141 kB / 0.5892 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.3379, allocations: 176.6 kB / 0.5894 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3379, allocations: 9.031 kB / 0.5894 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.3379, allocations: 0 / 0.5894 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3379, allocations: 0.625 kB / 0.5894 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.3379, allocations: 3.594 kB / 0.5894 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.3379, allocations: 0 / 0.5894 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3379, allocations: 0.7969 kB / 0.5894 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.3382, allocations: 228.6 kB / 0.5896 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.3382, allocations: 87.27 kB / 0.5897 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.3383, allocations: 5.875 kB / 0.5897 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.847e-05/0.3383, allocations: 5.703 kB / 0.5897 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.3384, allocations: 14.52 kB / 0.5897 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.3384, allocations: 3.344 kB / 0.5897 GB, free: 15.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.308e-05/0.3385, allocations: 103.4 kB / 0.5898 GB, free: 15.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3385, allocations: 0 / 0.5898 GB, free: 15.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.3387, allocations: 70.25 kB / 0.5899 GB, free: 15.51 MB / 446.1 MB 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.000627/0.3394, allocations: 0.8172 MB / 0.5907 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000383/0.3398, allocations: 377 kB / 0.5911 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3398, allocations: 0 / 0.5911 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.3399, allocations: 134.3 kB / 0.5912 GB, free: 14.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.3401, allocations: 6.922 kB / 0.5912 GB, free: 14.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.342, allocations: 2.135 MB / 0.5933 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.3422, allocations: 0.6914 MB / 0.5939 GB, free: 12.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.358e-06/0.3422, allocations: 0 / 0.5939 GB, free: 12.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.3423, allocations: 17.91 kB / 0.594 GB, free: 12.49 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3423, allocations: 0 / 0.594 GB, free: 12.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.089/1.432, allocations: 2.966 MB / 0.5969 GB, free: 12.05 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002611/1.432, allocations: 188.2 kB / 0.597 GB, free: 11.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/3.12, allocations: 4 kB / 0.597 GB, free: 11.79 MB / 446.1 MB (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)