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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 175 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.7494/0.7494, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.519/1.519, allocations: 221.3 MB / 400.4 MB, free: 5.863 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.0009158/0.0009158, allocations: 91.89 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.099e-05/4.111e-05, allocations: 5.562 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1544, allocations: 82.31 MB / 0.6405 GB, free: 7.695 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.547/0.7015, allocations: 112.1 MB / 0.75 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.7018, allocations: 84.53 kB / 0.7501 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.009377/0.7111, allocations: 3.205 MB / 0.7532 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7112, allocations: 0 / 0.7532 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.7112, allocations: 3.812 kB / 0.7532 GB, free: 27.62 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.0004305/0.7116, allocations: 435.4 kB / 0.7536 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.7117, allocations: 7.719 kB / 0.7536 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.465e-05/0.7117, allocations: 37.28 kB / 0.7537 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.7118, allocations: 7.875 kB / 0.7537 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.7119, allocations: 170.9 kB / 0.7538 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.7119, allocations: 3.844 kB / 0.7538 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.7119, allocations: 3.844 kB / 0.7538 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.7121, allocations: 93.45 kB / 0.7539 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.7121, allocations: 0 / 0.7539 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.7121, allocations: 7.891 kB / 0.7539 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.7121, allocations: 0 / 0.7539 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.607e-05/0.7122, allocations: 57.83 kB / 0.754 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000157/0.7124, allocations: 187 kB / 0.7542 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.159e-05/0.7125, allocations: 85.36 kB / 0.7542 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.113e-05/0.7126, allocations: 65.59 kB / 0.7543 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/0.7126, allocations: 3.375 kB / 0.7543 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.7126, allocations: 34.5 kB / 0.7543 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.7126, allocations: 0 / 0.7543 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0002713/0.7129, allocations: 190.7 kB / 0.7545 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.713, allocations: 77.11 kB / 0.7546 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.7131, allocations: 134.8 kB / 0.7547 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.7131, allocations: 25.7 kB / 0.7547 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.461e-05/0.7131, allocations: 93.67 kB / 0.7548 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.7132, allocations: 17.47 kB / 0.7549 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/0.7132, allocations: 0 / 0.7549 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.699e-05/0.7133, allocations: 321.1 kB / 0.7552 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.769e-05/0.7134, allocations: 95.47 kB / 0.7553 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.654e-05/0.7135, allocations: 95.55 kB / 0.7553 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.7136, allocations: 165.2 kB / 0.7555 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.7136, allocations: 3.953 kB / 0.7555 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003147/0.7139, allocations: 315.6 kB / 0.7558 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.82e-05/0.714, allocations: 72.84 kB / 0.7559 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.714, allocations: 0 / 0.7559 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.714, allocations: 0 / 0.7559 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.714, allocations: 3.844 kB / 0.7559 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.7141, allocations: 0 / 0.7559 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.872e-05/0.7141, allocations: 15.62 kB / 0.7559 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.7142, allocations: 7.688 kB / 0.7559 GB, free: 25.67 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 9.163e-05/0.7143, allocations: 141.5 kB / 0.756 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.7143, allocations: 11.73 kB / 0.756 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.895e-05/0.7143, allocations: 10.73 kB / 0.7561 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.7143, allocations: 1.188 kB / 0.7561 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.7143, allocations: 3.906 kB / 0.7561 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.7143, allocations: 0 / 0.7561 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.7145, allocations: 168.9 kB / 0.7562 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.7145, allocations: 0 / 0.7562 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.044e-06/0.7145, allocations: 3.953 kB / 0.7562 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.7145, allocations: 0 / 0.7562 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.7145, allocations: 7.562 kB / 0.7562 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.7145, allocations: 4.781 kB / 0.7562 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.7145, allocations: 3.938 kB / 0.7562 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.7149, allocations: 221.6 kB / 0.7565 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/0.7149, allocations: 79.92 kB / 0.7565 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.7149, allocations: 7.766 kB / 0.7565 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.787e-05/0.715, allocations: 7.844 kB / 0.7565 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/0.7151, allocations: 10.28 kB / 0.7566 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.7151, allocations: 7.812 kB / 0.7566 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.818e-05/0.7152, allocations: 105 kB / 0.7567 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7152, allocations: 0 / 0.7567 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003718/0.7155, allocations: 79.33 kB / 0.7567 GB, free: 25.02 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.0008244/0.7164, allocations: 0.8208 MB / 0.7575 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003653/0.7168, allocations: 364.1 kB / 0.7579 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7168, allocations: 0 / 0.7579 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.7169, allocations: 134.4 kB / 0.758 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.717, allocations: 3.953 kB / 0.758 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/0.7175, allocations: 224.1 kB / 0.7582 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.7178, allocations: 0.6992 MB / 0.7589 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.7e-06/0.7178, allocations: 128 / 0.7589 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.411e-05/0.7178, allocations: 24.56 kB / 0.7589 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of SimCode: time 5.41e-07/0.7178, allocations: 0 / 0.7589 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01429/0.7321, allocations: 2.828 MB / 0.7617 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001268/0.7323, allocations: 149.2 kB / 0.7618 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.521/2.253, allocations: 0 / 0.7618 GB, free: 21.89 MB / 0.5105 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/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)