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.001219/0.001219, allocations: 172.4 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7881/0.7881, allocations: 133.6 MB / 141.6 MB, free: 2.832 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 221.5 MB / 395.4 MB, free: 10.77 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.001023/0.001022, allocations: 98.14 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.42e-05/3.406e-05, allocations: 8 kB / 0.5536 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4343/0.4344, allocations: 82.31 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1442/0.5786, allocations: 111.4 MB / 0.7427 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.5789, allocations: 83.94 kB / 0.7428 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01035/0.5892, allocations: 3.202 MB / 0.746 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5893, allocations: 0 / 0.746 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.5893, allocations: 0 / 0.746 GB, free: 7.941 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.0003881/0.5897, allocations: 441.5 kB / 0.7464 GB, free: 7.453 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.5897, allocations: 8.031 kB / 0.7464 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.5898, allocations: 7.906 kB / 0.7464 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.5899, allocations: 171 kB / 0.7466 GB, free: 7.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.5899, allocations: 0 / 0.7466 GB, free: 7.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.59, allocations: 8 kB / 0.7466 GB, free: 7.223 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001224/0.5901, allocations: 55.97 kB / 0.7466 GB, free: 7.168 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.5902, allocations: 93.64 kB / 0.7467 GB, free: 7.07 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.5902, allocations: 0 / 0.7467 GB, free: 7.07 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.5903, allocations: 0 / 0.7467 GB, free: 7.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.5903, allocations: 0 / 0.7467 GB, free: 7.07 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.5904, allocations: 162.1 kB / 0.7469 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.5906, allocations: 82.48 kB / 0.7469 GB, free: 6.785 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.373e-05/0.5906, allocations: 68.84 kB / 0.747 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/0.5907, allocations: 4 kB / 0.747 GB, free: 6.711 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.5907, allocations: 30.56 kB / 0.747 GB, free: 6.672 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.5907, allocations: 3.938 kB / 0.747 GB, free: 6.668 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0003378/0.5911, allocations: 157.5 kB / 0.7472 GB, free: 6.508 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.5911, allocations: 85.09 kB / 0.7473 GB, free: 6.406 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.5913, allocations: 122.3 kB / 0.7474 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.5913, allocations: 25.7 kB / 0.7474 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/0.5913, allocations: 100.2 kB / 0.7475 GB, free: 6.145 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.5914, allocations: 11.81 kB / 0.7475 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-06/0.5914, allocations: 0 / 0.7475 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.5915, allocations: 322.8 kB / 0.7478 GB, free: 5.809 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.5916, allocations: 95.88 kB / 0.7479 GB, free: 5.715 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.5918, allocations: 99.88 kB / 0.748 GB, free: 5.617 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.592, allocations: 95.94 kB / 0.7481 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.592, allocations: 0 / 0.7481 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003631/0.5923, allocations: 253.3 kB / 0.7483 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.965e-05/0.5924, allocations: 75.45 kB / 0.7484 GB, free: 5.184 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.5924, allocations: 0 / 0.7484 GB, free: 5.184 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.5924, allocations: 0 / 0.7484 GB, free: 5.184 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-06/0.5925, allocations: 0 / 0.7484 GB, free: 5.184 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.5925, allocations: 4 kB / 0.7484 GB, free: 5.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.828e-05/0.5925, allocations: 11.84 kB / 0.7484 GB, free: 5.168 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.5926, allocations: 11.98 kB / 0.7484 GB, free: 5.156 MB / 0.5261 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.0001085/0.5927, allocations: 130.7 kB / 0.7486 GB, free: 5.016 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000252/0.593, allocations: 181.4 kB / 0.7487 GB, free: 4.832 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.593, allocations: 7.984 kB / 0.7488 GB, free: 4.824 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.525e-05/0.593, allocations: 4.344 kB / 0.7488 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.593, allocations: 0 / 0.7488 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.593, allocations: 0 / 0.7488 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.593, allocations: 0 / 0.7488 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.5932, allocations: 162.1 kB / 0.7489 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.5932, allocations: 0 / 0.7489 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.5932, allocations: 0 / 0.7489 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.5932, allocations: 3.953 kB / 0.7489 GB, free: 4.621 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.5932, allocations: 8 kB / 0.7489 GB, free: 4.613 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.5932, allocations: 4.031 kB / 0.7489 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.628e-05/0.5933, allocations: 0 / 0.7489 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.5935, allocations: 189 kB / 0.7491 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.5936, allocations: 85 kB / 0.7492 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.5936, allocations: 7.953 kB / 0.7492 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.927e-05/0.5937, allocations: 7.938 kB / 0.7492 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/0.5937, allocations: 15.92 kB / 0.7492 GB, free: 4.273 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.5937, allocations: 4.031 kB / 0.7492 GB, free: 4.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.467e-05/0.5938, allocations: 101.1 kB / 0.7493 GB, free: 4.172 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5938, allocations: 3.938 kB / 0.7493 GB, free: 4.168 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003637/0.5942, allocations: 83.92 kB / 0.7494 GB, free: 4.086 MB / 0.5261 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.0007603/0.595, allocations: 0.7801 MB / 0.7502 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003679/0.5954, allocations: 354.7 kB / 0.7505 GB, free: 2.902 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5954, allocations: 0 / 0.7505 GB, free: 2.902 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.5955, allocations: 139.3 kB / 0.7506 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001029/0.5956, allocations: 7.953 kB / 0.7506 GB, free: 2.746 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004442/0.5961, allocations: 214 kB / 0.7508 GB, free: 2.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.5964, allocations: 0.6963 MB / 0.7515 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.96e-06/0.5964, allocations: 0 / 0.7515 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.5964, allocations: 19.44 kB / 0.7515 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of SimCode: time 2.21e-07/0.5964, allocations: 4.125 kB / 0.7515 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/0.6166, allocations: 2.448 MB / 0.7539 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/0.6168, allocations: 132.2 kB / 0.7541 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.474/2.091, allocations: 3.938 kB / 0.7541 GB, free: 15.13 MB / 0.5417 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)