Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.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.QuinticHermite,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite",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.001493/0.001493, allocations: 173.9 kB / 7.648 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.8564/0.8564, allocations: 133.6 MB / 141.6 MB, free: 2.945 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.447/1.447, allocations: 221.5 MB / 395.5 MB, free: 10.78 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.0009398/0.0009397, allocations: 104.1 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.607e-05/2.592e-05, allocations: 12 kB / 0.5536 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.437, allocations: 82.31 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1515/0.5886, allocations: 110.3 MB / 0.7416 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.5889, allocations: 75.95 kB / 0.7417 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003717/0.5926, allocations: 1.232 MB / 0.7429 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5926, allocations: 0 / 0.7429 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.5927, allocations: 4 kB / 0.7429 GB, free: 11.13 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003785/0.593, allocations: 362.3 kB / 0.7432 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.5931, allocations: 8.031 kB / 0.7432 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.5931, allocations: 4 kB / 0.7432 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.5933, allocations: 186.9 kB / 0.7434 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.5933, allocations: 0 / 0.7434 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.5934, allocations: 7.906 kB / 0.7434 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.666e-05/0.5934, allocations: 8 kB / 0.7434 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.512e-05/0.5935, allocations: 45.67 kB / 0.7435 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.5935, allocations: 0 / 0.7435 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.5936, allocations: 3.938 kB / 0.7435 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.5936, allocations: 8 kB / 0.7435 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002965/0.5939, allocations: 225.5 kB / 0.7437 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.324e-05/0.594, allocations: 42.5 kB / 0.7437 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.372e-05/0.594, allocations: 16.94 kB / 0.7438 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.594, allocations: 4 kB / 0.7438 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.5941, allocations: 34.56 kB / 0.7438 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.5941, allocations: 0 / 0.7438 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.01688/0.611, allocations: 1.199 MB / 0.745 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.611, allocations: 59.41 kB / 0.745 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.6112, allocations: 112.9 kB / 0.7451 GB, free: 8.648 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.849e-05/0.6113, allocations: 25.7 kB / 0.7452 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.408e-05/0.6113, allocations: 88.08 kB / 0.7452 GB, free: 8.527 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.552e-05/0.6114, allocations: 27.61 kB / 0.7453 GB, free: 8.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.188e-05/0.6115, allocations: 0 / 0.7453 GB, free: 8.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.6116, allocations: 310.8 kB / 0.7456 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.6119, allocations: 116 kB / 0.7457 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/0.6123, allocations: 116 kB / 0.7458 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006283/0.6129, allocations: 167.8 kB / 0.7459 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.6129, allocations: 0 / 0.7459 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001087/0.614, allocations: 322.1 kB / 0.7463 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.614, allocations: 4 kB / 0.7463 GB, free: 7.473 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.614, allocations: 4.094 kB / 0.7463 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.6141, allocations: 3.938 kB / 0.7463 GB, free: 7.465 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.6156, allocations: 71.88 kB / 0.7463 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.6156, allocations: 0 / 0.7463 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.6169, allocations: 55.94 kB / 0.7464 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.043e-05/0.617, allocations: 3.953 kB / 0.7464 GB, free: 7.336 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001808/0.6171, allocations: 105 kB / 0.7465 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001093/0.6182, allocations: 313.5 kB / 0.7468 GB, free: 6.914 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.566e-05/0.6184, allocations: 11.91 kB / 0.7468 GB, free: 6.902 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.6185, allocations: 16.62 kB / 0.7468 GB, free: 6.883 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.6185, allocations: 0 / 0.7468 GB, free: 6.883 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.6185, allocations: 7.953 kB / 0.7468 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.6185, allocations: 0 / 0.7468 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005563/0.6241, allocations: 0.8148 MB / 0.7476 GB, free: 6.012 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.6241, allocations: 3.984 kB / 0.7476 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.6252, allocations: 56 kB / 0.7477 GB, free: 5.953 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/0.6253, allocations: 11.95 kB / 0.7477 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-05/0.6253, allocations: 0 / 0.7477 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.6253, allocations: 4 kB / 0.7477 GB, free: 5.938 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6253, allocations: 0 / 0.7477 GB, free: 5.938 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009183/0.6262, allocations: 344.4 kB / 0.748 GB, free: 5.566 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.6263, allocations: 81.02 kB / 0.7481 GB, free: 5.469 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.437e-05/0.6264, allocations: 4 kB / 0.7481 GB, free: 5.465 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.6275, allocations: 43.95 kB / 0.7481 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.6275, allocations: 3.984 kB / 0.7481 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/0.6275, allocations: 4 kB / 0.7481 GB, free: 5.414 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.17e-05/0.6276, allocations: 91.28 kB / 0.7482 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6276, allocations: 0 / 0.7482 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004138/0.628, allocations: 103.9 kB / 0.7483 GB, free: 5.223 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.001362/0.6294, allocations: 1.027 MB / 0.7493 GB, free: 4.156 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006157/0.63, allocations: 188 kB / 0.7495 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.63, allocations: 0 / 0.7495 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002549/0.6303, allocations: 72.39 kB / 0.7496 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.6305, allocations: 7.938 kB / 0.7496 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.6331, allocations: 295.3 kB / 0.7499 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.6334, allocations: 0.6923 MB / 0.7506 GB, free: 2.84 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005022/0.6339, allocations: 59.78 kB / 0.7506 GB, free: 2.781 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004569/0.6344, allocations: 19.42 kB / 0.7506 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of SimCode: time 3.31e-07/0.6344, allocations: 0 / 0.7506 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02849/0.6629, allocations: 7.941 MB / 0.7584 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/0.6632, allocations: 133.8 kB / 0.7585 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.532, allocations: 0 / 0.7585 GB, free: 10.59 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)