Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.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.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009109/0.009109, allocations: 169.9 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8294/0.8294, allocations: 132.3 MB / 148.1 MB, free: 256 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.2 MB / 403.2 MB, free: 6.793 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.0009632/0.000963, allocations: 90.69 kB / 485.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005141/0.0005138, allocations: 8 kB / 0.5641 GB, free: 2.137 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4663/0.4668, allocations: 81.57 MB / 0.6438 GB, free: 39.3 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.6048, allocations: 111.4 MB / 0.7525 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003577/0.6052, allocations: 83.95 kB / 0.7526 GB, free: 8.527 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005297/0.6105, allocations: 1.707 MB / 0.7542 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.415e-06/0.6106, allocations: 0 / 0.7542 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.6106, allocations: 0 / 0.7542 GB, free: 6.82 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003212/0.6109, allocations: 341.6 kB / 0.7546 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.611, allocations: 8.031 kB / 0.7546 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.611, allocations: 0 / 0.7546 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.6111, allocations: 167 kB / 0.7547 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.6111, allocations: 0 / 0.7547 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.6112, allocations: 7.875 kB / 0.7547 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.6113, allocations: 29.7 kB / 0.7548 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.6113, allocations: 0 / 0.7548 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-06/0.6113, allocations: 0 / 0.7548 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.6113, allocations: 0 / 0.7548 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.313e-05/0.6114, allocations: 8 kB / 0.7548 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.6115, allocations: 153.6 kB / 0.7549 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.259e-05/0.6115, allocations: 22.56 kB / 0.755 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004978/0.612, allocations: 0.5584 MB / 0.7555 GB, free: 5.262 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.6121, allocations: 38.56 kB / 0.7555 GB, free: 5.215 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.6121, allocations: 0 / 0.7555 GB, free: 5.215 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001331/0.6122, allocations: 37.69 kB / 0.7556 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.6123, allocations: 51.41 kB / 0.7556 GB, free: 5.109 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.902e-05/0.6123, allocations: 85 kB / 0.7557 GB, free: 5.02 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.6123, allocations: 25.7 kB / 0.7557 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.747e-05/0.6124, allocations: 80.14 kB / 0.7558 GB, free: 4.906 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.6124, allocations: 11.84 kB / 0.7558 GB, free: 4.895 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-06/0.6124, allocations: 0 / 0.7558 GB, free: 4.895 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.6125, allocations: 315 kB / 0.7561 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.815e-06/0.6125, allocations: 0 / 0.7561 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.412e-06/0.6126, allocations: 3.938 kB / 0.7561 GB, free: 4.574 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.684e-05/0.6126, allocations: 4 kB / 0.7561 GB, free: 4.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.6126, allocations: 0 / 0.7561 GB, free: 4.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.973e-05/0.6127, allocations: 41.64 kB / 0.7562 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.6127, allocations: 4 kB / 0.7562 GB, free: 4.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.6127, allocations: 0 / 0.7562 GB, free: 4.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.6127, allocations: 8.094 kB / 0.7562 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.873e-05/0.6128, allocations: 0 / 0.7562 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.6128, allocations: 0 / 0.7562 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.077e-05/0.6128, allocations: 0 / 0.7562 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.6128, allocations: 0 / 0.7562 GB, free: 4.512 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6.272e-05/0.6129, allocations: 109.8 kB / 0.7563 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.6129, allocations: 3.953 kB / 0.7563 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.35e-05/0.613, allocations: 48.75 kB / 0.7563 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.613, allocations: 0 / 0.7563 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.613, allocations: 4 kB / 0.7563 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.613, allocations: 3.938 kB / 0.7563 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.492e-05/0.6131, allocations: 141.7 kB / 0.7565 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.6131, allocations: 0 / 0.7565 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.459e-05/0.6131, allocations: 3.984 kB / 0.7565 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.6131, allocations: 7.953 kB / 0.7565 GB, free: 4.133 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-06/0.6131, allocations: 0 / 0.7565 GB, free: 4.133 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.6132, allocations: 4 kB / 0.7565 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.6132, allocations: 0 / 0.7565 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7e-05/0.6132, allocations: 65.11 kB / 0.7565 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.254e-05/0.6133, allocations: 77.11 kB / 0.7566 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.6133, allocations: 7.938 kB / 0.7566 GB, free: 3.945 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.415e-06/0.6133, allocations: 0 / 0.7566 GB, free: 3.945 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.117e-05/0.6133, allocations: 3.938 kB / 0.7566 GB, free: 3.941 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-06/0.6133, allocations: 0 / 0.7566 GB, free: 3.941 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.801e-05/0.6134, allocations: 75.28 kB / 0.7567 GB, free: 3.867 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6134, allocations: 4.031 kB / 0.7567 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001825/0.6136, allocations: 8 kB / 0.7567 GB, free: 3.855 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.000196/0.6138, allocations: 107.2 kB / 0.7568 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.348e-05/0.6138, allocations: 7.984 kB / 0.7568 GB, free: 3.73 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6138, allocations: 0 / 0.7568 GB, free: 3.73 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.634e-06/0.6139, allocations: 4 kB / 0.7568 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.674e-05/0.6139, allocations: 7.938 kB / 0.7568 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001691/0.6141, allocations: 82.77 kB / 0.7569 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.6143, allocations: 0.677 MB / 0.7576 GB, free: 2.906 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.319e-05/0.6144, allocations: 0 / 0.7576 GB, free: 2.906 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.458e-05/0.6144, allocations: 11.38 kB / 0.7576 GB, free: 2.895 MB / 0.5261 GB Notification: Performance of SimCode: time 8.62e-07/0.6144, allocations: 0 / 0.7576 GB, free: 2.895 MB / 0.5261 GB Notification: Performance of Templates: time 0.001951/0.6164, allocations: 264.2 kB / 0.7578 GB, free: 2.637 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)