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.005485/0.005485, allocations: 99.42 kB / 15.73 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.001226/0.001226, allocations: 192.5 kB / 16.67 MB, free: 5.949 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9879/0.9879, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 67.89 kB / 0.5857 GB, free: 3.316 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4493/0.4505, allocations: 80.9 MB / 0.6647 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001556/0.4521, allocations: 0.5769 MB / 0.6652 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.4534, allocations: 1.24 MB / 0.6664 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.864e-05/0.4534, allocations: 0 / 0.6664 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.76e-05/0.4534, allocations: 0 / 0.6664 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.29e-06/0.4535, allocations: 0 / 0.6664 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003583/0.4538, allocations: 66.78 kB / 0.6665 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.403e-05/0.4539, allocations: 1.438 kB / 0.6665 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.496e-05/0.4539, allocations: 5.672 kB / 0.6665 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.539e-05/0.4539, allocations: 1.688 kB / 0.6665 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.743e-05/0.454, allocations: 3.984 kB / 0.6665 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.536e-06/0.454, allocations: 3.938 kB / 0.6665 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.4542, allocations: 93.97 kB / 0.6666 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.4543, allocations: 3.984 kB / 0.6666 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.445e-05/0.4543, allocations: 1.312 kB / 0.6666 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.4544, allocations: 48.33 kB / 0.6667 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4544, allocations: 4 kB / 0.6667 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4544, allocations: 0 / 0.6667 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.4544, allocations: 0 / 0.6667 GB, free: 6.051 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.0002467/0.4547, allocations: 331.1 kB / 0.667 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.4547, allocations: 12.91 kB / 0.667 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.4548, allocations: 2 kB / 0.667 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.174e-05/0.4548, allocations: 160.4 kB / 0.6672 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.4548, allocations: 1.531 kB / 0.6672 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.612e-06/0.4549, allocations: 4.312 kB / 0.6672 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.347e-05/0.4549, allocations: 40.7 kB / 0.6672 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.455, allocations: 0 / 0.6672 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.455, allocations: 0 / 0.6672 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.455, allocations: 0 / 0.6672 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.038e-05/0.455, allocations: 6.266 kB / 0.6672 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001017/0.4551, allocations: 151.1 kB / 0.6674 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.131e-05/0.4552, allocations: 19.88 kB / 0.6674 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.439e-05/0.4552, allocations: 9.922 kB / 0.6674 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004031/0.4556, allocations: 0.5624 MB / 0.6679 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.4556, allocations: 40.06 kB / 0.668 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.4556, allocations: 3.938 kB / 0.668 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001228/0.4557, allocations: 31.45 kB / 0.668 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.4558, allocations: 51.41 kB / 0.6681 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.854e-05/0.4558, allocations: 93.98 kB / 0.6681 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.674e-06/0.4558, allocations: 26.98 kB / 0.6682 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.265e-05/0.4558, allocations: 80.14 kB / 0.6682 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.4559, allocations: 3.953 kB / 0.6682 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.4559, allocations: 12.25 kB / 0.6683 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.49e-05/0.4559, allocations: 318.8 kB / 0.6686 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-06/0.4559, allocations: 5.5 kB / 0.6686 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-06/0.456, allocations: 1.406 kB / 0.6686 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.483e-05/0.456, allocations: 11.61 kB / 0.6686 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.456, allocations: 0 / 0.6686 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.951e-05/0.456, allocations: 32.3 kB / 0.6686 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.4561, allocations: 9.531 kB / 0.6686 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4561, allocations: 0 / 0.6686 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.4561, allocations: 0 / 0.6686 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.928e-05/0.4561, allocations: 1.594 kB / 0.6686 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.4561, allocations: 3.984 kB / 0.6686 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.042e-05/0.4561, allocations: 1.188 kB / 0.6686 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.4562, allocations: 4.031 kB / 0.6686 GB, free: 3.777 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 3.982e-05/0.4562, allocations: 115 kB / 0.6687 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-06/0.4562, allocations: 5.094 kB / 0.6687 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.091e-05/0.4563, allocations: 33.77 kB / 0.6688 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4563, allocations: 5.047 kB / 0.6688 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.4563, allocations: 0 / 0.6688 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.4563, allocations: 1.312 kB / 0.6688 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.67e-05/0.4564, allocations: 149.7 kB / 0.6689 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4564, allocations: 1.344 kB / 0.6689 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.461e-05/0.4564, allocations: 5.5 kB / 0.6689 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4564, allocations: 3.938 kB / 0.6689 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.4564, allocations: 1.344 kB / 0.6689 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4564, allocations: 0 / 0.6689 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.4564, allocations: 0 / 0.6689 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.861e-05/0.4565, allocations: 59.38 kB / 0.669 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.634e-05/0.4565, allocations: 82.27 kB / 0.6691 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.4565, allocations: 8.812 kB / 0.6691 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.698e-06/0.4565, allocations: 4 kB / 0.6691 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.4565, allocations: 1.438 kB / 0.6691 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.4566, allocations: 0 / 0.6691 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.436e-05/0.4566, allocations: 84.36 kB / 0.6692 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4566, allocations: 0 / 0.6692 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001983/0.4568, allocations: 9 kB / 0.6692 GB, free: 3.141 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.0001577/0.4569, allocations: 108.6 kB / 0.6693 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.418e-05/0.457, allocations: 3.719 kB / 0.6693 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.457, allocations: 0 / 0.6693 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.724e-06/0.457, allocations: 6.75 kB / 0.6693 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.4572, allocations: 1.125 kB / 0.6693 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001424/0.4573, allocations: 82.23 kB / 0.6694 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.907e-05/0.4574, allocations: 0.6701 MB / 0.67 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.759e-05/0.4574, allocations: 5.438 kB / 0.67 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.148e-05/0.4575, allocations: 8.875 kB / 0.67 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.4575, allocations: 0 / 0.67 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of Templates: time 0.002127/0.4596, allocations: 295.8 kB / 0.6703 GB, free: 2.074 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)