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.001876/0.001876, allocations: 182.9 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8045/0.8045, allocations: 132.2 MB / 148.9 MB, free: 12.14 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.499/1.499, allocations: 222.9 MB / 403.4 MB, free: 7.066 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.001116/0.001116, allocations: 106 kB / 484.3 MB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009578/0.0009578, allocations: 55.92 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1427, allocations: 80.2 MB / 0.6402 GB, free: 6.781 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002694/0.1455, allocations: 1.549 MB / 0.6417 GB, free: 5.211 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.1466, allocations: 0.6486 MB / 0.6423 GB, free: 4.555 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.043e-05/0.1467, allocations: 0 / 0.6423 GB, free: 4.555 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.857e-05/0.1467, allocations: 11.88 kB / 0.6423 GB, free: 4.543 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.111e-05/0.1468, allocations: 7.922 kB / 0.6423 GB, free: 4.535 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.1471, allocations: 51.88 kB / 0.6424 GB, free: 4.484 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.91e-05/0.1472, allocations: 39.86 kB / 0.6424 GB, free: 4.445 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1473, allocations: 15.98 kB / 0.6424 GB, free: 4.43 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.092e-05/0.1474, allocations: 11.94 kB / 0.6425 GB, free: 4.418 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.794e-05/0.1474, allocations: 15.92 kB / 0.6425 GB, free: 4.402 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.1474, allocations: 4 kB / 0.6425 GB, free: 4.398 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.1476, allocations: 99.83 kB / 0.6426 GB, free: 4.301 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.1476, allocations: 7.938 kB / 0.6426 GB, free: 4.293 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.1477, allocations: 15.92 kB / 0.6426 GB, free: 4.277 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.1479, allocations: 79.77 kB / 0.6427 GB, free: 4.199 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1479, allocations: 0 / 0.6427 GB, free: 4.199 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1479, allocations: 0 / 0.6427 GB, free: 4.199 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.1479, allocations: 0 / 0.6427 GB, free: 4.199 MB / 442.7 MB 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.0005158/0.1484, allocations: 371.6 kB / 0.643 GB, free: 3.789 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.1485, allocations: 8.031 kB / 0.643 GB, free: 3.781 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.1485, allocations: 8.844 kB / 0.643 GB, free: 3.773 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.1487, allocations: 172.3 kB / 0.6432 GB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1487, allocations: 384 / 0.6432 GB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.1487, allocations: 4.375 kB / 0.6432 GB, free: 3.562 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.1489, allocations: 54 kB / 0.6433 GB, free: 3.504 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.1489, allocations: 3.938 kB / 0.6433 GB, free: 3.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.1489, allocations: 7.984 kB / 0.6433 GB, free: 3.492 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1489, allocations: 4 kB / 0.6433 GB, free: 3.488 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.644e-05/0.149, allocations: 23.98 kB / 0.6433 GB, free: 3.465 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.1494, allocations: 280.7 kB / 0.6436 GB, free: 3.141 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.351e-05/0.1495, allocations: 30.52 kB / 0.6436 GB, free: 3.102 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.1496, allocations: 20.91 kB / 0.6436 GB, free: 3.078 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000557/0.1502, allocations: 0.5544 MB / 0.6442 GB, free: 2.395 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.1502, allocations: 34.56 kB / 0.6442 GB, free: 2.352 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/0.1502, allocations: 0 / 0.6442 GB, free: 2.352 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003204/0.1505, allocations: 69.58 kB / 0.6443 GB, free: 2.277 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.1506, allocations: 51.53 kB / 0.6443 GB, free: 2.215 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.1507, allocations: 121.8 kB / 0.6444 GB, free: 2.086 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.1507, allocations: 29.64 kB / 0.6444 GB, free: 2.051 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.745e-05/0.1508, allocations: 92.12 kB / 0.6445 GB, free: 1.957 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.1508, allocations: 11.92 kB / 0.6445 GB, free: 1.945 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.1508, allocations: 17.66 kB / 0.6446 GB, free: 1.922 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.151, allocations: 322.8 kB / 0.6449 GB, free: 1.598 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.073e-05/0.151, allocations: 4 kB / 0.6449 GB, free: 1.594 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.422e-05/0.1511, allocations: 15.98 kB / 0.6449 GB, free: 1.578 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.778e-05/0.1512, allocations: 32.78 kB / 0.6449 GB, free: 1.543 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1512, allocations: 0 / 0.6449 GB, free: 1.543 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001166/0.1513, allocations: 53.69 kB / 0.645 GB, free: 1.484 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1513, allocations: 5.875 kB / 0.645 GB, free: 1.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1513, allocations: 0 / 0.645 GB, free: 1.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1513, allocations: 0 / 0.645 GB, free: 1.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.903e-05/0.1514, allocations: 16.02 kB / 0.645 GB, free: 1.465 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1514, allocations: 0 / 0.645 GB, free: 1.465 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.575e-05/0.1515, allocations: 7.906 kB / 0.645 GB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1515, allocations: 0 / 0.645 GB, free: 1.457 MB / 442.7 MB 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.469e-05/0.1516, allocations: 119.1 kB / 0.6451 GB, free: 1.332 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.1516, allocations: 0 / 0.6451 GB, free: 1.332 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001607/0.1518, allocations: 57.2 kB / 0.6452 GB, free: 1.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1518, allocations: 4 kB / 0.6452 GB, free: 1.266 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1518, allocations: 4.031 kB / 0.6452 GB, free: 1.262 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1518, allocations: 0 / 0.6452 GB, free: 1.262 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.152, allocations: 173.6 kB / 0.6453 GB, free: 1.043 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.152, allocations: 0 / 0.6453 GB, free: 1.043 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.166e-05/0.152, allocations: 7.984 kB / 0.6453 GB, free: 1.035 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1521, allocations: 0 / 0.6453 GB, free: 1.035 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.1521, allocations: 3.938 kB / 0.6454 GB, free: 1.031 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1521, allocations: 0 / 0.6454 GB, free: 1.031 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1521, allocations: 0 / 0.6454 GB, free: 1.031 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004765/0.1526, allocations: 0.7161 MB / 0.6461 GB, free: 264 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.205e-05/0.1526, allocations: 85.02 kB / 0.6461 GB, free: 160 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.1526, allocations: 3.938 kB / 0.6461 GB, free: 156 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6e-05/0.1527, allocations: 3.984 kB / 0.6461 GB, free: 152 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.1527, allocations: 4 kB / 0.6461 GB, free: 148 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-06/0.1528, allocations: 8.031 kB / 0.6462 GB, free: 140 kB / 442.7 MB Notification: Performance of sorting global known variables: time 7.143e-05/0.1528, allocations: 99.2 kB / 0.6462 GB, free: 40 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1528, allocations: 4 kB / 0.6462 GB, free: 36 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003157/0.1532, allocations: 8 kB / 0.6463 GB, free: 28 kB / 442.7 MB 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002262/0.1534, allocations: 95.25 kB / 0.6463 GB, free: 15.92 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.1536, allocations: 27.97 kB / 0.6464 GB, free: 15.89 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1536, allocations: 0 / 0.6464 GB, free: 15.89 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.758e-05/0.1536, allocations: 16 kB / 0.6464 GB, free: 15.88 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.1539, allocations: 5.406 kB / 0.6464 GB, free: 15.88 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/0.1543, allocations: 247.3 kB / 0.6466 GB, free: 15.59 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.1546, allocations: 0.6809 MB / 0.6473 GB, free: 14.89 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.179e-05/0.1547, allocations: 12 kB / 0.6473 GB, free: 14.88 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.77e-05/0.1547, allocations: 11.42 kB / 0.6473 GB, free: 14.87 MB / 458.7 MB Notification: Performance of SimCode: time 4.8e-07/0.1547, allocations: 0 / 0.6473 GB, free: 14.87 MB / 458.7 MB Notification: Performance of Templates: time 0.002502/0.1572, allocations: 457.6 kB / 0.6478 GB, free: 14.42 MB / 458.7 MB 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)