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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 115 kB / 16.42 MB, free: 6.027 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.001146/0.001146, allocations: 186.6 kB / 17.35 MB, free: 5.625 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.257/1.257, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7667/0.7667, allocations: 135.1 MB / 426.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001158, allocations: 64 kB / 0.5863 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.128, allocations: 80.92 MB / 0.6653 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001428/0.1294, allocations: 0.575 MB / 0.6659 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.1308, allocations: 1.255 MB / 0.6671 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.362e-05/0.1308, allocations: 0 / 0.6671 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.964e-05/0.1308, allocations: 0 / 0.6671 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.48e-06/0.1308, allocations: 0 / 0.6671 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.1311, allocations: 63.81 kB / 0.6672 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.534e-05/0.1312, allocations: 0 / 0.6672 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.699e-05/0.1312, allocations: 4 kB / 0.6672 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.294e-05/0.1312, allocations: 4 kB / 0.6672 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.274e-05/0.1313, allocations: 0 / 0.6672 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.941e-06/0.1313, allocations: 3.938 kB / 0.6672 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.1315, allocations: 91.89 kB / 0.6673 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.634e-06/0.1315, allocations: 0 / 0.6673 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.552e-05/0.1315, allocations: 4 kB / 0.6673 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.1316, allocations: 51.81 kB / 0.6673 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1316, allocations: 0 / 0.6673 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1316, allocations: 4 kB / 0.6674 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.738e-06/0.1317, allocations: 0 / 0.6674 GB, free: 3.695 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.0002609/0.1319, allocations: 323.5 kB / 0.6677 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.132, allocations: 9.109 kB / 0.6677 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.207e-05/0.132, allocations: 0.9375 kB / 0.6677 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.304e-05/0.1321, allocations: 164.4 kB / 0.6678 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.1321, allocations: 384 / 0.6678 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.1321, allocations: 8.375 kB / 0.6678 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.389e-05/0.1322, allocations: 34.02 kB / 0.6679 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.1322, allocations: 3.938 kB / 0.6679 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-06/0.1322, allocations: 0 / 0.6679 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.1322, allocations: 0 / 0.6679 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.661e-05/0.1322, allocations: 4 kB / 0.6679 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001157/0.1323, allocations: 141.7 kB / 0.668 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.735e-05/0.1324, allocations: 22.59 kB / 0.668 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.518e-05/0.1324, allocations: 8.859 kB / 0.668 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004853/0.1329, allocations: 0.5584 MB / 0.6686 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.1329, allocations: 34.5 kB / 0.6686 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.304e-06/0.1329, allocations: 0 / 0.6686 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001108/0.1331, allocations: 41.62 kB / 0.6687 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.1331, allocations: 59.34 kB / 0.6687 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.843e-05/0.1331, allocations: 89.98 kB / 0.6688 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.1331, allocations: 29.7 kB / 0.6688 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.725e-05/0.1332, allocations: 80.14 kB / 0.6689 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.1332, allocations: 3.938 kB / 0.6689 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-05/0.1332, allocations: 9.719 kB / 0.6689 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.166e-05/0.1333, allocations: 314.8 kB / 0.6692 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.225e-06/0.1333, allocations: 3.938 kB / 0.6692 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-06/0.1333, allocations: 4 kB / 0.6692 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.776e-05/0.1334, allocations: 16.86 kB / 0.6692 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1334, allocations: 0 / 0.6692 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.813e-05/0.1334, allocations: 37.64 kB / 0.6693 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.1335, allocations: 8 kB / 0.6693 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1335, allocations: 3.938 kB / 0.6693 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.1335, allocations: 0 / 0.6693 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.379e-05/0.1335, allocations: 0 / 0.6693 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.1335, allocations: 0 / 0.6693 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.022e-05/0.1335, allocations: 4 kB / 0.6693 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.1335, allocations: 0 / 0.6693 GB, free: 1.355 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 5.128e-05/0.1336, allocations: 109.9 kB / 0.6694 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-06/0.1336, allocations: 0 / 0.6694 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.135e-05/0.1337, allocations: 52.69 kB / 0.6694 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1337, allocations: 0 / 0.6694 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1337, allocations: 4 kB / 0.6695 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.442e-05/0.1338, allocations: 77.11 kB / 0.6695 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.106e-06/0.1338, allocations: 0 / 0.6695 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-06/0.1338, allocations: 4.031 kB / 0.6695 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.1338, allocations: 3.984 kB / 0.6695 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.175e-05/0.1339, allocations: 113 kB / 0.6696 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001013/0.134, allocations: 206.7 kB / 0.6698 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.367e-05/0.134, allocations: 4 kB / 0.6698 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.129e-05/0.134, allocations: 79.34 kB / 0.6699 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of Backend: time 2.8e-07/0.134, allocations: 0 / 0.6699 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000355/0.1344, allocations: 106.3 kB / 0.67 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0002694/0.1347, allocations: 0.5214 MB / 0.6705 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of Templates: time 0.002133/0.1368, allocations: 0.4964 MB / 0.671 GB, free: 15.47 MB / 0.5137 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)