Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="IDEAS_dev_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.001458/0.001458, allocations: 180.9 kB / 7.65 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.7811/0.7811, allocations: 133.6 MB / 141.6 MB, free: 2.871 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.337/1.337, allocations: 221.5 MB / 395.4 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.000851/0.0008509, allocations: 101.6 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.555e-05/2.557e-05, allocations: 11.98 kB / 0.5536 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4761/0.4762, allocations: 82.3 MB / 0.6339 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1519/0.6281, allocations: 110.3 MB / 0.7416 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.6285, allocations: 75.94 kB / 0.7417 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003938/0.6324, allocations: 1.228 MB / 0.7429 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6324, allocations: 0 / 0.7429 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.6324, allocations: 4 kB / 0.7429 GB, free: 11.21 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.000411/0.6329, allocations: 370.3 kB / 0.7432 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.6329, allocations: 8.031 kB / 0.7432 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.633, allocations: 4 kB / 0.7432 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.6331, allocations: 182.9 kB / 0.7434 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.6332, allocations: 0 / 0.7434 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.6332, allocations: 3.906 kB / 0.7434 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.927e-05/0.6333, allocations: 12 kB / 0.7434 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.775e-05/0.6334, allocations: 49.66 kB / 0.7435 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.6334, allocations: 4 kB / 0.7435 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.6334, allocations: 0 / 0.7435 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.6334, allocations: 0 / 0.7435 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002712/0.6337, allocations: 233.5 kB / 0.7437 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.6e-05/0.6338, allocations: 38.56 kB / 0.7437 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.6338, allocations: 8.859 kB / 0.7438 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.6338, allocations: 8 kB / 0.7438 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.6339, allocations: 34.56 kB / 0.7438 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.6339, allocations: 0 / 0.7438 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.01712/0.651, allocations: 1.207 MB / 0.745 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.6511, allocations: 51.41 kB / 0.745 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.6512, allocations: 116.9 kB / 0.7451 GB, free: 8.727 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.744e-05/0.6513, allocations: 25.7 kB / 0.7452 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.6514, allocations: 92.08 kB / 0.7452 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.181e-05/0.6515, allocations: 27.61 kB / 0.7453 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-05/0.6515, allocations: 0 / 0.7453 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.6517, allocations: 314.8 kB / 0.7456 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003179/0.652, allocations: 116 kB / 0.7457 GB, free: 8.145 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000306/0.6523, allocations: 115.9 kB / 0.7458 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006593/0.653, allocations: 163.8 kB / 0.746 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.653, allocations: 0 / 0.746 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00115/0.6542, allocations: 317.5 kB / 0.7463 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.6542, allocations: 8 kB / 0.7463 GB, free: 7.547 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.6542, allocations: 0 / 0.7463 GB, free: 7.547 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.6542, allocations: 0 / 0.7463 GB, free: 7.547 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/0.6559, allocations: 75.92 kB / 0.7463 GB, free: 7.473 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.6559, allocations: 0 / 0.7463 GB, free: 7.473 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.6573, allocations: 47.95 kB / 0.7464 GB, free: 7.426 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.659e-05/0.6574, allocations: 11.94 kB / 0.7464 GB, free: 7.414 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.000194/0.6576, allocations: 101 kB / 0.7465 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001171/0.6588, allocations: 321.4 kB / 0.7468 GB, free: 6.988 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.468e-05/0.6589, allocations: 4.562 kB / 0.7468 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.659, allocations: 20.62 kB / 0.7468 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.659, allocations: 0 / 0.7468 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.659, allocations: 7.953 kB / 0.7468 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.659, allocations: 3.984 kB / 0.7468 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005867/0.6649, allocations: 0.811 MB / 0.7476 GB, free: 6.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.665, allocations: 4 kB / 0.7476 GB, free: 6.086 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/0.6661, allocations: 63.94 kB / 0.7477 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.6662, allocations: 3.953 kB / 0.7477 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/0.6662, allocations: 4 kB / 0.7477 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.6662, allocations: 0 / 0.7477 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.6662, allocations: 4 kB / 0.7477 GB, free: 6.012 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009893/0.6672, allocations: 340.4 kB / 0.748 GB, free: 5.645 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.147e-05/0.6673, allocations: 85.02 kB / 0.7481 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.473e-05/0.6674, allocations: 0 / 0.7481 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.6685, allocations: 47.94 kB / 0.7482 GB, free: 5.496 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.173e-05/0.6686, allocations: 8 kB / 0.7482 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.6686, allocations: 4 kB / 0.7482 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.97e-05/0.6687, allocations: 91.27 kB / 0.7482 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6687, allocations: 0 / 0.7482 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004505/0.6691, allocations: 99.94 kB / 0.7483 GB, free: 5.297 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.001532/0.6707, allocations: 1.027 MB / 0.7493 GB, free: 4.23 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006568/0.6714, allocations: 191.9 kB / 0.7495 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6714, allocations: 0 / 0.7495 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.6716, allocations: 63.98 kB / 0.7496 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.6718, allocations: 9.844 kB / 0.7496 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.6747, allocations: 295.1 kB / 0.7499 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.675, allocations: 0.6926 MB / 0.7506 GB, free: 2.918 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005132/0.6755, allocations: 51.78 kB / 0.7506 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004731/0.676, allocations: 19.42 kB / 0.7506 GB, free: 2.848 MB / 0.5261 GB Notification: Performance of SimCode: time 3.41e-07/0.676, allocations: 0 / 0.7506 GB, free: 2.848 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.7051, allocations: 7.942 MB / 0.7584 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002628/0.7055, allocations: 142.8 kB / 0.7585 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/2.541, allocations: 0 / 0.7585 GB, free: 10.67 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)