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.001237/0.001237, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001287/0.001287, allocations: 190.5 kB / 16.25 MB, free: 6.645 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.372/1.372, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9369/0.9369, allocations: 135.6 MB / 425.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 68.16 kB / 0.5054 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1574, allocations: 81.03 MB / 0.5845 GB, free: 4.293 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.00174/0.1592, allocations: 0.6309 MB / 0.5851 GB, free: 3.652 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.1608, allocations: 1.238 MB / 0.5863 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.001e-05/0.1608, allocations: 0 / 0.5863 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.1608, allocations: 0 / 0.5863 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.539e-06/0.1608, allocations: 0 / 0.5863 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003706/0.1612, allocations: 51.89 kB / 0.5864 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.036e-05/0.1612, allocations: 8 kB / 0.5864 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.305e-05/0.1613, allocations: 0 / 0.5864 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.295e-05/0.1613, allocations: 0 / 0.5864 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.72e-05/0.1613, allocations: 3.984 kB / 0.5864 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.832e-06/0.1613, allocations: 0 / 0.5864 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002128/0.1616, allocations: 99.91 kB / 0.5865 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.059e-05/0.1616, allocations: 3.984 kB / 0.5865 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.1616, allocations: 0 / 0.5865 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.1617, allocations: 43.94 kB / 0.5865 GB, free: 2.191 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.1617, allocations: 4 kB / 0.5865 GB, free: 2.188 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1617, allocations: 0 / 0.5865 GB, free: 2.188 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1618, allocations: 4 kB / 0.5865 GB, free: 2.184 MB / 494.1 MB 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.0003522/0.1621, allocations: 323.5 kB / 0.5869 GB, free: 1.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.1622, allocations: 12.03 kB / 0.5869 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.625e-05/0.1622, allocations: 0.9375 kB / 0.5869 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.1623, allocations: 172.3 kB / 0.587 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.423e-06/0.1623, allocations: 384 / 0.587 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.1623, allocations: 4.375 kB / 0.587 GB, free: 1.598 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.302e-05/0.1624, allocations: 34.02 kB / 0.5871 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1624, allocations: 4 kB / 0.5871 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.1625, allocations: 0 / 0.5871 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1625, allocations: 0 / 0.5871 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.754e-05/0.1625, allocations: 0 / 0.5871 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.1626, allocations: 153.7 kB / 0.5872 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.826e-05/0.1627, allocations: 18.52 kB / 0.5872 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.628e-05/0.1627, allocations: 8.891 kB / 0.5872 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005832/0.1633, allocations: 0.5622 MB / 0.5878 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.1633, allocations: 38.5 kB / 0.5878 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1634, allocations: 0 / 0.5878 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001235/0.1635, allocations: 33.69 kB / 0.5879 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.1635, allocations: 51.41 kB / 0.5879 GB, free: 488 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.162e-05/0.1636, allocations: 93.8 kB / 0.588 GB, free: 384 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1636, allocations: 29.83 kB / 0.588 GB, free: 348 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.147e-05/0.1636, allocations: 84.14 kB / 0.5881 GB, free: 260 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.1637, allocations: 7.906 kB / 0.5881 GB, free: 252 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/0.1637, allocations: 9.719 kB / 0.5881 GB, free: 236 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1639, allocations: 310.8 kB / 0.5884 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.103e-05/0.1639, allocations: 4 kB / 0.5884 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.621e-06/0.1639, allocations: 0 / 0.5884 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.652e-05/0.1639, allocations: 12.84 kB / 0.5884 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.1639, allocations: 4.062 kB / 0.5884 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.25e-05/0.164, allocations: 33.7 kB / 0.5885 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.164, allocations: 7.938 kB / 0.5885 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.164, allocations: 0 / 0.5885 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.164, allocations: 4 kB / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.925e-05/0.1641, allocations: 3.938 kB / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1641, allocations: 3.938 kB / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.001e-05/0.1641, allocations: 0 / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1641, allocations: 0 / 0.5885 GB, free: 15.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 9.349e-05/0.1642, allocations: 113.9 kB / 0.5886 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-06/0.1642, allocations: 7.922 kB / 0.5886 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.4e-05/0.1643, allocations: 36.83 kB / 0.5886 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1643, allocations: 0 / 0.5886 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1643, allocations: 0 / 0.5886 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1643, allocations: 4 kB / 0.5887 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.1645, allocations: 145.7 kB / 0.5888 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1645, allocations: 0 / 0.5888 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.229e-05/0.1645, allocations: 4.031 kB / 0.5888 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.1645, allocations: 7.938 kB / 0.5888 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-06/0.1645, allocations: 0 / 0.5888 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.1645, allocations: 3.938 kB / 0.5888 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1645, allocations: 4 kB / 0.5888 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.642e-05/0.1646, allocations: 57.12 kB / 0.5889 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.973e-05/0.1646, allocations: 81.11 kB / 0.5889 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.1647, allocations: 7.969 kB / 0.5889 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-06/0.1647, allocations: 0 / 0.5889 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.1647, allocations: 0 / 0.5889 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.1647, allocations: 3.938 kB / 0.589 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.21e-05/0.1647, allocations: 75.28 kB / 0.589 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1647, allocations: 0 / 0.589 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001773/0.1649, allocations: 12 kB / 0.589 GB, free: 15.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.0001522/0.1651, allocations: 103.2 kB / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.51e-05/0.1652, allocations: 11.94 kB / 0.5891 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1652, allocations: 0 / 0.5891 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.216e-06/0.1652, allocations: 4 kB / 0.5891 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001176/0.1653, allocations: 4.281 kB / 0.5892 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001677/0.1655, allocations: 84.92 kB / 0.5892 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.1658, allocations: 0.6729 MB / 0.5899 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.948e-05/0.1658, allocations: 4.125 kB / 0.5899 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.236e-05/0.1658, allocations: 7.438 kB / 0.5899 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of SimCode: time 2.034e-06/0.1658, allocations: 0 / 0.5899 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of Templates: time 0.00223/0.168, allocations: 303.2 kB / 0.5902 GB, free: 13.93 MB / 0.4981 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)