Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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: translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001195/0.001195, allocations: 174.4 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-master/package.mo): time 0.7141/0.7141, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.596/1.596, allocations: 221.3 MB / 400.4 MB, free: 5.855 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.0009901/0.00099, allocations: 90 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.13e-05/4.139e-05, allocations: 4.594 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1782, allocations: 82.3 MB / 0.6404 GB, free: 7.812 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6711/0.8493, allocations: 111.5 MB / 0.7493 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.8496, allocations: 85.97 kB / 0.7494 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004992/0.8546, allocations: 1.682 MB / 0.7511 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8547, allocations: 4 kB / 0.7511 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.8547, allocations: 0 / 0.7511 GB, free: 27.52 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002913/0.855, allocations: 337.6 kB / 0.7514 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.855, allocations: 7.531 kB / 0.7514 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.8551, allocations: 0 / 0.7514 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.8552, allocations: 165.6 kB / 0.7516 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.8552, allocations: 3.781 kB / 0.7516 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.8552, allocations: 0 / 0.7516 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.956e-05/0.8553, allocations: 25.7 kB / 0.7516 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.8554, allocations: 4 kB / 0.7516 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.8554, allocations: 0 / 0.7516 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.8554, allocations: 6.547 kB / 0.7516 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.104e-05/0.8554, allocations: 0 / 0.7516 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001419/0.8556, allocations: 148.8 kB / 0.7517 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.018e-05/0.8556, allocations: 22.48 kB / 0.7518 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.8556, allocations: 4.859 kB / 0.7518 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005314/0.8562, allocations: 0.5668 MB / 0.7523 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.8562, allocations: 38.31 kB / 0.7524 GB, free: 26 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.8562, allocations: 0 / 0.7524 GB, free: 26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001414/0.8564, allocations: 32.39 kB / 0.7524 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.8564, allocations: 62.41 kB / 0.7524 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.887e-05/0.8565, allocations: 85 kB / 0.7525 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.8565, allocations: 29.73 kB / 0.7526 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.8565, allocations: 80.14 kB / 0.7526 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.8566, allocations: 8.469 kB / 0.7526 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.8566, allocations: 0 / 0.7526 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.8567, allocations: 314.7 kB / 0.7529 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.826e-06/0.8568, allocations: 0 / 0.7529 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.819e-06/0.8568, allocations: 0 / 0.7529 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.954e-05/0.8568, allocations: 3.812 kB / 0.7529 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.8568, allocations: 64 / 0.7529 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.547e-05/0.8569, allocations: 43.78 kB / 0.753 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.8569, allocations: 4.812 kB / 0.753 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.8569, allocations: 3.875 kB / 0.753 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.8569, allocations: 0 / 0.753 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.04e-05/0.857, allocations: 0 / 0.753 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.857, allocations: 3.938 kB / 0.753 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.099e-05/0.857, allocations: 0 / 0.753 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.857, allocations: 9.688 kB / 0.753 GB, free: 25.32 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: 0 () * Number of discrete 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 8.826e-05/0.8571, allocations: 105 kB / 0.7531 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-06/0.8571, allocations: 3.953 kB / 0.7531 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.8573, allocations: 35.52 kB / 0.7531 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.8573, allocations: 3.844 kB / 0.7531 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8573, allocations: 0 / 0.7531 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.8573, allocations: 3.984 kB / 0.7531 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.8574, allocations: 145.2 kB / 0.7533 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.8574, allocations: 2.766 kB / 0.7533 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.358e-05/0.8574, allocations: 3.844 kB / 0.7533 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.8574, allocations: 7.984 kB / 0.7533 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.8574, allocations: 0 / 0.7533 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8575, allocations: 0 / 0.7533 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.8575, allocations: 0 / 0.7533 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.991e-05/0.8575, allocations: 63.12 kB / 0.7534 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/0.8576, allocations: 77.11 kB / 0.7534 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.8576, allocations: 3.953 kB / 0.7534 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.02e-05/0.8576, allocations: 4.031 kB / 0.7534 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.8577, allocations: 3.938 kB / 0.7534 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.8577, allocations: 3.844 kB / 0.7534 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.708e-05/0.8577, allocations: 77.77 kB / 0.7535 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8577, allocations: 3.938 kB / 0.7535 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001967/0.8579, allocations: 3.844 kB / 0.7535 GB, free: 24.73 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: 0 () * Number of discrete 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.0001906/0.8581, allocations: 106.3 kB / 0.7536 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.692e-05/0.8582, allocations: 10.27 kB / 0.7536 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.8582, allocations: 4.062 kB / 0.7536 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.124e-06/0.8582, allocations: 7.469 kB / 0.7537 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.731e-05/0.8583, allocations: 0 / 0.7537 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001638/0.8585, allocations: 45.38 kB / 0.7537 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.8588, allocations: 0.6717 MB / 0.7544 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.224e-05/0.8588, allocations: 5.531 kB / 0.7544 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.029e-05/0.8588, allocations: 11.5 kB / 0.7544 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of SimCode: time 3.21e-07/0.8588, allocations: 0 / 0.7544 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of Templates: time 0.001846/0.8607, allocations: 275.6 kB / 0.7546 GB, free: 23.81 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)