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.001327/0.001327, allocations: 180.9 kB / 7.651 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.838/0.838, allocations: 133.6 MB / 141.6 MB, free: 2.824 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.555/1.555, allocations: 221.5 MB / 395.5 MB, free: 10.79 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.0007812/0.0007811, allocations: 98.33 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.618e-05/3.636e-05, allocations: 8 kB / 0.5536 GB, free: 8.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.4446, allocations: 82.3 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1394/0.584, allocations: 111.4 MB / 0.7427 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.5844, allocations: 79.95 kB / 0.7428 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009792/0.5942, allocations: 3.206 MB / 0.746 GB, free: 7.918 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5942, allocations: 0 / 0.746 GB, free: 7.918 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.5942, allocations: 0 / 0.746 GB, free: 7.918 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.0004187/0.5947, allocations: 441.6 kB / 0.7464 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.5947, allocations: 11.97 kB / 0.7464 GB, free: 7.418 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.5948, allocations: 7.906 kB / 0.7464 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.5949, allocations: 171 kB / 0.7466 GB, free: 7.203 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.5949, allocations: 4 kB / 0.7466 GB, free: 7.199 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.5949, allocations: 0 / 0.7466 GB, free: 7.199 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000121/0.5951, allocations: 59.95 kB / 0.7466 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.5952, allocations: 97.64 kB / 0.7467 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.5952, allocations: 0 / 0.7467 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.5952, allocations: 0 / 0.7467 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.5952, allocations: 0 / 0.7467 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001513/0.5954, allocations: 162.1 kB / 0.7469 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.5955, allocations: 86.42 kB / 0.7469 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.839e-05/0.5956, allocations: 68.89 kB / 0.747 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.5956, allocations: 0 / 0.747 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.5957, allocations: 34.56 kB / 0.747 GB, free: 6.637 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.5957, allocations: 0 / 0.747 GB, free: 6.637 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0003239/0.596, allocations: 161.5 kB / 0.7472 GB, free: 6.473 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.5961, allocations: 81.11 kB / 0.7473 GB, free: 6.375 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.5962, allocations: 122.1 kB / 0.7474 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.5962, allocations: 29.7 kB / 0.7474 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.5963, allocations: 88.14 kB / 0.7475 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.5963, allocations: 11.81 kB / 0.7475 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-06/0.5963, allocations: 3.938 kB / 0.7475 GB, free: 6.105 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.5964, allocations: 322.8 kB / 0.7478 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.5966, allocations: 95.97 kB / 0.7479 GB, free: 5.688 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.5967, allocations: 101.6 kB / 0.748 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.5969, allocations: 103.9 kB / 0.7481 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5969, allocations: 0 / 0.7481 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003547/0.5973, allocations: 249.4 kB / 0.7484 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.571e-05/0.5973, allocations: 71.39 kB / 0.7484 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.5973, allocations: 0 / 0.7484 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.5973, allocations: 4 kB / 0.7484 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.5974, allocations: 0 / 0.7484 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.5974, allocations: 3.984 kB / 0.7484 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.701e-05/0.5974, allocations: 15.91 kB / 0.7484 GB, free: 5.133 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.5975, allocations: 12 kB / 0.7485 GB, free: 5.121 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.0001031/0.5976, allocations: 138.7 kB / 0.7486 GB, free: 4.973 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002437/0.5978, allocations: 173.4 kB / 0.7488 GB, free: 4.797 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.5979, allocations: 4 kB / 0.7488 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.398e-05/0.5979, allocations: 4.344 kB / 0.7488 GB, free: 4.789 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/0.5979, allocations: 4 kB / 0.7488 GB, free: 4.785 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.5979, allocations: 0 / 0.7488 GB, free: 4.785 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.5979, allocations: 0 / 0.7488 GB, free: 4.785 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.598, allocations: 154.1 kB / 0.7489 GB, free: 4.598 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.598, allocations: 4 kB / 0.7489 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-07/0.598, allocations: 4 kB / 0.7489 GB, free: 4.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.598, allocations: 3.953 kB / 0.7489 GB, free: 4.586 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.5981, allocations: 0 / 0.7489 GB, free: 4.586 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.5981, allocations: 0 / 0.7489 GB, free: 4.586 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.5981, allocations: 0 / 0.7489 GB, free: 4.586 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.5983, allocations: 189 kB / 0.7491 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.765e-05/0.5984, allocations: 85.02 kB / 0.7492 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.5984, allocations: 11.98 kB / 0.7492 GB, free: 4.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.788e-05/0.5985, allocations: 4 kB / 0.7492 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.5985, allocations: 11.92 kB / 0.7492 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.5986, allocations: 4 kB / 0.7492 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.283e-05/0.5986, allocations: 109.1 kB / 0.7493 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5986, allocations: 0 / 0.7493 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003196/0.599, allocations: 75.92 kB / 0.7494 GB, free: 4.07 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.0007594/0.5997, allocations: 0.7879 MB / 0.7502 GB, free: 3.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003829/0.6001, allocations: 354.7 kB / 0.7505 GB, free: 2.879 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.6001, allocations: 0 / 0.7505 GB, free: 2.879 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.6003, allocations: 139.3 kB / 0.7506 GB, free: 2.73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001126/0.6004, allocations: 9.297 kB / 0.7506 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005105/0.6009, allocations: 226.2 kB / 0.7509 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.6012, allocations: 0.6924 MB / 0.7515 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.53e-06/0.6012, allocations: 0 / 0.7515 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.598e-05/0.6012, allocations: 19.42 kB / 0.7516 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of SimCode: time 2.71e-07/0.6012, allocations: 0 / 0.7516 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.623, allocations: 2.451 MB / 0.7539 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000236/0.6232, allocations: 127.4 kB / 0.7541 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/2.237, allocations: 0 / 0.7541 GB, free: 15.11 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)