Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Annex60.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.007825/0.007825, allocations: 106.2 kB / 15.74 MB, free: 6 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.001755/0.001755, allocations: 198.2 kB / 16.68 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.1 MB / 222.5 MB, free: 4.328 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4197/0.4197, allocations: 54.94 MB / 324.9 MB, free: 4 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 77.84 kB / 456.2 MB, free: 38.26 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1646, allocations: 59.58 MB / 0.5037 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.SpliceFunction): time 0.00195/0.1666, allocations: 0.5296 MB / 0.5042 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.1678, allocations: 0.9725 MB / 0.5052 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.995e-05/0.1678, allocations: 1.375 kB / 0.5052 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.1679, allocations: 0 / 0.5052 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.775e-06/0.1679, allocations: 0 / 0.5052 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.1683, allocations: 61.75 kB / 0.5053 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.116e-05/0.1683, allocations: 6.688 kB / 0.5053 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.547e-05/0.1684, allocations: 9.344 kB / 0.5053 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.769e-05/0.1684, allocations: 0 / 0.5053 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.994e-05/0.1685, allocations: 1.375 kB / 0.5053 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.438e-06/0.1685, allocations: 4 kB / 0.5053 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.1687, allocations: 94.47 kB / 0.5054 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.117e-05/0.1687, allocations: 1.375 kB / 0.5054 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.148e-05/0.1688, allocations: 0 / 0.5054 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.1689, allocations: 49.94 kB / 0.5054 GB, free: 8.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.169, allocations: 0 / 0.5054 GB, free: 8.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.169, allocations: 0 / 0.5054 GB, free: 8.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.169, allocations: 0 / 0.5054 GB, free: 8.488 MB / 382.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.0004248/0.1694, allocations: 322.4 kB / 0.5057 GB, free: 8.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.1695, allocations: 8.25 kB / 0.5057 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.1695, allocations: 6.312 kB / 0.5057 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.494e-05/0.1696, allocations: 160.4 kB / 0.5059 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.1696, allocations: 4.359 kB / 0.5059 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.1696, allocations: 1.75 kB / 0.5059 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.1698, allocations: 34.95 kB / 0.5059 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1698, allocations: 0 / 0.5059 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.1698, allocations: 1.375 kB / 0.5059 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1698, allocations: 0 / 0.5059 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.403e-05/0.1698, allocations: 9.312 kB / 0.5059 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001334/0.17, allocations: 147.1 kB / 0.5061 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.451e-05/0.17, allocations: 21.31 kB / 0.5061 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.043e-05/0.1701, allocations: 6.234 kB / 0.5061 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005234/0.1706, allocations: 0.5614 MB / 0.5067 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.1706, allocations: 35.94 kB / 0.5067 GB, free: 6.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.483e-06/0.1706, allocations: 0 / 0.5067 GB, free: 6.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000165/0.1708, allocations: 39.12 kB / 0.5067 GB, free: 6.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.1708, allocations: 51.41 kB / 0.5068 GB, free: 6.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.555e-05/0.1709, allocations: 93.86 kB / 0.5069 GB, free: 6.738 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.1709, allocations: 27.08 kB / 0.5069 GB, free: 6.707 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.688e-05/0.1709, allocations: 80.14 kB / 0.507 GB, free: 6.625 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/0.1709, allocations: 0 / 0.507 GB, free: 6.625 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.171, allocations: 12.47 kB / 0.507 GB, free: 6.609 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.707e-05/0.171, allocations: 318.9 kB / 0.5073 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.23e-05/0.1711, allocations: 1.375 kB / 0.5073 GB, free: 6.289 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.897e-06/0.1711, allocations: 1.375 kB / 0.5073 GB, free: 6.289 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.296e-05/0.1711, allocations: 11.61 kB / 0.5073 GB, free: 6.277 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1711, allocations: 0 / 0.5073 GB, free: 6.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.878e-05/0.1712, allocations: 43.06 kB / 0.5073 GB, free: 6.234 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1712, allocations: 5.5 kB / 0.5073 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1712, allocations: 96 / 0.5073 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.1712, allocations: 5.375 kB / 0.5074 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.802e-05/0.1713, allocations: 1.375 kB / 0.5074 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1713, allocations: 0 / 0.5074 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.37e-05/0.1713, allocations: 5.375 kB / 0.5074 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1713, allocations: 0 / 0.5074 GB, free: 6.227 MB / 382.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 6.122e-05/0.1714, allocations: 107.2 kB / 0.5075 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-06/0.1714, allocations: 9.219 kB / 0.5075 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.1715, allocations: 50.25 kB / 0.5075 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1715, allocations: 0 / 0.5075 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1715, allocations: 0 / 0.5075 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1716, allocations: 9.297 kB / 0.5075 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.412e-05/0.1716, allocations: 145.7 kB / 0.5077 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1716, allocations: 1.375 kB / 0.5077 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.544e-05/0.1717, allocations: 5.312 kB / 0.5077 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.1717, allocations: 0 / 0.5077 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.1717, allocations: 1.375 kB / 0.5077 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1717, allocations: 0 / 0.5077 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1717, allocations: 4.031 kB / 0.5077 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.093e-05/0.1718, allocations: 56.02 kB / 0.5077 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.773e-05/0.1718, allocations: 85.03 kB / 0.5078 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.1718, allocations: 1.375 kB / 0.5078 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.117e-06/0.1718, allocations: 0 / 0.5078 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.1719, allocations: 1.375 kB / 0.5078 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.1719, allocations: 0 / 0.5078 GB, free: 5.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.276e-05/0.1719, allocations: 84.62 kB / 0.5079 GB, free: 5.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1719, allocations: 0 / 0.5079 GB, free: 5.598 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002001/0.1721, allocations: 4.125 kB / 0.5079 GB, free: 5.598 MB / 382.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.0001989/0.1723, allocations: 107.9 kB / 0.508 GB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001101/0.1724, allocations: 8.125 kB / 0.508 GB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1724, allocations: 0 / 0.508 GB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.837e-06/0.1724, allocations: 2.75 kB / 0.508 GB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.1726, allocations: 1.5 kB / 0.508 GB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000224/0.1728, allocations: 85.12 kB / 0.5081 GB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.173, allocations: 0.6767 MB / 0.5088 GB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.046e-05/0.173, allocations: 1.375 kB / 0.5088 GB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.56e-05/0.1731, allocations: 8.812 kB / 0.5088 GB, free: 4.684 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1731, allocations: 0 / 0.5088 GB, free: 4.684 MB / 382.1 MB Notification: Performance of Templates: time 0.002855/0.1759, allocations: 304.4 kB / 0.5091 GB, free: 4.516 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)