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.009125/0.009124, allocations: 100.2 kB / 15.73 MB, free: 6.031 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.00159/0.00159, allocations: 183.9 kB / 16.67 MB, free: 5.965 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.557/1.557, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4424/0.4424, allocations: 54.94 MB / 324.8 MB, free: 15.99 MB / 270.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.001513/0.001513, allocations: 70.8 kB / 456.2 MB, free: 38.23 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1486, allocations: 59.59 MB / 0.5037 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.Splice): time 0.002586/0.1513, allocations: 1.45 MB / 0.5051 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.1523, allocations: 0.6857 MB / 0.5058 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.564e-05/0.1524, allocations: 0 / 0.5058 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/0.1524, allocations: 5.312 kB / 0.5058 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.699e-05/0.1525, allocations: 3.938 kB / 0.5058 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.1529, allocations: 81.27 kB / 0.5059 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.301e-05/0.153, allocations: 41.83 kB / 0.5059 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1531, allocations: 18.31 kB / 0.5059 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.728e-05/0.1532, allocations: 14.62 kB / 0.5059 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.526e-05/0.1533, allocations: 17.17 kB / 0.506 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.1533, allocations: 2.812 kB / 0.506 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.1534, allocations: 93.86 kB / 0.5061 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.1535, allocations: 13.12 kB / 0.5061 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.1535, allocations: 15.77 kB / 0.5061 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.1537, allocations: 83.95 kB / 0.5062 GB, free: 7.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1537, allocations: 1.5 kB / 0.5062 GB, free: 7.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1537, allocations: 0 / 0.5062 GB, free: 7.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.1537, allocations: 0 / 0.5062 GB, free: 7.82 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.0004324/0.1541, allocations: 364.8 kB / 0.5065 GB, free: 7.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1542, allocations: 9.625 kB / 0.5065 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.1542, allocations: 3.688 kB / 0.5065 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.312e-05/0.1543, allocations: 171 kB / 0.5067 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.1543, allocations: 9.75 kB / 0.5067 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.1544, allocations: 9.297 kB / 0.5067 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.1545, allocations: 51.44 kB / 0.5068 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.1545, allocations: 0 / 0.5068 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.1545, allocations: 0 / 0.5068 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.1545, allocations: 1.375 kB / 0.5068 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.049e-05/0.1546, allocations: 23.11 kB / 0.5068 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003399/0.155, allocations: 286.5 kB / 0.5071 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.979e-05/0.1551, allocations: 32.14 kB / 0.5071 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.551e-05/0.1551, allocations: 19.72 kB / 0.5071 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003676/0.1555, allocations: 0.5563 MB / 0.5076 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.1555, allocations: 39.88 kB / 0.5077 GB, free: 6.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.1555, allocations: 0 / 0.5077 GB, free: 6.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002445/0.1558, allocations: 63.67 kB / 0.5077 GB, free: 6.043 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.1558, allocations: 52.78 kB / 0.5078 GB, free: 5.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.325e-05/0.1559, allocations: 124.8 kB / 0.5079 GB, free: 5.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.123e-06/0.1559, allocations: 27.08 kB / 0.5079 GB, free: 5.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.806e-05/0.156, allocations: 93.5 kB / 0.508 GB, free: 5.738 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.156, allocations: 5.406 kB / 0.508 GB, free: 5.734 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.156, allocations: 16.47 kB / 0.5081 GB, free: 5.715 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.474e-05/0.1561, allocations: 320.2 kB / 0.5084 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.991e-05/0.1561, allocations: 5.5 kB / 0.5084 GB, free: 5.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.354e-05/0.1562, allocations: 17.48 kB / 0.5084 GB, free: 5.383 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.392e-05/0.1562, allocations: 29.16 kB / 0.5084 GB, free: 5.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1563, allocations: 1.375 kB / 0.5084 GB, free: 5.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001103/0.1564, allocations: 58.16 kB / 0.5085 GB, free: 5.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1564, allocations: 5.5 kB / 0.5085 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1564, allocations: 1.375 kB / 0.5085 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.1564, allocations: 0 / 0.5085 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.413e-05/0.1565, allocations: 8.109 kB / 0.5085 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.1565, allocations: 3.938 kB / 0.5085 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.656e-05/0.1566, allocations: 6.688 kB / 0.5085 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.1566, allocations: 1.375 kB / 0.5085 GB, free: 5.305 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 0.0001047/0.1567, allocations: 115.2 kB / 0.5086 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.1567, allocations: 6.656 kB / 0.5086 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001953/0.1569, allocations: 61.64 kB / 0.5087 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.157, allocations: 1.375 kB / 0.5087 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.157, allocations: 3.938 kB / 0.5087 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.157, allocations: 0 / 0.5087 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.1572, allocations: 169.9 kB / 0.5088 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1572, allocations: 0 / 0.5088 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/0.1572, allocations: 12.14 kB / 0.5088 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1572, allocations: 1.375 kB / 0.5088 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.1572, allocations: 0 / 0.5088 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1573, allocations: 1.375 kB / 0.5088 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1573, allocations: 3.938 kB / 0.5088 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.1575, allocations: 153.3 kB / 0.509 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.1575, allocations: 82.39 kB / 0.5091 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.1575, allocations: 5.406 kB / 0.5091 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.307e-05/0.1576, allocations: 1.375 kB / 0.5091 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.1577, allocations: 13.19 kB / 0.5091 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.1577, allocations: 5.359 kB / 0.5091 GB, free: 4.637 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.233e-05/0.1577, allocations: 94.28 kB / 0.5092 GB, free: 4.555 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1577, allocations: 0 / 0.5092 GB, free: 4.555 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.158, allocations: 12.23 kB / 0.5092 GB, free: 4.551 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.0002297/0.1582, allocations: 97.89 kB / 0.5093 GB, free: 4.465 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.1584, allocations: 27.11 kB / 0.5093 GB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1585, allocations: 0 / 0.5093 GB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.954e-05/0.1585, allocations: 20.17 kB / 0.5093 GB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.1588, allocations: 1.375 kB / 0.5093 GB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.1591, allocations: 137 kB / 0.5095 GB, free: 4.309 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/0.1593, allocations: 0.6851 MB / 0.5101 GB, free: 3.605 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.768e-05/0.1593, allocations: 10.7 kB / 0.5101 GB, free: 3.598 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.991e-05/0.1593, allocations: 8.938 kB / 0.5102 GB, free: 3.59 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1593, allocations: 0 / 0.5102 GB, free: 3.59 MB / 382.1 MB Notification: Performance of Templates: time 0.002819/0.1622, allocations: 487.8 kB / 0.5106 GB, free: 3.352 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)