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.001154/0.001154, allocations: 105.6 kB / 16.41 MB, free: 6.5 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.001169/0.001169, allocations: 189.6 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7968/0.7968, allocations: 132.2 MB / 423.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 73.14 kB / 0.5821 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1444, allocations: 80.2 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001662/0.1461, allocations: 0.5786 MB / 0.6609 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.1477, allocations: 1.247 MB / 0.6621 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.856e-05/0.1478, allocations: 0 / 0.6621 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.1478, allocations: 4 kB / 0.6622 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.612e-06/0.1478, allocations: 0 / 0.6622 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.1482, allocations: 67.73 kB / 0.6622 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.336e-05/0.1483, allocations: 4 kB / 0.6622 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.312e-05/0.1483, allocations: 0 / 0.6622 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.498e-05/0.1483, allocations: 4 kB / 0.6622 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.306e-05/0.1484, allocations: 0 / 0.6622 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.1484, allocations: 3.938 kB / 0.6622 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000251/0.1487, allocations: 95.89 kB / 0.6623 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.285e-05/0.1487, allocations: 0 / 0.6623 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.994e-05/0.1487, allocations: 11.94 kB / 0.6623 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.1489, allocations: 43.94 kB / 0.6624 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1489, allocations: 0 / 0.6624 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.174e-06/0.1489, allocations: 0 / 0.6624 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.1489, allocations: 0 / 0.6624 GB, free: 8.16 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.0003378/0.1492, allocations: 327.6 kB / 0.6627 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.1493, allocations: 8.031 kB / 0.6627 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.1493, allocations: 0.9375 kB / 0.6627 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.1494, allocations: 164.4 kB / 0.6629 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.1495, allocations: 8.375 kB / 0.6629 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.1495, allocations: 384 / 0.6629 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.1496, allocations: 34 kB / 0.6629 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.1496, allocations: 3.938 kB / 0.6629 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.1496, allocations: 0 / 0.6629 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1496, allocations: 4 kB / 0.6629 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.008e-05/0.1496, allocations: 0 / 0.6629 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001513/0.1498, allocations: 141.7 kB / 0.663 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.847e-05/0.1499, allocations: 26.61 kB / 0.6631 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.743e-05/0.1499, allocations: 4.859 kB / 0.6631 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006127/0.1505, allocations: 0.5584 MB / 0.6636 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.1505, allocations: 34.5 kB / 0.6636 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.725e-06/0.1505, allocations: 0 / 0.6636 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001629/0.1507, allocations: 45.73 kB / 0.6637 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.1508, allocations: 51.41 kB / 0.6637 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.571e-05/0.1508, allocations: 89.86 kB / 0.6638 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.1508, allocations: 25.7 kB / 0.6638 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.1508, allocations: 80.14 kB / 0.6639 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.1509, allocations: 3.984 kB / 0.6639 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.1509, allocations: 17.66 kB / 0.6639 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.151, allocations: 314.8 kB / 0.6642 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.14e-05/0.1511, allocations: 4.031 kB / 0.6642 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.54e-06/0.1511, allocations: 0 / 0.6642 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.273e-05/0.1511, allocations: 12.8 kB / 0.6643 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1511, allocations: 0 / 0.6643 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.606e-05/0.1512, allocations: 37.64 kB / 0.6643 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1512, allocations: 11.92 kB / 0.6643 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1512, allocations: 3.984 kB / 0.6643 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1512, allocations: 0 / 0.6643 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.097e-05/0.1513, allocations: 4 kB / 0.6643 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.1513, allocations: 4.094 kB / 0.6643 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.301e-05/0.1513, allocations: 0 / 0.6643 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1513, allocations: 7.984 kB / 0.6643 GB, free: 5.809 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 7.673e-05/0.1514, allocations: 110.7 kB / 0.6644 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.1514, allocations: 7.844 kB / 0.6644 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.034e-05/0.1515, allocations: 44.75 kB / 0.6645 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1515, allocations: 0 / 0.6645 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1515, allocations: 4.031 kB / 0.6645 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.1515, allocations: 0 / 0.6645 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.94e-05/0.1516, allocations: 141.7 kB / 0.6646 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1516, allocations: 4 kB / 0.6646 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.59e-05/0.1517, allocations: 0 / 0.6646 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.1517, allocations: 7.922 kB / 0.6646 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.1517, allocations: 0 / 0.6646 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1517, allocations: 0 / 0.6646 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.1517, allocations: 4 kB / 0.6646 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.425e-05/0.1518, allocations: 61.08 kB / 0.6647 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.1518, allocations: 81.05 kB / 0.6648 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.1518, allocations: 7.922 kB / 0.6648 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.175e-05/0.1518, allocations: 4 kB / 0.6648 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.1519, allocations: 0 / 0.6648 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-06/0.1519, allocations: 0 / 0.6648 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.274e-05/0.1519, allocations: 75.28 kB / 0.6649 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1519, allocations: 0 / 0.6649 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001914/0.1521, allocations: 12.03 kB / 0.6649 GB, free: 5.148 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.0001542/0.1523, allocations: 107.2 kB / 0.665 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.611e-05/0.1523, allocations: 7.984 kB / 0.665 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1523, allocations: 0 / 0.665 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.782e-06/0.1524, allocations: 0 / 0.665 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.1525, allocations: 5.875 kB / 0.665 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002271/0.1527, allocations: 110.6 kB / 0.6651 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.153, allocations: 0.673 MB / 0.6657 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.543e-05/0.153, allocations: 7.438 kB / 0.6658 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of SimCode: time 3.9e-07/0.153, allocations: 0 / 0.6658 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of Templates: time 0.001874/0.1549, allocations: 438.2 kB / 0.6662 GB, free: 3.746 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)