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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7016/0.7016, allocations: 133.4 MB / 146.7 MB, free: 10.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 221.3 MB / 400.4 MB, free: 5.812 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009285/0.0009283, allocations: 93.42 kB / 483.3 MB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.852e-05/3.853e-05, allocations: 4.531 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1627, allocations: 82.32 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6094/0.7721, allocations: 112.1 MB / 0.75 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.7724, allocations: 81.03 kB / 0.75 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.009609/0.7821, allocations: 3.212 MB / 0.7532 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7821, allocations: 0 / 0.7532 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.7821, allocations: 0 / 0.7532 GB, free: 27.67 MB / 0.5105 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.000419/0.7826, allocations: 436.8 kB / 0.7536 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.7826, allocations: 11.53 kB / 0.7536 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.757e-05/0.7826, allocations: 30.56 kB / 0.7536 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.7827, allocations: 11.38 kB / 0.7537 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.7828, allocations: 178.5 kB / 0.7538 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.7828, allocations: 7.438 kB / 0.7538 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.7829, allocations: 0 / 0.7538 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.783, allocations: 97.89 kB / 0.7539 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.7831, allocations: 0 / 0.7539 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.7831, allocations: 0 / 0.7539 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.7831, allocations: 0 / 0.7539 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.799e-05/0.7832, allocations: 60.64 kB / 0.754 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.7833, allocations: 185.9 kB / 0.7542 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.7834, allocations: 82.73 kB / 0.7542 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.401e-05/0.7835, allocations: 64.55 kB / 0.7543 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.7835, allocations: 0 / 0.7543 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.7836, allocations: 40.23 kB / 0.7543 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.7836, allocations: 3.812 kB / 0.7543 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0002886/0.7839, allocations: 181.5 kB / 0.7545 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.7839, allocations: 86.84 kB / 0.7546 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.784, allocations: 130.2 kB / 0.7547 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.7841, allocations: 29.45 kB / 0.7547 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.851e-05/0.7841, allocations: 87.03 kB / 0.7548 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.7841, allocations: 18.72 kB / 0.7549 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.7842, allocations: 0 / 0.7549 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.7843, allocations: 322 kB / 0.7552 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.7844, allocations: 95.45 kB / 0.7552 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.985e-05/0.7845, allocations: 100.8 kB / 0.7553 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.7846, allocations: 158.5 kB / 0.7555 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7847, allocations: 6.344 kB / 0.7555 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003116/0.785, allocations: 313.9 kB / 0.7558 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.288e-05/0.785, allocations: 72.94 kB / 0.7559 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.785, allocations: 0 / 0.7559 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.7851, allocations: 0 / 0.7559 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.7851, allocations: 3.969 kB / 0.7559 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.7851, allocations: 0 / 0.7559 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.714e-05/0.7852, allocations: 13.84 kB / 0.7559 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.7852, allocations: 7.531 kB / 0.7559 GB, free: 25.72 MB / 0.5105 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 () * 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.0001255/0.7853, allocations: 144.1 kB / 0.756 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.7854, allocations: 11.73 kB / 0.756 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.775e-05/0.7854, allocations: 10.12 kB / 0.7561 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.7854, allocations: 0 / 0.7561 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7854, allocations: 3.875 kB / 0.7561 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.7854, allocations: 0 / 0.7561 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.874e-05/0.7855, allocations: 167.5 kB / 0.7562 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7855, allocations: 3.781 kB / 0.7562 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.512e-06/0.7855, allocations: 7.891 kB / 0.7562 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.7855, allocations: 4 kB / 0.7562 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.7855, allocations: 0 / 0.7562 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-06/0.7856, allocations: 3.781 kB / 0.7562 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.7856, allocations: 3.938 kB / 0.7562 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.7858, allocations: 224.6 kB / 0.7565 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.374e-05/0.7859, allocations: 79.41 kB / 0.7565 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.7859, allocations: 9.047 kB / 0.7565 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.751e-05/0.7859, allocations: 3.906 kB / 0.7565 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.177e-05/0.786, allocations: 14.33 kB / 0.7566 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.786, allocations: 6.328 kB / 0.7566 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.751e-05/0.7861, allocations: 101.2 kB / 0.7567 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7861, allocations: 3.844 kB / 0.7567 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002877/0.7864, allocations: 76.22 kB / 0.7567 GB, free: 25.07 MB / 0.5105 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) * 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.0006824/0.7871, allocations: 0.8224 MB / 0.7575 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004015/0.7875, allocations: 360.4 kB / 0.7579 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.7875, allocations: 0 / 0.7579 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.7877, allocations: 136.9 kB / 0.758 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000107/0.7878, allocations: 5.203 kB / 0.758 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004351/0.7882, allocations: 225.4 kB / 0.7582 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.7885, allocations: 0.6941 MB / 0.7589 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.522e-06/0.7885, allocations: 4.125 kB / 0.7589 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.7885, allocations: 19.36 kB / 0.7589 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of SimCode: time 3.21e-07/0.7885, allocations: 0 / 0.7589 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01332/0.8019, allocations: 2.833 MB / 0.7617 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001401/0.802, allocations: 152.7 kB / 0.7618 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.568/2.37, allocations: 0 / 0.7618 GB, free: 21.89 MB / 0.5105 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)