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.001337/0.001337, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001315/0.001315, allocations: 185.5 kB / 17.34 MB, free: 5.715 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.47/1.47, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8525/0.8525, allocations: 135.2 MB / 426.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 65.27 kB / 0.5864 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1606, allocations: 80.94 MB / 0.6654 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001733/0.1624, allocations: 0.5565 MB / 0.666 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.164, allocations: 1.255 MB / 0.6672 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.677e-05/0.1641, allocations: 0 / 0.6672 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.762e-05/0.1641, allocations: 0 / 0.6672 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.043e-06/0.1641, allocations: 0 / 0.6672 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.1645, allocations: 63.8 kB / 0.6672 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.706e-05/0.1646, allocations: 3.984 kB / 0.6672 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.1646, allocations: 4 kB / 0.6672 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.365e-05/0.1646, allocations: 3.938 kB / 0.6672 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.11e-05/0.1647, allocations: 4 kB / 0.6673 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.686e-06/0.1647, allocations: 3.938 kB / 0.6673 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/0.1649, allocations: 95.89 kB / 0.6673 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.1649, allocations: 0 / 0.6673 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.911e-05/0.1649, allocations: 3.938 kB / 0.6674 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.1651, allocations: 51.88 kB / 0.6674 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1651, allocations: 0 / 0.6674 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.814e-06/0.1651, allocations: 0 / 0.6674 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.1651, allocations: 0 / 0.6674 GB, free: 3.684 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.0003957/0.1655, allocations: 327.5 kB / 0.6677 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.1655, allocations: 13.11 kB / 0.6677 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.1655, allocations: 0.9375 kB / 0.6677 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.1657, allocations: 160.4 kB / 0.6679 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1657, allocations: 384 / 0.6679 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-06/0.1657, allocations: 384 / 0.6679 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.479e-05/0.1658, allocations: 34.02 kB / 0.6679 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1658, allocations: 7.922 kB / 0.6679 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.1658, allocations: 0 / 0.6679 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1658, allocations: 0 / 0.6679 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.228e-05/0.1658, allocations: 7.984 kB / 0.6679 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.166, allocations: 149.7 kB / 0.6681 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.341e-05/0.166, allocations: 14.58 kB / 0.6681 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.666e-05/0.1661, allocations: 4.859 kB / 0.6681 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006518/0.1667, allocations: 0.5623 MB / 0.6686 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.1667, allocations: 42.5 kB / 0.6687 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1667, allocations: 0 / 0.6687 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001303/0.1669, allocations: 33.64 kB / 0.6687 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.1669, allocations: 51.41 kB / 0.6688 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.298e-05/0.167, allocations: 89.86 kB / 0.6688 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.167, allocations: 25.7 kB / 0.6689 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/0.167, allocations: 80.14 kB / 0.6689 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.167, allocations: 12 kB / 0.669 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.1671, allocations: 17.72 kB / 0.669 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1672, allocations: 314.8 kB / 0.6693 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.22e-05/0.1672, allocations: 4 kB / 0.6693 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.268e-06/0.1672, allocations: 4 kB / 0.6693 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.841e-05/0.1673, allocations: 8.797 kB / 0.6693 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1673, allocations: 4 kB / 0.6693 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.792e-05/0.1673, allocations: 37.72 kB / 0.6693 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1673, allocations: 11.97 kB / 0.6693 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1674, allocations: 0 / 0.6693 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1674, allocations: 3.938 kB / 0.6693 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.41e-05/0.1674, allocations: 7.984 kB / 0.6694 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.1674, allocations: 0 / 0.6694 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.074e-05/0.1674, allocations: 0 / 0.6694 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.1674, allocations: 0 / 0.6694 GB, free: 1.332 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 8.19e-05/0.1675, allocations: 109.8 kB / 0.6695 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.1675, allocations: 3.938 kB / 0.6695 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.1676, allocations: 44.75 kB / 0.6695 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.1676, allocations: 0 / 0.6695 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1676, allocations: 0 / 0.6695 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1676, allocations: 0 / 0.6695 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.1677, allocations: 149.7 kB / 0.6696 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1677, allocations: 0 / 0.6696 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.381e-05/0.1678, allocations: 0 / 0.6696 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1678, allocations: 3.938 kB / 0.6697 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-06/0.1678, allocations: 8.031 kB / 0.6697 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.1678, allocations: 0 / 0.6697 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1678, allocations: 0 / 0.6697 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.594e-05/0.1679, allocations: 61.06 kB / 0.6697 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.422e-05/0.1679, allocations: 81.11 kB / 0.6698 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.1679, allocations: 3.938 kB / 0.6698 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-06/0.1679, allocations: 0 / 0.6698 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.638e-06/0.1679, allocations: 0 / 0.6698 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.1679, allocations: 8.016 kB / 0.6698 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.581e-05/0.168, allocations: 75.28 kB / 0.6699 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5e-08/0.168, allocations: 0 / 0.6699 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001993/0.1682, allocations: 11.94 kB / 0.6699 GB, free: 0.6758 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.0001611/0.1683, allocations: 99.25 kB / 0.67 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.681e-05/0.1684, allocations: 4 kB / 0.67 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1684, allocations: 0 / 0.67 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.646e-06/0.1684, allocations: 8.062 kB / 0.67 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.1685, allocations: 3.984 kB / 0.67 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002096/0.1687, allocations: 114.6 kB / 0.6701 GB, free: 416 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.1691, allocations: 0.6729 MB / 0.6708 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.634e-05/0.1691, allocations: 7.438 kB / 0.6708 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.1691, allocations: 0 / 0.6708 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.002019/0.1711, allocations: 443.8 kB / 0.6712 GB, free: 15.27 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)