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.001526/0.001526, allocations: 171.6 kB / 7.641 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7521/0.7521, allocations: 130.7 MB / 138.7 MB, free: 3.574 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.457/1.457, allocations: 221.5 MB / 391.8 MB, free: 14.21 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.00108/0.00108, allocations: 94.14 kB / 473.9 MB, free: 4.434 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.465e-05, allocations: 8 kB / 0.5485 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4536/0.4536, allocations: 81.57 MB / 0.6282 GB, free: 42.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1372/0.5909, allocations: 111.2 MB / 0.7368 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.5912, allocations: 79.94 kB / 0.7368 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009216/0.6004, allocations: 3.208 MB / 0.74 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6004, allocations: 0 / 0.74 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.6005, allocations: 0 / 0.74 GB, free: 12.28 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.0003584/0.6008, allocations: 433.6 kB / 0.7404 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.6009, allocations: 8.031 kB / 0.7404 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.6009, allocations: 11.91 kB / 0.7404 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.601, allocations: 171 kB / 0.7406 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.6011, allocations: 0 / 0.7406 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.6011, allocations: 4 kB / 0.7406 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001113/0.6012, allocations: 59.95 kB / 0.7406 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.6013, allocations: 93.64 kB / 0.7407 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-06/0.6013, allocations: 0 / 0.7407 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.6013, allocations: 0 / 0.7407 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-06/0.6014, allocations: 0 / 0.7407 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.6015, allocations: 174 kB / 0.7409 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.6016, allocations: 78.47 kB / 0.7409 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.77e-05/0.6017, allocations: 64.91 kB / 0.741 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.533e-06/0.6017, allocations: 4 kB / 0.741 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.6017, allocations: 30.56 kB / 0.741 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.6017, allocations: 0 / 0.741 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0002968/0.602, allocations: 157.5 kB / 0.7412 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.6021, allocations: 86.06 kB / 0.7413 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.6022, allocations: 126.7 kB / 0.7414 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.6022, allocations: 25.7 kB / 0.7414 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.6023, allocations: 92.12 kB / 0.7415 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.6023, allocations: 15.81 kB / 0.7415 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.6023, allocations: 0 / 0.7415 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.6025, allocations: 318.8 kB / 0.7418 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.6026, allocations: 95.88 kB / 0.7419 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.6027, allocations: 95.94 kB / 0.742 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.6029, allocations: 99.97 kB / 0.7421 GB, free: 9.871 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.6029, allocations: 7.922 kB / 0.7421 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003445/0.6032, allocations: 250.3 kB / 0.7424 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.254e-05/0.6033, allocations: 71.39 kB / 0.7424 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.6033, allocations: 0 / 0.7424 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.6033, allocations: 0 / 0.7424 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.6033, allocations: 0 / 0.7424 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.6033, allocations: 4 kB / 0.7424 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.651e-05/0.6034, allocations: 15.83 kB / 0.7424 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.6034, allocations: 11.94 kB / 0.7425 GB, free: 9.5 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 8.238e-05/0.6035, allocations: 140.4 kB / 0.7426 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.6036, allocations: 7.953 kB / 0.7426 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.866e-05/0.6036, allocations: 12.33 kB / 0.7426 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.6036, allocations: 0 / 0.7426 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.6036, allocations: 0 / 0.7426 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.6036, allocations: 0 / 0.7426 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.6037, allocations: 154.1 kB / 0.7428 GB, free: 9.141 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.6037, allocations: 3.984 kB / 0.7428 GB, free: 9.137 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.514e-06/0.6037, allocations: 3.938 kB / 0.7428 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.6037, allocations: 4 kB / 0.7428 GB, free: 9.129 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.6037, allocations: 7.953 kB / 0.7428 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.6038, allocations: 0 / 0.7428 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.6038, allocations: 4 kB / 0.7428 GB, free: 9.117 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.604, allocations: 181 kB / 0.7429 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.28e-05/0.6041, allocations: 85.02 kB / 0.743 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.6041, allocations: 3.984 kB / 0.743 GB, free: 8.816 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.887e-05/0.6042, allocations: 11.98 kB / 0.743 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.545e-05/0.6042, allocations: 11.98 kB / 0.7431 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.6043, allocations: 7.984 kB / 0.7431 GB, free: 8.785 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.57e-05/0.6043, allocations: 102.2 kB / 0.7432 GB, free: 8.688 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6043, allocations: 0 / 0.7432 GB, free: 8.688 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002881/0.6046, allocations: 75.94 kB / 0.7432 GB, free: 8.613 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.0002636/0.6049, allocations: 159.1 kB / 0.7434 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003582/0.6053, allocations: 358.6 kB / 0.7437 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6053, allocations: 4.062 kB / 0.7437 GB, free: 8.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.6054, allocations: 135.4 kB / 0.7439 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.798e-05/0.6055, allocations: 4 kB / 0.7439 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002569/0.6058, allocations: 153.7 kB / 0.744 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.606, allocations: 0.7001 MB / 0.7447 GB, free: 7.023 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.502e-06/0.606, allocations: 3.906 kB / 0.7447 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.805e-06/0.606, allocations: 7.438 kB / 0.7447 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of SimCode: time 2.2e-07/0.606, allocations: 3.938 kB / 0.7447 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of Templates: time 0.003937/0.61, allocations: 1.736 MB / 0.7464 GB, free: 5.281 MB / 0.5261 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)