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.0009103/0.0009103, allocations: 174.5 kB / 7.648 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.7678/0.7678, allocations: 133.6 MB / 141.6 MB, free: 2.938 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.542/1.542, allocations: 221.5 MB / 395.5 MB, free: 10.83 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.000875/0.0008751, allocations: 96.69 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.141e-05/2.132e-05, allocations: 11.98 kB / 0.5535 GB, free: 9.047 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5249/0.5249, allocations: 82.3 MB / 0.6338 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1694/0.6944, allocations: 110.9 MB / 0.7421 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.6947, allocations: 83.94 kB / 0.7422 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005182/0.6999, allocations: 1.676 MB / 0.7438 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6999, allocations: 0 / 0.7438 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.6999, allocations: 4 kB / 0.7438 GB, free: 10.16 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.0004126/0.7004, allocations: 326.5 kB / 0.7441 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.7004, allocations: 16.03 kB / 0.7442 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.7005, allocations: 0 / 0.7442 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.7006, allocations: 171 kB / 0.7443 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.7007, allocations: 0 / 0.7443 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.7007, allocations: 0 / 0.7443 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.245e-05/0.7008, allocations: 0 / 0.7443 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.025e-05/0.7009, allocations: 33.64 kB / 0.7444 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.7009, allocations: 0 / 0.7444 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.7009, allocations: 0 / 0.7444 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.7009, allocations: 0 / 0.7444 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.7011, allocations: 134.2 kB / 0.7445 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.989e-05/0.7012, allocations: 26.55 kB / 0.7445 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.079e-05/0.7012, allocations: 8.797 kB / 0.7445 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006353/0.7018, allocations: 0.5623 MB / 0.7451 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.7019, allocations: 34.56 kB / 0.7451 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/0.7019, allocations: 0 / 0.7451 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0002351/0.7021, allocations: 29.7 kB / 0.7451 GB, free: 8.555 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.7022, allocations: 55.41 kB / 0.7452 GB, free: 8.488 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.354e-05/0.7022, allocations: 88.94 kB / 0.7453 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.7023, allocations: 25.7 kB / 0.7453 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.529e-05/0.7023, allocations: 80.14 kB / 0.7454 GB, free: 8.281 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.7024, allocations: 7.844 kB / 0.7454 GB, free: 8.273 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.7024, allocations: 0 / 0.7454 GB, free: 8.273 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.7025, allocations: 318.9 kB / 0.7457 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.719e-06/0.7025, allocations: 0 / 0.7457 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.267e-05/0.7025, allocations: 8 kB / 0.7457 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.241e-05/0.7026, allocations: 0 / 0.7457 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.7026, allocations: 3.938 kB / 0.7457 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.62e-05/0.7027, allocations: 33.7 kB / 0.7457 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.7027, allocations: 9.828 kB / 0.7457 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.7028, allocations: 3.984 kB / 0.7457 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.7028, allocations: 96 / 0.7457 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.523e-05/0.7028, allocations: 8 kB / 0.7457 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.7029, allocations: 0 / 0.7457 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.377e-05/0.7029, allocations: 0 / 0.7457 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.7029, allocations: 0 / 0.7457 GB, free: 7.883 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 () * 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 9.211e-05/0.703, allocations: 105 kB / 0.7458 GB, free: 7.773 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-06/0.703, allocations: 0 / 0.7458 GB, free: 7.773 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.7032, allocations: 49.33 kB / 0.7459 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.7032, allocations: 4.031 kB / 0.7459 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.7032, allocations: 0 / 0.7459 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.7032, allocations: 4 kB / 0.7459 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.843e-05/0.7033, allocations: 122.2 kB / 0.746 GB, free: 7.559 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.7033, allocations: 0 / 0.746 GB, free: 7.559 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.527e-05/0.7033, allocations: 0 / 0.746 GB, free: 7.559 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.7033, allocations: 0 / 0.746 GB, free: 7.559 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.7033, allocations: 4 kB / 0.746 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.7033, allocations: 3.984 kB / 0.746 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.7034, allocations: 7.891 kB / 0.746 GB, free: 7.543 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.7035, allocations: 61.14 kB / 0.7461 GB, free: 7.465 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.7035, allocations: 77.11 kB / 0.7462 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.7035, allocations: 0 / 0.7462 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.171e-05/0.7035, allocations: 3.984 kB / 0.7462 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.22e-05/0.7036, allocations: 3.953 kB / 0.7462 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.7036, allocations: 3.938 kB / 0.7462 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.494e-05/0.7036, allocations: 75.28 kB / 0.7462 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7036, allocations: 4.031 kB / 0.7462 GB, free: 7.281 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002236/0.7039, allocations: 8 kB / 0.7463 GB, free: 7.273 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 () * 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.0002102/0.7041, allocations: 109.7 kB / 0.7464 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.587e-05/0.7042, allocations: 8 kB / 0.7464 GB, free: 7.148 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7042, allocations: 0 / 0.7464 GB, free: 7.148 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.975e-06/0.7042, allocations: 4 kB / 0.7464 GB, free: 7.145 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.883e-05/0.7043, allocations: 0 / 0.7464 GB, free: 7.145 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001787/0.7045, allocations: 56.11 kB / 0.7464 GB, free: 7.066 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.7048, allocations: 0.669 MB / 0.7471 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.806e-05/0.7048, allocations: 4 kB / 0.7471 GB, free: 6.367 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.822e-05/0.7048, allocations: 11.42 kB / 0.7471 GB, free: 6.355 MB / 0.5261 GB Notification: Performance of SimCode: time 4.3e-07/0.7048, allocations: 0 / 0.7471 GB, free: 6.355 MB / 0.5261 GB Notification: Performance of Templates: time 0.002284/0.7071, allocations: 272.1 kB / 0.7473 GB, free: 6.09 MB / 0.5261 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)