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.01063/0.01063, allocations: 103.2 kB / 15.73 MB, free: 6.039 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.00265/0.002651, allocations: 193.3 kB / 16.67 MB, free: 5.953 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.522/1.522, allocations: 205.1 MB / 222.5 MB, free: 4.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4262/0.4262, allocations: 54.94 MB / 324.8 MB, free: 15.98 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.001453/0.001453, allocations: 65.92 kB / 456.2 MB, free: 38.34 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1386, allocations: 59.59 MB / 0.5037 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001647/0.1403, allocations: 0.539 MB / 0.5043 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1414, allocations: 0.9675 MB / 0.5052 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.132e-05/0.1414, allocations: 0 / 0.5052 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.1414, allocations: 1.375 kB / 0.5052 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.184e-06/0.1414, allocations: 0 / 0.5052 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.1418, allocations: 61.75 kB / 0.5053 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.007e-05/0.1419, allocations: 9.297 kB / 0.5053 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.217e-05/0.1419, allocations: 1.375 kB / 0.5053 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.492e-05/0.1419, allocations: 1.375 kB / 0.5053 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.804e-05/0.142, allocations: 5.375 kB / 0.5053 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.142, allocations: 4 kB / 0.5053 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.1422, allocations: 90.52 kB / 0.5054 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.1422, allocations: 1.375 kB / 0.5054 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.78e-05/0.1423, allocations: 0 / 0.5054 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.1424, allocations: 48.56 kB / 0.5054 GB, free: 8.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1424, allocations: 1.375 kB / 0.5054 GB, free: 8.531 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1424, allocations: 0 / 0.5054 GB, free: 8.531 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1424, allocations: 0 / 0.5054 GB, free: 8.531 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.0003271/0.1428, allocations: 321 kB / 0.5057 GB, free: 8.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.1428, allocations: 9.625 kB / 0.5057 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.1429, allocations: 10.25 kB / 0.5057 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.164e-05/0.1429, allocations: 160.4 kB / 0.5059 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.143, allocations: 384 / 0.5059 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.143, allocations: 5.734 kB / 0.5059 GB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.1431, allocations: 38.95 kB / 0.5059 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1431, allocations: 3.984 kB / 0.5059 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1431, allocations: 1.375 kB / 0.5059 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.1432, allocations: 0 / 0.5059 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.216e-05/0.1432, allocations: 1.375 kB / 0.5059 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001237/0.1433, allocations: 147.1 kB / 0.5061 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.639e-05/0.1434, allocations: 19.89 kB / 0.5061 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.957e-05/0.1434, allocations: 6.234 kB / 0.5061 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005106/0.1439, allocations: 0.5667 MB / 0.5067 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.1439, allocations: 35.94 kB / 0.5067 GB, free: 6.977 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1439, allocations: 0 / 0.5067 GB, free: 6.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000148/0.1441, allocations: 31.2 kB / 0.5067 GB, free: 6.945 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.1441, allocations: 59.34 kB / 0.5068 GB, free: 6.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.798e-05/0.1441, allocations: 89.86 kB / 0.5069 GB, free: 6.777 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.392e-06/0.1442, allocations: 29.64 kB / 0.5069 GB, free: 6.742 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.138e-05/0.1442, allocations: 81.52 kB / 0.507 GB, free: 6.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.1442, allocations: 0 / 0.507 GB, free: 6.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.1442, allocations: 16.58 kB / 0.507 GB, free: 6.641 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.762e-05/0.1443, allocations: 314.8 kB / 0.5073 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.087e-05/0.1443, allocations: 1.375 kB / 0.5073 GB, free: 6.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-06/0.1443, allocations: 1.375 kB / 0.5073 GB, free: 6.324 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.216e-05/0.1444, allocations: 11.61 kB / 0.5073 GB, free: 6.312 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1444, allocations: 0 / 0.5073 GB, free: 6.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.384e-05/0.1444, allocations: 35.14 kB / 0.5073 GB, free: 6.277 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1444, allocations: 5.5 kB / 0.5073 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1444, allocations: 4.094 kB / 0.5073 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1445, allocations: 9.297 kB / 0.5074 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.59e-05/0.1445, allocations: 5.375 kB / 0.5074 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.1445, allocations: 0 / 0.5074 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.341e-05/0.1445, allocations: 1.375 kB / 0.5074 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.1446, allocations: 0 / 0.5074 GB, free: 6.262 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 5.294e-05/0.1446, allocations: 107.2 kB / 0.5075 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-06/0.1446, allocations: 7.844 kB / 0.5075 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.278e-05/0.1447, allocations: 46.31 kB / 0.5075 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1447, allocations: 1.375 kB / 0.5075 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.1447, allocations: 0 / 0.5075 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1448, allocations: 3.938 kB / 0.5075 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.867e-05/0.1448, allocations: 143.1 kB / 0.5077 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.1448, allocations: 0 / 0.5077 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.462e-05/0.1448, allocations: 6.688 kB / 0.5077 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1449, allocations: 0 / 0.5077 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.1449, allocations: 1.375 kB / 0.5077 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1449, allocations: 7.922 kB / 0.5077 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1449, allocations: 4.031 kB / 0.5077 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.81e-05/0.1449, allocations: 56.02 kB / 0.5077 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.233e-05/0.145, allocations: 81.05 kB / 0.5078 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.145, allocations: 1.375 kB / 0.5078 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.616e-06/0.145, allocations: 0 / 0.5078 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.145, allocations: 5.359 kB / 0.5078 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-06/0.145, allocations: 0 / 0.5078 GB, free: 5.719 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.753e-05/0.145, allocations: 79.31 kB / 0.5079 GB, free: 5.641 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1451, allocations: 1.375 kB / 0.5079 GB, free: 5.641 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000194/0.1453, allocations: 4.125 kB / 0.5079 GB, free: 5.641 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.0001606/0.1454, allocations: 103.9 kB / 0.508 GB, free: 5.547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.437e-05/0.1455, allocations: 12.06 kB / 0.508 GB, free: 5.539 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1455, allocations: 0 / 0.508 GB, free: 5.539 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.936e-06/0.1455, allocations: 10.67 kB / 0.508 GB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.1457, allocations: 5.5 kB / 0.508 GB, free: 5.527 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001861/0.1459, allocations: 79.75 kB / 0.5081 GB, free: 5.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.146, allocations: 0.6703 MB / 0.5088 GB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.947e-05/0.146, allocations: 5.359 kB / 0.5088 GB, free: 4.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.366e-05/0.1461, allocations: 8.812 kB / 0.5088 GB, free: 4.723 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1461, allocations: 0 / 0.5088 GB, free: 4.723 MB / 382.1 MB Notification: Performance of Templates: time 0.002541/0.1486, allocations: 298.9 kB / 0.5091 GB, free: 4.562 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)