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.001139/0.001139, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7272/0.7272, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 64.5 kB / 0.5018 GB, free: 8.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1571, allocations: 80.2 MB / 0.5801 GB, free: 8.793 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001857/0.159, allocations: 0.5803 MB / 0.5807 GB, free: 8.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.1606, allocations: 1.246 MB / 0.5819 GB, free: 6.945 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.544e-05/0.1606, allocations: 0 / 0.5819 GB, free: 6.945 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.454e-05/0.1606, allocations: 0 / 0.5819 GB, free: 6.945 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.679e-06/0.1606, allocations: 0 / 0.5819 GB, free: 6.945 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.161, allocations: 63.75 kB / 0.582 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.336e-05/0.1611, allocations: 7.984 kB / 0.582 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.1611, allocations: 0 / 0.582 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.412e-05/0.1611, allocations: 0 / 0.582 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.4e-05/0.1612, allocations: 0 / 0.582 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.875e-06/0.1612, allocations: 0 / 0.582 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002331/0.1614, allocations: 107.8 kB / 0.5821 GB, free: 6.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.748e-06/0.1614, allocations: 0 / 0.5821 GB, free: 6.77 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.638e-05/0.1615, allocations: 0 / 0.5821 GB, free: 6.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.1616, allocations: 47.94 kB / 0.5821 GB, free: 6.723 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1616, allocations: 4 kB / 0.5821 GB, free: 6.719 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1616, allocations: 0 / 0.5821 GB, free: 6.719 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1616, allocations: 0 / 0.5821 GB, free: 6.719 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.0002857/0.1619, allocations: 323.5 kB / 0.5824 GB, free: 6.355 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.162, allocations: 12.03 kB / 0.5824 GB, free: 6.344 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.162, allocations: 0.9375 kB / 0.5824 GB, free: 6.344 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.753e-05/0.1621, allocations: 164.4 kB / 0.5826 GB, free: 6.145 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1621, allocations: 384 / 0.5826 GB, free: 6.145 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-06/0.1621, allocations: 384 / 0.5826 GB, free: 6.145 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.4e-05/0.1622, allocations: 38 kB / 0.5826 GB, free: 6.102 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1622, allocations: 0 / 0.5826 GB, free: 6.102 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.1623, allocations: 0 / 0.5826 GB, free: 6.102 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1623, allocations: 0 / 0.5826 GB, free: 6.102 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.551e-05/0.1623, allocations: 3.938 kB / 0.5826 GB, free: 6.098 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.1624, allocations: 153.7 kB / 0.5828 GB, free: 5.898 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.593e-05/0.1625, allocations: 14.58 kB / 0.5828 GB, free: 5.875 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.122e-05/0.1625, allocations: 8.953 kB / 0.5828 GB, free: 5.863 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005066/0.163, allocations: 0.5661 MB / 0.5834 GB, free: 5.168 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.163, allocations: 34.5 kB / 0.5834 GB, free: 5.125 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.1631, allocations: 4 kB / 0.5834 GB, free: 5.121 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001255/0.1632, allocations: 33.64 kB / 0.5834 GB, free: 5.082 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.1632, allocations: 55.34 kB / 0.5835 GB, free: 5.016 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.346e-05/0.1633, allocations: 89.86 kB / 0.5836 GB, free: 4.918 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.1633, allocations: 29.7 kB / 0.5836 GB, free: 4.883 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.667e-05/0.1633, allocations: 84.14 kB / 0.5837 GB, free: 4.797 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.1634, allocations: 7.891 kB / 0.5837 GB, free: 4.789 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.1634, allocations: 9.719 kB / 0.5837 GB, free: 4.773 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1635, allocations: 315 kB / 0.584 GB, free: 4.457 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.33e-05/0.1635, allocations: 4 kB / 0.584 GB, free: 4.453 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.802e-06/0.1635, allocations: 0 / 0.584 GB, free: 4.453 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.999e-05/0.1636, allocations: 8.859 kB / 0.584 GB, free: 4.441 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1636, allocations: 0 / 0.584 GB, free: 4.441 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.931e-05/0.1636, allocations: 37.64 kB / 0.584 GB, free: 4.398 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1637, allocations: 11.92 kB / 0.584 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1637, allocations: 0 / 0.584 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1637, allocations: 8.094 kB / 0.5841 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.589e-05/0.1637, allocations: 0 / 0.5841 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1638, allocations: 0 / 0.5841 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.5e-05/0.1638, allocations: 0 / 0.5841 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.1638, allocations: 3.938 kB / 0.5841 GB, free: 4.375 MB / 494.1 MB 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.747e-05/0.1639, allocations: 110.5 kB / 0.5842 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.1639, allocations: 3.938 kB / 0.5842 GB, free: 4.254 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.813e-05/0.164, allocations: 48.75 kB / 0.5842 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.164, allocations: 0 / 0.5842 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.164, allocations: 4 kB / 0.5842 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.164, allocations: 0 / 0.5842 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.1641, allocations: 145.7 kB / 0.5844 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1641, allocations: 0 / 0.5844 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.542e-05/0.1641, allocations: 0 / 0.5844 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.1642, allocations: 11.92 kB / 0.5844 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.1642, allocations: 0 / 0.5844 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1642, allocations: 0 / 0.5844 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1642, allocations: 0 / 0.5844 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.333e-05/0.1643, allocations: 61.17 kB / 0.5844 GB, free: 3.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.164e-05/0.1643, allocations: 77.11 kB / 0.5845 GB, free: 3.816 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.1643, allocations: 7.922 kB / 0.5845 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-06/0.1643, allocations: 0 / 0.5845 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.636e-05/0.1644, allocations: 0 / 0.5845 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.1644, allocations: 0 / 0.5845 GB, free: 3.809 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.077e-05/0.1644, allocations: 75.28 kB / 0.5846 GB, free: 3.734 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1644, allocations: 7.969 kB / 0.5846 GB, free: 3.727 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000197/0.1646, allocations: 8 kB / 0.5846 GB, free: 3.719 MB / 494.1 MB 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.0001597/0.1648, allocations: 99.25 kB / 0.5847 GB, free: 3.613 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.129e-05/0.1648, allocations: 11.92 kB / 0.5847 GB, free: 3.602 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1649, allocations: 0 / 0.5847 GB, free: 3.602 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.039e-05/0.1649, allocations: 8 kB / 0.5847 GB, free: 3.594 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.165, allocations: 288 / 0.5847 GB, free: 3.594 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001974/0.1652, allocations: 85.06 kB / 0.5848 GB, free: 3.484 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.1654, allocations: 0.6729 MB / 0.5854 GB, free: 2.785 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.008e-05/0.1655, allocations: 0 / 0.5854 GB, free: 2.785 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.366e-05/0.1655, allocations: 7.438 kB / 0.5854 GB, free: 2.781 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1655, allocations: 0 / 0.5854 GB, free: 2.781 MB / 494.1 MB Notification: Performance of Templates: time 0.002159/0.1676, allocations: 300.9 kB / 0.5857 GB, free: 2.488 MB / 494.1 MB 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)