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.005819/0.005819, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7232/0.7232, allocations: 135.2 MB / 151.1 MB, free: 13.81 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.486/1.486, allocations: 223.2 MB / 406.9 MB, free: 3.191 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.000898/0.000898, allocations: 94.47 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003767, allocations: 12 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4771/0.4775, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1544/0.632, allocations: 111.6 MB / 0.7585 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.6323, allocations: 79.95 kB / 0.7585 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004901/0.6372, allocations: 1.703 MB / 0.7602 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.494e-06/0.6373, allocations: 4 kB / 0.7602 GB, free: 2.629 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.6373, allocations: 0 / 0.7602 GB, free: 2.629 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.0002847/0.6376, allocations: 331.9 kB / 0.7605 GB, free: 2.258 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.333e-05/0.6376, allocations: 8.031 kB / 0.7605 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.6377, allocations: 0 / 0.7605 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.6378, allocations: 163 kB / 0.7607 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.6378, allocations: 0 / 0.7607 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.6378, allocations: 0 / 0.7607 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.6379, allocations: 41.62 kB / 0.7607 GB, free: 2.004 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.638, allocations: 7.875 kB / 0.7607 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.638, allocations: 0 / 0.7607 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.638, allocations: 0 / 0.7607 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.201e-05/0.638, allocations: 8 kB / 0.7608 GB, free: 1.988 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.6382, allocations: 153.6 kB / 0.7609 GB, free: 1.789 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.855e-05/0.6382, allocations: 14.58 kB / 0.7609 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004854/0.6387, allocations: 0.5623 MB / 0.7615 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.6387, allocations: 34.56 kB / 0.7615 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.6387, allocations: 3.938 kB / 0.7615 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001388/0.6389, allocations: 33.69 kB / 0.7615 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.6389, allocations: 51.41 kB / 0.7616 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.116e-05/0.639, allocations: 85 kB / 0.7617 GB, free: 0.8359 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.639, allocations: 25.7 kB / 0.7617 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/0.639, allocations: 88.27 kB / 0.7618 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.6391, allocations: 11.84 kB / 0.7618 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-06/0.6391, allocations: 0 / 0.7618 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.6392, allocations: 310.8 kB / 0.7621 GB, free: 400 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.425e-06/0.6392, allocations: 0 / 0.7621 GB, free: 400 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.849e-06/0.6392, allocations: 0 / 0.7621 GB, free: 400 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.024e-05/0.6392, allocations: 4 kB / 0.7621 GB, free: 396 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6392, allocations: 0 / 0.7621 GB, free: 396 kB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.697e-05/0.6393, allocations: 45.64 kB / 0.7621 GB, free: 344 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.6393, allocations: 4 kB / 0.7621 GB, free: 340 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.6393, allocations: 0 / 0.7621 GB, free: 340 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.6394, allocations: 4 kB / 0.7621 GB, free: 336 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.244e-05/0.6394, allocations: 0 / 0.7621 GB, free: 336 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.6394, allocations: 0 / 0.7621 GB, free: 336 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.106e-05/0.6394, allocations: 0 / 0.7621 GB, free: 336 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.6394, allocations: 0 / 0.7621 GB, free: 336 kB / 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 7.501e-05/0.6395, allocations: 113.8 kB / 0.7622 GB, free: 212 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.6395, allocations: 3.953 kB / 0.7622 GB, free: 208 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.48e-05/0.6396, allocations: 44.78 kB / 0.7623 GB, free: 156 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.6397, allocations: 0 / 0.7623 GB, free: 156 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.6397, allocations: 4 kB / 0.7623 GB, free: 152 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.6397, allocations: 0 / 0.7623 GB, free: 152 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.6398, allocations: 149.7 kB / 0.7624 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6398, allocations: 3.938 kB / 0.7624 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.266e-05/0.6398, allocations: 0 / 0.7624 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.6398, allocations: 4 kB / 0.7624 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.6398, allocations: 7.984 kB / 0.7624 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6398, allocations: 0 / 0.7624 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.6398, allocations: 0 / 0.7624 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.302e-05/0.6399, allocations: 57.08 kB / 0.7625 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.632e-05/0.64, allocations: 81.09 kB / 0.7626 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.64, allocations: 0 / 0.7626 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.25e-05/0.64, allocations: 3.953 kB / 0.7626 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.926e-05/0.64, allocations: 11.97 kB / 0.7626 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.64, allocations: 0 / 0.7626 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.998e-05/0.6401, allocations: 75.28 kB / 0.7627 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6401, allocations: 0 / 0.7627 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001861/0.6403, allocations: 8 kB / 0.7627 GB, free: 15.67 MB / 0.5417 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.0001947/0.6405, allocations: 107.2 kB / 0.7628 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.618e-05/0.6405, allocations: 4 kB / 0.7628 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6405, allocations: 0 / 0.7628 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.554e-06/0.6406, allocations: 8.062 kB / 0.7628 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.114e-05/0.6407, allocations: 0 / 0.7628 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002031/0.6409, allocations: 74.7 kB / 0.7629 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.6411, allocations: 0.677 MB / 0.7635 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.532e-05/0.6412, allocations: 4 kB / 0.7635 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.649e-05/0.6412, allocations: 19.38 kB / 0.7635 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of SimCode: time 1.673e-06/0.6412, allocations: 4.062 kB / 0.7635 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of Templates: time 0.002124/0.6433, allocations: 268.1 kB / 0.7638 GB, free: 14.45 MB / 0.5417 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)