Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 110.7 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001832/0.001833, allocations: 187 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7879/0.7879, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 68.8 kB / 0.582 GB, free: 23.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1418, allocations: 80.22 MB / 0.6604 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001689/0.1435, allocations: 0.563 MB / 0.6609 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.1451, allocations: 1.247 MB / 0.6621 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.716e-05/0.1451, allocations: 3.938 kB / 0.6622 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.419e-05/0.1452, allocations: 0 / 0.6622 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.773e-06/0.1452, allocations: 0 / 0.6622 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.1456, allocations: 70.86 kB / 0.6622 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.282e-05/0.1456, allocations: 8 kB / 0.6622 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.1457, allocations: 4 kB / 0.6622 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.289e-05/0.1457, allocations: 0 / 0.6622 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.795e-05/0.1457, allocations: 0 / 0.6622 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.895e-06/0.1457, allocations: 0 / 0.6622 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000224/0.146, allocations: 99.89 kB / 0.6623 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.436e-06/0.146, allocations: 0 / 0.6623 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.702e-05/0.146, allocations: 0 / 0.6623 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.1461, allocations: 51.88 kB / 0.6624 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1461, allocations: 0 / 0.6624 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1462, allocations: 0 / 0.6624 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.1462, allocations: 4 kB / 0.6624 GB, free: 8.184 MB / 0.4981 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.0002978/0.1465, allocations: 327.5 kB / 0.6627 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.1465, allocations: 12.03 kB / 0.6627 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.1465, allocations: 0.9375 kB / 0.6627 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.987e-05/0.1466, allocations: 164.4 kB / 0.6629 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.1466, allocations: 384 / 0.6629 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.1467, allocations: 384 / 0.6629 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.1468, allocations: 41.98 kB / 0.6629 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.1468, allocations: 4 kB / 0.6629 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1468, allocations: 0 / 0.6629 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1468, allocations: 0 / 0.6629 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.997e-05/0.1468, allocations: 0 / 0.6629 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.147, allocations: 145.7 kB / 0.663 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.812e-05/0.147, allocations: 22.52 kB / 0.6631 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.737e-05/0.147, allocations: 4.859 kB / 0.6631 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005153/0.1476, allocations: 0.5623 MB / 0.6636 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.1476, allocations: 38.5 kB / 0.6637 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.1476, allocations: 0 / 0.6637 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000131/0.1477, allocations: 33.7 kB / 0.6637 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.1478, allocations: 55.34 kB / 0.6637 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.688e-05/0.1478, allocations: 89.86 kB / 0.6638 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.1478, allocations: 29.81 kB / 0.6639 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.293e-05/0.1479, allocations: 84.14 kB / 0.6639 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.1479, allocations: 4 kB / 0.6639 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.1479, allocations: 9.719 kB / 0.6639 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.148, allocations: 310.8 kB / 0.6642 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.148, allocations: 11.94 kB / 0.6643 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.172e-06/0.1481, allocations: 3.938 kB / 0.6643 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.521e-05/0.1481, allocations: 8.859 kB / 0.6643 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1481, allocations: 4.062 kB / 0.6643 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.632e-05/0.1482, allocations: 33.69 kB / 0.6643 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1482, allocations: 11.88 kB / 0.6643 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1482, allocations: 0 / 0.6643 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.1482, allocations: 4 kB / 0.6643 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.32e-05/0.1483, allocations: 0 / 0.6643 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1483, allocations: 0 / 0.6643 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.181e-05/0.1483, allocations: 0 / 0.6643 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.1483, allocations: 3.984 kB / 0.6643 GB, free: 5.84 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.845e-05/0.1484, allocations: 114.8 kB / 0.6644 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.1484, allocations: 11.84 kB / 0.6644 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.466e-05/0.1485, allocations: 40.81 kB / 0.6645 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1485, allocations: 0 / 0.6645 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1485, allocations: 0 / 0.6645 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1485, allocations: 4 kB / 0.6645 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.218e-05/0.1486, allocations: 141.7 kB / 0.6646 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1486, allocations: 0 / 0.6646 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.801e-05/0.1486, allocations: 8.016 kB / 0.6646 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.1487, allocations: 11.88 kB / 0.6646 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.1487, allocations: 0 / 0.6646 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1487, allocations: 0 / 0.6646 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1487, allocations: 0 / 0.6646 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.373e-05/0.1487, allocations: 53.14 kB / 0.6647 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.183e-05/0.1488, allocations: 85.05 kB / 0.6648 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.1488, allocations: 7.922 kB / 0.6648 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.347e-06/0.1488, allocations: 4.031 kB / 0.6648 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.477e-05/0.1488, allocations: 0 / 0.6648 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.1488, allocations: 0 / 0.6648 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.748e-05/0.1489, allocations: 75.28 kB / 0.6649 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1489, allocations: 0 / 0.6649 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001931/0.1491, allocations: 8 kB / 0.6649 GB, free: 5.18 MB / 0.4981 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 (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.0001642/0.1492, allocations: 103.2 kB / 0.665 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.472e-05/0.1493, allocations: 19.86 kB / 0.665 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1493, allocations: 0 / 0.665 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.707e-06/0.1494, allocations: 4 kB / 0.665 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.1495, allocations: 0 / 0.665 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001807/0.1497, allocations: 102.6 kB / 0.6651 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.1499, allocations: 0.6729 MB / 0.6657 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.544e-05/0.1499, allocations: 7.438 kB / 0.6657 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1499, allocations: 3.938 kB / 0.6658 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of Templates: time 0.001695/0.1516, allocations: 435.9 kB / 0.6662 GB, free: 3.773 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)