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/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/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: translateModel(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite") translateModel(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001096, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7469/0.7469, allocations: 130.5 MB / 143.8 MB, free: 13.57 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.45/1.45, allocations: 221.3 MB / 396.8 MB, free: 9.176 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009089/0.0009089, allocations: 108.5 kB / 479 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.209e-05/3.211e-05, allocations: 5.531 kB / 0.5551 GB, free: 86.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1481, allocations: 81.58 MB / 0.6348 GB, free: 12.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4934/0.6415, allocations: 111.8 MB / 0.744 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.6419, allocations: 78.17 kB / 0.7441 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.009211/0.6511, allocations: 3.216 MB / 0.7472 GB, free: 27.58 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6512, allocations: 3.906 kB / 0.7472 GB, free: 27.58 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.6512, allocations: 0 / 0.7472 GB, free: 27.58 MB / 0.5105 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.0003932/0.6516, allocations: 432.4 kB / 0.7476 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.6516, allocations: 7.562 kB / 0.7476 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.6517, allocations: 14.47 kB / 0.7476 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.6518, allocations: 174.1 kB / 0.7478 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.6518, allocations: 2.812 kB / 0.7478 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.6519, allocations: 3.375 kB / 0.7478 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.652, allocations: 99.83 kB / 0.7479 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.6521, allocations: 0 / 0.7479 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.6521, allocations: 0 / 0.7479 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.6521, allocations: 0 / 0.7479 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.641e-05/0.6522, allocations: 59.73 kB / 0.748 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001568/0.6523, allocations: 189.3 kB / 0.7481 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.182e-05/0.6524, allocations: 74.67 kB / 0.7482 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.265e-05/0.6525, allocations: 75.61 kB / 0.7483 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.6525, allocations: 4 kB / 0.7483 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.6525, allocations: 30.56 kB / 0.7483 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.001e-06/0.6526, allocations: 0 / 0.7483 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0002761/0.6528, allocations: 191.2 kB / 0.7485 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.6529, allocations: 80.98 kB / 0.7486 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.755e-05/0.653, allocations: 128.4 kB / 0.7487 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.653, allocations: 29.67 kB / 0.7487 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.912e-05/0.6531, allocations: 90.92 kB / 0.7488 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.6531, allocations: 11.66 kB / 0.7488 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-06/0.6531, allocations: 0 / 0.7488 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.6532, allocations: 321.3 kB / 0.7491 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.763e-05/0.6533, allocations: 96.83 kB / 0.7492 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.766e-05/0.6534, allocations: 104 kB / 0.7493 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.6536, allocations: 161.7 kB / 0.7495 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.6536, allocations: 0 / 0.7495 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002803/0.6539, allocations: 308.5 kB / 0.7498 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.886e-05/0.6539, allocations: 72.59 kB / 0.7498 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.6539, allocations: 4.062 kB / 0.7498 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.654, allocations: 3.844 kB / 0.7498 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.654, allocations: 0 / 0.7498 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.654, allocations: 0 / 0.7498 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.469e-05/0.654, allocations: 18.22 kB / 0.7499 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.6541, allocations: 3.844 kB / 0.7499 GB, free: 25.68 MB / 0.5105 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 8.561e-05/0.6542, allocations: 148.7 kB / 0.75 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.6542, allocations: 3.969 kB / 0.75 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.649e-05/0.6542, allocations: 8.031 kB / 0.75 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.6542, allocations: 0 / 0.75 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.6542, allocations: 3.844 kB / 0.75 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.6542, allocations: 0 / 0.75 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.6543, allocations: 175.7 kB / 0.7502 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6543, allocations: 7.891 kB / 0.7502 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.856e-06/0.6544, allocations: 0.875 kB / 0.7502 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.6544, allocations: 3.938 kB / 0.7502 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.6544, allocations: 3.844 kB / 0.7502 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.6544, allocations: 0 / 0.7502 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.6544, allocations: 0 / 0.7502 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.6546, allocations: 230.7 kB / 0.7504 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.6547, allocations: 84.97 kB / 0.7505 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.6547, allocations: 10.75 kB / 0.7505 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.452e-05/0.6547, allocations: 7.844 kB / 0.7505 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/0.6548, allocations: 11.06 kB / 0.7505 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.6548, allocations: 0 / 0.7505 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.663e-05/0.6549, allocations: 102.6 kB / 0.7506 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6549, allocations: 4.031 kB / 0.7506 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002647/0.6552, allocations: 80.02 kB / 0.7507 GB, free: 25.02 MB / 0.5105 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.0002479/0.6554, allocations: 160.6 kB / 0.7509 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003214/0.6557, allocations: 365.7 kB / 0.7512 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6558, allocations: 0 / 0.7512 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.6559, allocations: 133 kB / 0.7513 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.424e-05/0.656, allocations: 8.531 kB / 0.7513 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002388/0.6562, allocations: 156.9 kB / 0.7515 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.6565, allocations: 0.6935 MB / 0.7522 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.601e-06/0.6565, allocations: 3.906 kB / 0.7522 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.163e-06/0.6565, allocations: 11.41 kB / 0.7522 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of SimCode: time 3.41e-07/0.6565, allocations: 0 / 0.7522 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of Templates: time 0.003452/0.66, allocations: 1.853 MB / 0.754 GB, free: 23.8 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.makefile (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 & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)