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.006525/0.006525, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001262/0.001262, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.565/1.565, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4074/0.4074, allocations: 54.95 MB / 324.9 MB, free: 24 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.001491/0.001491, allocations: 66.64 kB / 456.3 MB, free: 38.53 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1355, allocations: 59.59 MB / 0.5038 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.Splice): time 0.00267/0.1382, allocations: 1.455 MB / 0.5052 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.1394, allocations: 0.6832 MB / 0.5059 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/0.1395, allocations: 0 / 0.5059 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.256e-05/0.1395, allocations: 1.406 kB / 0.5059 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.8e-05/0.1396, allocations: 15.84 kB / 0.5059 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.14, allocations: 69.22 kB / 0.506 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.085e-05/0.1401, allocations: 45.62 kB / 0.506 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.1402, allocations: 11.97 kB / 0.506 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.965e-05/0.1403, allocations: 21.56 kB / 0.5061 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.881e-05/0.1403, allocations: 15.8 kB / 0.5061 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1404, allocations: 3.562 kB / 0.5061 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.1405, allocations: 93.81 kB / 0.5062 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.1406, allocations: 13.36 kB / 0.5062 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.1406, allocations: 16.12 kB / 0.5062 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.1408, allocations: 79.66 kB / 0.5063 GB, free: 7.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.1408, allocations: 1.219 kB / 0.5063 GB, free: 7.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1408, allocations: 0 / 0.5063 GB, free: 7.824 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1408, allocations: 0 / 0.5063 GB, free: 7.824 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.000438/0.1413, allocations: 360.6 kB / 0.5066 GB, free: 7.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.1413, allocations: 10.44 kB / 0.5066 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.1413, allocations: 2.375 kB / 0.5066 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.602e-05/0.1414, allocations: 179.4 kB / 0.5068 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.1415, allocations: 9.875 kB / 0.5068 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.1415, allocations: 6.625 kB / 0.5068 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.1417, allocations: 58.42 kB / 0.5069 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1417, allocations: 4 kB / 0.5069 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1417, allocations: 3.938 kB / 0.5069 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.1417, allocations: 1.844 kB / 0.5069 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.496e-05/0.1418, allocations: 26.12 kB / 0.5069 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.1422, allocations: 279.8 kB / 0.5072 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.702e-05/0.1423, allocations: 36.02 kB / 0.5072 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.893e-05/0.1423, allocations: 19.59 kB / 0.5072 GB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003843/0.1427, allocations: 0.5524 MB / 0.5078 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.1427, allocations: 30.56 kB / 0.5078 GB, free: 6.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.432e-06/0.1428, allocations: 5.375 kB / 0.5078 GB, free: 6.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.000262/0.143, allocations: 63.67 kB / 0.5079 GB, free: 6.039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.1431, allocations: 51.41 kB / 0.5079 GB, free: 5.977 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.829e-05/0.1432, allocations: 134.1 kB / 0.508 GB, free: 5.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.1432, allocations: 25.7 kB / 0.5081 GB, free: 5.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.46e-05/0.1432, allocations: 90.89 kB / 0.5081 GB, free: 5.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.1432, allocations: 5.281 kB / 0.5082 GB, free: 5.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.1433, allocations: 16.59 kB / 0.5082 GB, free: 5.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.898e-05/0.1433, allocations: 320.2 kB / 0.5085 GB, free: 5.387 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.019e-05/0.1434, allocations: 5.5 kB / 0.5085 GB, free: 5.387 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.444e-05/0.1434, allocations: 13.48 kB / 0.5085 GB, free: 5.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.237e-05/0.1435, allocations: 25.22 kB / 0.5085 GB, free: 5.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1435, allocations: 0 / 0.5085 GB, free: 5.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001049/0.1436, allocations: 59.53 kB / 0.5086 GB, free: 5.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1436, allocations: 5.5 kB / 0.5086 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1436, allocations: 0 / 0.5086 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1437, allocations: 5.312 kB / 0.5086 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.249e-05/0.1437, allocations: 8.109 kB / 0.5086 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.1437, allocations: 3.938 kB / 0.5086 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.575e-05/0.1438, allocations: 6.688 kB / 0.5086 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1438, allocations: 0 / 0.5086 GB, free: 5.301 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.797e-05/0.1439, allocations: 116.6 kB / 0.5087 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.1439, allocations: 6.656 kB / 0.5087 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.1441, allocations: 61.7 kB / 0.5088 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1441, allocations: 1.375 kB / 0.5088 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1441, allocations: 3.938 kB / 0.5088 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1441, allocations: 0 / 0.5088 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.1442, allocations: 165.9 kB / 0.5089 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1442, allocations: 0 / 0.5089 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.018e-05/0.1443, allocations: 8.062 kB / 0.5089 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1443, allocations: 5.406 kB / 0.509 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.1443, allocations: 0 / 0.509 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1443, allocations: 0 / 0.509 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1443, allocations: 5.312 kB / 0.509 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.1444, allocations: 153.3 kB / 0.5091 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.206e-05/0.1445, allocations: 86.23 kB / 0.5092 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.1445, allocations: 1.219 kB / 0.5092 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.984e-05/0.1445, allocations: 8.969 kB / 0.5092 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.1446, allocations: 9.266 kB / 0.5092 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.1446, allocations: 1.125 kB / 0.5092 GB, free: 4.637 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.031e-05/0.1446, allocations: 102.1 kB / 0.5093 GB, free: 4.547 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1446, allocations: 1.406 kB / 0.5093 GB, free: 4.547 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002203/0.1449, allocations: 8.219 kB / 0.5093 GB, free: 4.547 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.0001325/0.145, allocations: 101.4 kB / 0.5094 GB, free: 4.457 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.1452, allocations: 29.73 kB / 0.5094 GB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1452, allocations: 1.406 kB / 0.5094 GB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.296e-05/0.1452, allocations: 14.8 kB / 0.5095 GB, free: 4.434 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.1454, allocations: 2.531 kB / 0.5095 GB, free: 4.434 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002673/0.1457, allocations: 137.4 kB / 0.5096 GB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.1458, allocations: 0.6841 MB / 0.5103 GB, free: 3.598 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.643e-05/0.1459, allocations: 6.781 kB / 0.5103 GB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.1459, allocations: 8.719 kB / 0.5103 GB, free: 3.586 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1459, allocations: 0 / 0.5103 GB, free: 3.586 MB / 382.1 MB Notification: Performance of Templates: time 0.002697/0.1486, allocations: 496.7 kB / 0.5107 GB, free: 3.191 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)