Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.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.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice") translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 116.7 kB / 16.37 MB, free: 6.012 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.00113/0.001131, allocations: 192.2 kB / 17.31 MB, free: 5.613 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.793/0.793, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 59.91 kB / 0.5068 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3575, allocations: 80.91 MB / 0.5858 GB, free: 25.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002658/0.3602, allocations: 1.502 MB / 0.5872 GB, free: 24.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.3614, allocations: 0.6486 MB / 0.5879 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.045e-05/0.3614, allocations: 1.438 kB / 0.5879 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.805e-05/0.3615, allocations: 3.938 kB / 0.5879 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.366e-05/0.3616, allocations: 9.219 kB / 0.5879 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000385/0.3619, allocations: 69.95 kB / 0.5879 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.538e-05/0.362, allocations: 37.95 kB / 0.588 GB, free: 23.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.3622, allocations: 21.91 kB / 0.588 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.872e-05/0.3623, allocations: 13.09 kB / 0.588 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.802e-05/0.3623, allocations: 18.08 kB / 0.588 GB, free: 23.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.3624, allocations: 2.719 kB / 0.588 GB, free: 23.69 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.3626, allocations: 95.58 kB / 0.5881 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.3626, allocations: 13.33 kB / 0.5881 GB, free: 23.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.3626, allocations: 12.94 kB / 0.5881 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.3628, allocations: 81.91 kB / 0.5882 GB, free: 23.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3628, allocations: 0 / 0.5882 GB, free: 23.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3628, allocations: 2.844 kB / 0.5882 GB, free: 23.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3628, allocations: 0 / 0.5882 GB, free: 23.57 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004775/0.3633, allocations: 364 kB / 0.5886 GB, free: 23.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.3634, allocations: 15.08 kB / 0.5886 GB, free: 23.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.3634, allocations: 3.594 kB / 0.5886 GB, free: 23.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.3635, allocations: 174.8 kB / 0.5888 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.3636, allocations: 5.594 kB / 0.5888 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.3636, allocations: 3.531 kB / 0.5888 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.3637, allocations: 59.52 kB / 0.5888 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3638, allocations: 0 / 0.5888 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.3638, allocations: 0.625 kB / 0.5888 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.3638, allocations: 1.219 kB / 0.5888 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.194e-05/0.3639, allocations: 28.91 kB / 0.5889 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/0.3642, allocations: 280.2 kB / 0.5891 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.634e-05/0.3643, allocations: 32.8 kB / 0.5892 GB, free: 22.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.9e-05/0.3644, allocations: 20.69 kB / 0.5892 GB, free: 22.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003749/0.3648, allocations: 0.5531 MB / 0.5897 GB, free: 21.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.3648, allocations: 36.84 kB / 0.5897 GB, free: 21.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3648, allocations: 0 / 0.5897 GB, free: 21.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000238/0.365, allocations: 68.83 kB / 0.5898 GB, free: 21.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.3651, allocations: 52.56 kB / 0.5899 GB, free: 21.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.986e-05/0.3651, allocations: 122.8 kB / 0.59 GB, free: 21.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.275e-06/0.3652, allocations: 29.64 kB / 0.59 GB, free: 21.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.94e-05/0.3652, allocations: 91.08 kB / 0.5901 GB, free: 21.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.3652, allocations: 6.844 kB / 0.5901 GB, free: 21.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.3652, allocations: 12.62 kB / 0.5901 GB, free: 21.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.987e-05/0.3653, allocations: 323.8 kB / 0.5904 GB, free: 21.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.882e-05/0.3653, allocations: 5.812 kB / 0.5904 GB, free: 21.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.136e-05/0.3654, allocations: 15.86 kB / 0.5904 GB, free: 21.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.036e-05/0.3655, allocations: 30.03 kB / 0.5905 GB, free: 21.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3655, allocations: 1.625 kB / 0.5905 GB, free: 21.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000101/0.3656, allocations: 51.38 kB / 0.5905 GB, free: 21.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.3656, allocations: 6.5 kB / 0.5905 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3656, allocations: 3.875 kB / 0.5905 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.3656, allocations: 0 / 0.5905 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.368e-05/0.3657, allocations: 8.609 kB / 0.5905 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.3657, allocations: 0 / 0.5905 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.356e-05/0.3657, allocations: 3.094 kB / 0.5905 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.3658, allocations: 1.125 kB / 0.5905 GB, free: 21.09 MB / 446.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 (2): * Single equations (assignments): 2 * 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 5.609e-05/0.3658, allocations: 117.6 kB / 0.5907 GB, free: 20.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.3659, allocations: 7.281 kB / 0.5907 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.366, allocations: 70.83 kB / 0.5907 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.366, allocations: 0 / 0.5907 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.366, allocations: 4.562 kB / 0.5907 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.366, allocations: 6.016 kB / 0.5907 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.3661, allocations: 164.4 kB / 0.5909 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3662, allocations: 2.469 kB / 0.5909 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.904e-05/0.3662, allocations: 9.156 kB / 0.5909 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3662, allocations: 0 / 0.5909 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.3662, allocations: 1.25 kB / 0.5909 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.3662, allocations: 0 / 0.5909 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3662, allocations: 0 / 0.5909 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.3664, allocations: 165.6 kB / 0.5911 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.95e-05/0.3664, allocations: 77.11 kB / 0.5911 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.3664, allocations: 1.375 kB / 0.5911 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.048e-05/0.3665, allocations: 2.438 kB / 0.5911 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.3665, allocations: 6.391 kB / 0.5912 GB, free: 20.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.3665, allocations: 0 / 0.5912 GB, free: 20.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.65e-05/0.3666, allocations: 100.1 kB / 0.5912 GB, free: 20.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3666, allocations: 0 / 0.5912 GB, free: 20.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002211/0.3668, allocations: 13.22 kB / 0.5913 GB, free: 20.35 MB / 446.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 (2): * Single equations (assignments): 2 * 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.0001336/0.3669, allocations: 103.6 kB / 0.5914 GB, free: 20.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.3671, allocations: 22.05 kB / 0.5914 GB, free: 20.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3671, allocations: 2.219 kB / 0.5914 GB, free: 20.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.697e-05/0.3671, allocations: 23.7 kB / 0.5914 GB, free: 20.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.3673, allocations: 5.109 kB / 0.5914 GB, free: 20.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/0.3676, allocations: 136.6 kB / 0.5915 GB, free: 20.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.3678, allocations: 0.6844 MB / 0.5922 GB, free: 19.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.506e-05/0.3678, allocations: 4.125 kB / 0.5922 GB, free: 19.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.213e-05/0.3678, allocations: 8.594 kB / 0.5922 GB, free: 19.39 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3678, allocations: 0 / 0.5922 GB, free: 19.39 MB / 446.1 MB Notification: Performance of Templates: time 0.002532/0.3704, allocations: 488.7 kB / 0.5927 GB, free: 19.01 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1)