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.0008005/0.0008004, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009002/0.0009003, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7274/0.7274, allocations: 132.3 MB / 423.4 MB, free: 2.055 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002967/0.0002967, allocations: 12.56 kB / 0.5035 GB, free: 4.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3637, allocations: 81.57 MB / 0.5832 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.000648/0.3644, allocations: 338.2 kB / 0.5835 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.3658, allocations: 1.343 MB / 0.5848 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.479e-05/0.3658, allocations: 0 / 0.5848 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.518e-05/0.3658, allocations: 5.406 kB / 0.5848 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.088e-05/0.3659, allocations: 2.016 kB / 0.5848 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.3664, allocations: 131.8 kB / 0.5849 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.511e-05/0.3665, allocations: 37.77 kB / 0.585 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.3665, allocations: 2.266 kB / 0.585 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.195e-05/0.3666, allocations: 22.53 kB / 0.585 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.904e-05/0.3667, allocations: 25.72 kB / 0.585 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.3667, allocations: 6.312 kB / 0.585 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000312/0.367, allocations: 184.3 kB / 0.5852 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.554e-05/0.367, allocations: 16.81 kB / 0.5852 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.3671, allocations: 28.73 kB / 0.5852 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.3673, allocations: 117.1 kB / 0.5853 GB, free: 2.629 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3673, allocations: 7.875 kB / 0.5854 GB, free: 2.621 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3673, allocations: 0 / 0.5854 GB, free: 2.621 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.3673, allocations: 1.594 kB / 0.5854 GB, free: 2.621 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.0002856/0.3676, allocations: 439 kB / 0.5858 GB, free: 2.164 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.3676, allocations: 13.75 kB / 0.5858 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.394e-05/0.3677, allocations: 32.25 kB / 0.5858 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.3677, allocations: 7.484 kB / 0.5858 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.842e-05/0.3678, allocations: 173.1 kB / 0.586 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.3678, allocations: 1.031 kB / 0.586 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.3678, allocations: 2.781 kB / 0.586 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.368, allocations: 98.36 kB / 0.5861 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.73e-06/0.368, allocations: 0 / 0.5861 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.368, allocations: 0.9688 kB / 0.5861 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.368, allocations: 0.7188 kB / 0.5861 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.483e-05/0.3681, allocations: 68.56 kB / 0.5862 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001093/0.3682, allocations: 179 kB / 0.5863 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.3683, allocations: 77.14 kB / 0.5864 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.15e-05/0.3684, allocations: 70.8 kB / 0.5865 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.3685, allocations: 3.984 kB / 0.5865 GB, free: 1.613 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.3685, allocations: 32.53 kB / 0.5865 GB, free: 1.574 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.3685, allocations: 0 / 0.5865 GB, free: 1.574 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003729/0.3689, allocations: 259.7 kB / 0.5868 GB, free: 1.484 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.3689, allocations: 83.88 kB / 0.5868 GB, free: 1.387 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.283e-05/0.369, allocations: 142.4 kB / 0.587 GB, free: 1.277 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.457e-06/0.369, allocations: 27.77 kB / 0.587 GB, free: 1.246 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.823e-05/0.369, allocations: 92.14 kB / 0.5871 GB, free: 1.156 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.3691, allocations: 11.8 kB / 0.5871 GB, free: 1.148 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.3691, allocations: 0.6875 kB / 0.5871 GB, free: 1.148 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.93e-05/0.3691, allocations: 323.7 kB / 0.5874 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.3693, allocations: 106.3 kB / 0.5875 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.3694, allocations: 97.8 kB / 0.5876 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.3695, allocations: 163 kB / 0.5878 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3696, allocations: 0 / 0.5878 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003489/0.3699, allocations: 329.8 kB / 0.5881 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.559e-05/0.37, allocations: 69.27 kB / 0.5881 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.37, allocations: 0 / 0.5881 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.37, allocations: 0.9062 kB / 0.5881 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.372e-06/0.37, allocations: 0.6094 kB / 0.5881 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.37, allocations: 5.078 kB / 0.5881 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.3701, allocations: 19.08 kB / 0.5882 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.3702, allocations: 4.062 kB / 0.5882 GB, free: 0.5117 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.487e-05/0.3702, allocations: 155.7 kB / 0.5883 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.3703, allocations: 12.14 kB / 0.5883 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.126e-05/0.3703, allocations: 7.578 kB / 0.5883 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.3703, allocations: 0 / 0.5883 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3703, allocations: 4.797 kB / 0.5883 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-06/0.3703, allocations: 0 / 0.5883 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.629e-05/0.3704, allocations: 176.6 kB / 0.5885 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3704, allocations: 4 kB / 0.5885 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.983e-06/0.3704, allocations: 0.75 kB / 0.5885 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.3704, allocations: 4.844 kB / 0.5885 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.3704, allocations: 2.156 kB / 0.5885 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3704, allocations: 1.203 kB / 0.5885 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3704, allocations: 0 / 0.5885 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.3707, allocations: 228.7 kB / 0.5887 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.86e-05/0.3707, allocations: 87.53 kB / 0.5888 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.3708, allocations: 10.34 kB / 0.5888 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.838e-05/0.3708, allocations: 5.781 kB / 0.5888 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.3709, allocations: 6.625 kB / 0.5888 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.3709, allocations: 2.531 kB / 0.5888 GB, free: 15.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.958e-05/0.371, allocations: 109 kB / 0.5889 GB, free: 15.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.371, allocations: 1.062 kB / 0.5889 GB, free: 15.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.3713, allocations: 61.52 kB / 0.589 GB, free: 15.82 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 (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.0007179/0.372, allocations: 0.8137 MB / 0.5898 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004055/0.3725, allocations: 376.1 kB / 0.5902 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.3725, allocations: 0 / 0.5902 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.3726, allocations: 133.2 kB / 0.5903 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.3728, allocations: 3.906 kB / 0.5903 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.3741, allocations: 1.023 MB / 0.5913 GB, free: 14.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.3745, allocations: 0.6914 MB / 0.592 GB, free: 13.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.751e-06/0.3745, allocations: 0.75 kB / 0.592 GB, free: 13.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.3745, allocations: 17.7 kB / 0.592 GB, free: 13.69 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3745, allocations: 4 kB / 0.592 GB, free: 13.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01312/0.3876, allocations: 2.923 MB / 0.5948 GB, free: 13.36 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001463/0.3878, allocations: 179.7 kB / 0.595 GB, free: 13.13 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/1.995, allocations: 0 / 0.595 GB, free: 13.13 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/linux/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) Environment - environmentSimulation: