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.004942/0.004942, allocations: 170 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7641/0.7641, allocations: 135.2 MB / 151 MB, free: 13.83 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.596/1.596, allocations: 223.2 MB / 406.8 MB, free: 3.223 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008549/0.000855, allocations: 100.6 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.0003342, allocations: 12 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3943, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1495/0.5438, allocations: 112.1 MB / 0.7591 GB, free: 3.84 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.5441, allocations: 83.94 kB / 0.7591 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009719/0.5539, allocations: 3.233 MB / 0.7623 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.694e-06/0.5539, allocations: 4 kB / 0.7623 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.5539, allocations: 0 / 0.7623 GB, free: 0.5195 MB / 0.5261 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.0004785/0.5544, allocations: 442.4 kB / 0.7627 GB, free: 28 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.5544, allocations: 8.031 kB / 0.7627 GB, free: 20 kB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.181e-05/0.5545, allocations: 38.55 kB / 0.7628 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.5545, allocations: 7.906 kB / 0.7628 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.5547, allocations: 180.4 kB / 0.7629 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.5547, allocations: 0 / 0.7629 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.5547, allocations: 4 kB / 0.7629 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.5549, allocations: 93.64 kB / 0.763 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.555, allocations: 7.938 kB / 0.763 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.555, allocations: 0 / 0.763 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.555, allocations: 0 / 0.763 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.855e-05/0.5551, allocations: 59.95 kB / 0.7631 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.5553, allocations: 181.5 kB / 0.7633 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.5554, allocations: 82.53 kB / 0.7634 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-06/0.5554, allocations: 3.938 kB / 0.7634 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.5554, allocations: 34.59 kB / 0.7634 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.5554, allocations: 0 / 0.7634 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0004582/0.5559, allocations: 332.2 kB / 0.7637 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.556, allocations: 81.11 kB / 0.7638 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.5561, allocations: 134 kB / 0.7639 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.5561, allocations: 33.72 kB / 0.7639 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.325e-05/0.5562, allocations: 92.05 kB / 0.764 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.5562, allocations: 7.906 kB / 0.764 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-06/0.5562, allocations: 0 / 0.764 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.5564, allocations: 322.8 kB / 0.7643 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.5565, allocations: 91.94 kB / 0.7644 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.5566, allocations: 103.9 kB / 0.7645 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.5568, allocations: 163.4 kB / 0.7647 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5568, allocations: 0 / 0.7647 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003693/0.5572, allocations: 320.7 kB / 0.765 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.62e-05/0.5573, allocations: 71.39 kB / 0.7651 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.5573, allocations: 0 / 0.7651 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.5573, allocations: 0 / 0.7651 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.5573, allocations: 4 kB / 0.7651 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.5573, allocations: 0 / 0.7651 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.595e-05/0.5574, allocations: 15.83 kB / 0.7651 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/0.5574, allocations: 8 kB / 0.7651 GB, free: 13.36 MB / 0.5417 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.0001175/0.5576, allocations: 151.6 kB / 0.7652 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.5576, allocations: 15.86 kB / 0.7653 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.94e-05/0.5576, allocations: 4.25 kB / 0.7653 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.5576, allocations: 0 / 0.7653 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5576, allocations: 0 / 0.7653 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.5576, allocations: 4.125 kB / 0.7653 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.5578, allocations: 173.6 kB / 0.7654 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.5578, allocations: 0 / 0.7654 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-06/0.5578, allocations: 7.969 kB / 0.7654 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.5578, allocations: 7.953 kB / 0.7654 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.5578, allocations: 0 / 0.7654 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.5578, allocations: 4 kB / 0.7654 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5578, allocations: 0 / 0.7654 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.5581, allocations: 226.6 kB / 0.7657 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.5582, allocations: 81.09 kB / 0.7657 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.5582, allocations: 7.953 kB / 0.7657 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.679e-05/0.5583, allocations: 7.938 kB / 0.7658 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.704e-05/0.5583, allocations: 7.984 kB / 0.7658 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.5584, allocations: 8.031 kB / 0.7658 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.705e-05/0.5585, allocations: 116.5 kB / 0.7659 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5585, allocations: 0 / 0.7659 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003185/0.5588, allocations: 75.94 kB / 0.766 GB, free: 12.36 MB / 0.5417 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.0007678/0.5596, allocations: 0.8131 MB / 0.7667 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004021/0.56, allocations: 362.7 kB / 0.7671 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.56, allocations: 4 kB / 0.7671 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.5601, allocations: 135.3 kB / 0.7672 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001099/0.5603, allocations: 9.047 kB / 0.7672 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006055/0.5609, allocations: 449.6 kB / 0.7677 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.5612, allocations: 0.6965 MB / 0.7683 GB, free: 9.762 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.032e-05/0.5612, allocations: 7.844 kB / 0.7684 GB, free: 9.754 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.5612, allocations: 15.44 kB / 0.7684 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of SimCode: time 3.61e-07/0.5612, allocations: 0 / 0.7684 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01352/0.5747, allocations: 2.793 MB / 0.7711 GB, free: 7.059 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/0.5749, allocations: 178.2 kB / 0.7713 GB, free: 6.82 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/2.147, allocations: 0 / 0.7713 GB, free: 6.82 MB / 0.5417 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)