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.001615/0.001615, 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.001844/0.001844, allocations: 187 kB / 17.34 MB, free: 5.742 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.449/1.449, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8114/0.8114, allocations: 135.1 MB / 426.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 64.38 kB / 0.5863 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1453, allocations: 80.92 MB / 0.6653 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001848/0.1472, allocations: 0.5788 MB / 0.6659 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001607/0.1489, allocations: 1.247 MB / 0.6671 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.823e-05/0.1489, allocations: 0 / 0.6671 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.1489, allocations: 0 / 0.6671 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.282e-06/0.149, allocations: 0 / 0.6671 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.1493, allocations: 71.73 kB / 0.6672 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.432e-05/0.1494, allocations: 8 kB / 0.6672 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.842e-05/0.1495, allocations: 0 / 0.6672 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.88e-05/0.1495, allocations: 0 / 0.6672 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.662e-05/0.1495, allocations: 0 / 0.6672 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.824e-06/0.1496, allocations: 4 kB / 0.6672 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002245/0.1498, allocations: 95.89 kB / 0.6673 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.648e-06/0.1498, allocations: 0 / 0.6673 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.82e-05/0.1498, allocations: 3.938 kB / 0.6673 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.15, allocations: 47.94 kB / 0.6673 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.15, allocations: 0 / 0.6673 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.15, allocations: 4 kB / 0.6673 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.15, allocations: 0 / 0.6673 GB, free: 3.707 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.000393/0.1504, allocations: 327.6 kB / 0.6677 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.1505, allocations: 9.109 kB / 0.6677 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.1505, allocations: 0.9375 kB / 0.6677 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.1506, allocations: 164.4 kB / 0.6678 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1507, allocations: 384 / 0.6678 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.1507, allocations: 384 / 0.6678 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.1508, allocations: 41.94 kB / 0.6679 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1508, allocations: 4 kB / 0.6679 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1508, allocations: 0 / 0.6679 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1509, allocations: 0 / 0.6679 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.22e-05/0.1509, allocations: 4 kB / 0.6679 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001909/0.1511, allocations: 145.7 kB / 0.668 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.494e-05/0.1511, allocations: 18.58 kB / 0.668 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.335e-05/0.1512, allocations: 8.953 kB / 0.668 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006333/0.1518, allocations: 0.5661 MB / 0.6686 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.1518, allocations: 34.5 kB / 0.6686 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1518, allocations: 0 / 0.6686 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001532/0.152, allocations: 33.7 kB / 0.6687 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.1521, allocations: 51.41 kB / 0.6687 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.385e-05/0.1521, allocations: 93.84 kB / 0.6688 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.1521, allocations: 33.83 kB / 0.6688 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.343e-05/0.1522, allocations: 84.08 kB / 0.6689 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.1522, allocations: 0 / 0.6689 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.1523, allocations: 9.719 kB / 0.6689 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1524, allocations: 318.8 kB / 0.6692 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.099e-05/0.1524, allocations: 4 kB / 0.6692 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.308e-06/0.1524, allocations: 3.938 kB / 0.6692 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.425e-05/0.1525, allocations: 8.922 kB / 0.6692 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1525, allocations: 4 kB / 0.6692 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.4e-05/0.1525, allocations: 33.69 kB / 0.6693 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1526, allocations: 11.94 kB / 0.6693 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1526, allocations: 0 / 0.6693 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.1526, allocations: 0 / 0.6693 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.019e-05/0.1527, allocations: 0 / 0.6693 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1527, allocations: 0 / 0.6693 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.359e-05/0.1527, allocations: 0 / 0.6693 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.1527, allocations: 4 kB / 0.6693 GB, free: 1.367 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 9.005e-05/0.1528, allocations: 113.9 kB / 0.6694 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.817e-06/0.1528, allocations: 7.875 kB / 0.6694 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.1529, allocations: 36.81 kB / 0.6694 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.1529, allocations: 4 kB / 0.6694 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1529, allocations: 0 / 0.6694 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.153, allocations: 0 / 0.6694 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.1531, allocations: 141.7 kB / 0.6696 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.1531, allocations: 4 kB / 0.6696 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.988e-05/0.1531, allocations: 12.02 kB / 0.6696 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1531, allocations: 3.938 kB / 0.6696 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.1531, allocations: 0 / 0.6696 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1531, allocations: 0 / 0.6696 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1531, allocations: 0 / 0.6696 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.359e-05/0.1532, allocations: 61.08 kB / 0.6697 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.1533, allocations: 85.03 kB / 0.6697 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.1533, allocations: 7.969 kB / 0.6697 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.698e-06/0.1533, allocations: 0 / 0.6697 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.1533, allocations: 0 / 0.6697 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.1533, allocations: 0 / 0.6697 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.489e-05/0.1534, allocations: 79.28 kB / 0.6698 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1534, allocations: 3.938 kB / 0.6698 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002155/0.1536, allocations: 8 kB / 0.6698 GB, free: 0.7031 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.0001809/0.1538, allocations: 100.6 kB / 0.6699 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.771e-05/0.1539, allocations: 11.98 kB / 0.6699 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1539, allocations: 0 / 0.6699 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.07e-05/0.1539, allocations: 7.938 kB / 0.6699 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.154, allocations: 0 / 0.6699 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002415/0.1543, allocations: 114.5 kB / 0.6701 GB, free: 440 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.1546, allocations: 0.6728 MB / 0.6707 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.716e-05/0.1547, allocations: 11.42 kB / 0.6707 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/0.1547, allocations: 0 / 0.6707 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of Templates: time 0.001784/0.1565, allocations: 431.9 kB / 0.6711 GB, free: 15.3 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)