Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 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.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.Splice") translateModel(Annex60.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.01183/0.01183, allocations: 101.5 kB / 15.73 MB, free: 5.953 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.002371/0.002371, allocations: 192.2 kB / 16.67 MB, free: 5.883 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.602/1.602, allocations: 205.1 MB / 222.5 MB, free: 4.352 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.485/0.485, allocations: 54.95 MB / 324.8 MB, free: 44 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.00158/0.00158, allocations: 72.03 kB / 456.3 MB, free: 38.1 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1621, allocations: 59.59 MB / 0.5038 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.Splice): time 0.002554/0.1647, allocations: 1.462 MB / 0.5052 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1658, allocations: 0.6813 MB / 0.5059 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.915e-05/0.1658, allocations: 1.25 kB / 0.5059 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.1659, allocations: 3.938 kB / 0.5059 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.827e-05/0.1659, allocations: 8.984 kB / 0.5059 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.1663, allocations: 81.05 kB / 0.506 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.889e-05/0.1664, allocations: 34.27 kB / 0.506 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.1665, allocations: 10.94 kB / 0.506 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.87e-05/0.1666, allocations: 22.28 kB / 0.5061 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.246e-05/0.1667, allocations: 16.02 kB / 0.5061 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.1667, allocations: 2.719 kB / 0.5061 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.1669, allocations: 102 kB / 0.5062 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.167, allocations: 9.062 kB / 0.5062 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.167, allocations: 15.97 kB / 0.5062 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.1672, allocations: 76.81 kB / 0.5063 GB, free: 7.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1672, allocations: 0 / 0.5063 GB, free: 7.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1672, allocations: 0 / 0.5063 GB, free: 7.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.1672, allocations: 1.281 kB / 0.5063 GB, free: 7.578 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004816/0.1677, allocations: 368.6 kB / 0.5066 GB, free: 7.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1678, allocations: 9.031 kB / 0.5066 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.1678, allocations: 4.031 kB / 0.5066 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.1679, allocations: 178.8 kB / 0.5068 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.168, allocations: 1.469 kB / 0.5068 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.168, allocations: 10.09 kB / 0.5068 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.1682, allocations: 55.64 kB / 0.5069 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1682, allocations: 0 / 0.5069 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.1682, allocations: 4 kB / 0.5069 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.1682, allocations: 2.125 kB / 0.5069 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.1683, allocations: 22.27 kB / 0.5069 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.1687, allocations: 279.5 kB / 0.5072 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.775e-05/0.1688, allocations: 35.59 kB / 0.5072 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.643e-05/0.1689, allocations: 15.2 kB / 0.5072 GB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003528/0.1692, allocations: 0.5561 MB / 0.5078 GB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.1693, allocations: 39.78 kB / 0.5078 GB, free: 5.844 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1693, allocations: 0 / 0.5078 GB, free: 5.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002542/0.1695, allocations: 67.42 kB / 0.5079 GB, free: 5.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.1696, allocations: 52.78 kB / 0.5079 GB, free: 5.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.5e-05/0.1697, allocations: 134.1 kB / 0.508 GB, free: 5.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.1697, allocations: 25.7 kB / 0.5081 GB, free: 5.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.315e-05/0.1697, allocations: 86.89 kB / 0.5081 GB, free: 5.488 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.1697, allocations: 8.031 kB / 0.5081 GB, free: 5.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.1698, allocations: 20.45 kB / 0.5082 GB, free: 5.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.985e-05/0.1698, allocations: 312.2 kB / 0.5085 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.117e-05/0.1699, allocations: 13.48 kB / 0.5085 GB, free: 5.137 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.172e-05/0.1699, allocations: 6.875 kB / 0.5085 GB, free: 5.137 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.484e-05/0.17, allocations: 29.22 kB / 0.5085 GB, free: 5.117 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.17, allocations: 4.062 kB / 0.5085 GB, free: 5.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001074/0.1701, allocations: 59.41 kB / 0.5086 GB, free: 5.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1701, allocations: 9.484 kB / 0.5086 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1702, allocations: 0 / 0.5086 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1702, allocations: 0 / 0.5086 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.987e-05/0.1702, allocations: 4.125 kB / 0.5086 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1703, allocations: 5.312 kB / 0.5086 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.247e-05/0.1703, allocations: 5.312 kB / 0.5086 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.1703, allocations: 1.375 kB / 0.5086 GB, free: 5.055 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 (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.43e-05/0.1704, allocations: 116.6 kB / 0.5087 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.1704, allocations: 5.281 kB / 0.5087 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/0.1706, allocations: 67.08 kB / 0.5088 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1706, allocations: 0 / 0.5088 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.1706, allocations: 7.875 kB / 0.5088 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1706, allocations: 1.375 kB / 0.5088 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.1707, allocations: 168.6 kB / 0.5089 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1707, allocations: 0 / 0.5089 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.909e-05/0.1708, allocations: 9.531 kB / 0.509 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1708, allocations: 0 / 0.509 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.1708, allocations: 1.375 kB / 0.509 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1708, allocations: 3.984 kB / 0.509 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1708, allocations: 3.938 kB / 0.509 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.171, allocations: 146.8 kB / 0.5091 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.58e-05/0.171, allocations: 82.39 kB / 0.5092 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.171, allocations: 7.969 kB / 0.5092 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.187e-05/0.1711, allocations: 5.359 kB / 0.5092 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.1711, allocations: 5.312 kB / 0.5092 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.1711, allocations: 1.375 kB / 0.5092 GB, free: 4.391 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.245e-05/0.1712, allocations: 98.27 kB / 0.5093 GB, free: 4.305 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.613e-06/0.1712, allocations: 3.938 kB / 0.5093 GB, free: 4.301 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002268/0.1714, allocations: 12.19 kB / 0.5093 GB, free: 4.297 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 (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.0001452/0.1716, allocations: 106.5 kB / 0.5094 GB, free: 4.203 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001503/0.1717, allocations: 21.73 kB / 0.5094 GB, free: 4.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1717, allocations: 0 / 0.5094 GB, free: 4.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.211e-05/0.1718, allocations: 8.25 kB / 0.5094 GB, free: 4.195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.172, allocations: 5.375 kB / 0.5094 GB, free: 4.191 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003152/0.1723, allocations: 142.1 kB / 0.5096 GB, free: 4.055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.1725, allocations: 0.6836 MB / 0.5102 GB, free: 3.352 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.475e-05/0.1725, allocations: 2.75 kB / 0.5103 GB, free: 3.352 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.011e-05/0.1725, allocations: 8.812 kB / 0.5103 GB, free: 3.344 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1725, allocations: 1.375 kB / 0.5103 GB, free: 3.344 MB / 382.1 MB Notification: Performance of Templates: time 0.002946/0.1755, allocations: 498.6 kB / 0.5107 GB, free: 3.098 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Splice.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Splice.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.Splice.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.Splice.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.Splice.pipe 2>&1)