Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Splice.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.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Splice") translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009617/0.0009617, allocations: 176.2 kB / 7.643 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.8597/0.8597, allocations: 130.7 MB / 138.7 MB, free: 3.57 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.418/1.418, allocations: 221.5 MB / 391.8 MB, free: 14.16 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.0008743/0.0008742, allocations: 102.9 kB / 473.9 MB, free: 4.461 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.889e-05/1.891e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4879/0.488, allocations: 81.58 MB / 0.6282 GB, free: 42.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1505/0.6386, allocations: 111.5 MB / 0.7371 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/0.6389, allocations: 79.94 kB / 0.7371 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006375/0.6453, allocations: 2.172 MB / 0.7393 GB, free: 13 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6453, allocations: 7.938 kB / 0.7393 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.6453, allocations: 0 / 0.7393 GB, free: 12.99 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003522/0.6457, allocations: 362.3 kB / 0.7396 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.6458, allocations: 16.03 kB / 0.7396 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.6458, allocations: 0 / 0.7396 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.6459, allocations: 174.9 kB / 0.7398 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.646, allocations: 0 / 0.7398 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.646, allocations: 4 kB / 0.7398 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000117/0.6461, allocations: 21.02 kB / 0.7398 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.487e-05/0.6462, allocations: 45.69 kB / 0.7399 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.6462, allocations: 3.938 kB / 0.7399 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.6462, allocations: 0 / 0.7399 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.6462, allocations: 0 / 0.7399 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.6466, allocations: 249.4 kB / 0.7401 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.666e-05/0.6467, allocations: 30.56 kB / 0.7401 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.801e-05/0.6467, allocations: 12.92 kB / 0.7402 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005125/0.6472, allocations: 0.5544 MB / 0.7407 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.6473, allocations: 42.5 kB / 0.7407 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.6473, allocations: 0 / 0.7407 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002279/0.6475, allocations: 49.53 kB / 0.7408 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.6476, allocations: 55.36 kB / 0.7408 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.703e-05/0.6477, allocations: 97 kB / 0.7409 GB, free: 11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.6477, allocations: 25.7 kB / 0.741 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.6478, allocations: 96.06 kB / 0.741 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.6478, allocations: 7.938 kB / 0.7411 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.6478, allocations: 0 / 0.7411 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.648, allocations: 318.8 kB / 0.7414 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.648, allocations: 0 / 0.7414 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.582e-05/0.648, allocations: 8 kB / 0.7414 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.071e-05/0.648, allocations: 4 kB / 0.7414 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6481, allocations: 0 / 0.7414 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001012/0.6482, allocations: 53.53 kB / 0.7414 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.6482, allocations: 12.09 kB / 0.7414 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.6482, allocations: 0 / 0.7414 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.6482, allocations: 3.938 kB / 0.7414 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.792e-05/0.6483, allocations: 7.984 kB / 0.7414 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.6483, allocations: 0 / 0.7414 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.186e-05/0.6484, allocations: 7.953 kB / 0.7415 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.6484, allocations: 0 / 0.7415 GB, free: 10.44 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 (2): * Single equations (assignments): 2 * 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.506e-05/0.6485, allocations: 105 kB / 0.7416 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.6485, allocations: 0 / 0.7416 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/0.6487, allocations: 65.58 kB / 0.7416 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.6487, allocations: 0 / 0.7416 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6487, allocations: 0 / 0.7416 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.6487, allocations: 0 / 0.7416 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.6489, allocations: 142.2 kB / 0.7417 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6489, allocations: 0 / 0.7417 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.861e-05/0.649, allocations: 11.97 kB / 0.7418 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.649, allocations: 4 kB / 0.7418 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.649, allocations: 0 / 0.7418 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.649, allocations: 4.031 kB / 0.7418 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.649, allocations: 0.5469 kB / 0.7418 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.6492, allocations: 147.4 kB / 0.7419 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.6492, allocations: 81.11 kB / 0.742 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.6493, allocations: 0 / 0.742 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.349e-05/0.6493, allocations: 3.984 kB / 0.742 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.6494, allocations: 4 kB / 0.742 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.6494, allocations: 4.031 kB / 0.742 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.808e-05/0.6494, allocations: 83.59 kB / 0.7421 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6494, allocations: 0 / 0.7421 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002559/0.6497, allocations: 12 kB / 0.7421 GB, free: 9.699 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 (2): * Single equations (assignments): 2 * 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.0001809/0.6499, allocations: 116.7 kB / 0.7422 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.158e-05/0.65, allocations: 12 kB / 0.7422 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.65, allocations: 4 kB / 0.7422 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.311e-05/0.65, allocations: 8.062 kB / 0.7422 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.6502, allocations: 4.188 kB / 0.7422 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002489/0.6505, allocations: 71.81 kB / 0.7423 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.6508, allocations: 0.6885 MB / 0.743 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.358e-05/0.6508, allocations: 0 / 0.743 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.063e-05/0.6508, allocations: 11.44 kB / 0.743 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of SimCode: time 2.61e-07/0.6508, allocations: 0 / 0.743 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of Templates: time 0.002125/0.6529, allocations: 374.1 kB / 0.7433 GB, free: 8.367 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Splice.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Splice.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1)