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/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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/Annex60 1.0.0/package.mo): time 0.4076/0.4076, allocations: 55.01 MB / 69.96 MB, free: 8.676 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001588/0.001588, allocations: 180.1 kB / 83.97 MB, free: 10.86 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.817/1.817, allocations: 194.4 MB / 292.3 MB, free: 3.605 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00174/0.00174, allocations: 116.1 kB / 350.7 MB, free: 9.117 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.0003709, allocations: 16 kB / 418.9 MB, free: 37.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1194, allocations: 57.65 MB / 476.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4026/0.5221, allocations: 86.74 MB / 0.5501 GB, free: 2.688 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.5224, allocations: 80.25 kB / 0.5501 GB, free: 2.641 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004852/0.5273, allocations: 1.775 MB / 0.5519 GB, free: 1.086 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.5273, allocations: 3.719 kB / 0.5519 GB, free: 1.086 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.5273, allocations: 4 kB / 0.5519 GB, free: 1.082 MB / 362.7 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.0002897/0.5276, allocations: 378 kB / 0.5522 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.5277, allocations: 12.03 kB / 0.5522 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.5277, allocations: 3.25 kB / 0.5522 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.802e-05/0.5278, allocations: 171 kB / 0.5524 GB, free: 464 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.5278, allocations: 3.938 kB / 0.5524 GB, free: 460 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.5278, allocations: 4 kB / 0.5524 GB, free: 456 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.528, allocations: 60.95 kB / 0.5525 GB, free: 396 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.528, allocations: 0 / 0.5525 GB, free: 396 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.528, allocations: 0 / 0.5525 GB, free: 396 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.528, allocations: 0 / 0.5525 GB, free: 396 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.464e-05/0.5281, allocations: 39.02 kB / 0.5525 GB, free: 364 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003063/0.5284, allocations: 289.3 kB / 0.5528 GB, free: 40 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.5285, allocations: 25.89 kB / 0.5528 GB, free: 8 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004956/0.529, allocations: 0.5623 MB / 0.5534 GB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.5291, allocations: 38.5 kB / 0.5534 GB, free: 15.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.5291, allocations: 0 / 0.5534 GB, free: 15.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002678/0.5294, allocations: 65.38 kB / 0.5535 GB, free: 15.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.5294, allocations: 51.41 kB / 0.5535 GB, free: 15.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.557e-05/0.5295, allocations: 115.7 kB / 0.5536 GB, free: 15.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.5295, allocations: 25.7 kB / 0.5536 GB, free: 15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.5296, allocations: 91.95 kB / 0.5537 GB, free: 14.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.5296, allocations: 11.73 kB / 0.5537 GB, free: 14.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.5296, allocations: 3.938 kB / 0.5537 GB, free: 14.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.5298, allocations: 318.2 kB / 0.554 GB, free: 14.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.097e-05/0.5298, allocations: 8 kB / 0.5541 GB, free: 14.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.559e-05/0.5299, allocations: 15.17 kB / 0.5541 GB, free: 14.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.493e-05/0.5299, allocations: 15.56 kB / 0.5541 GB, free: 14.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.5299, allocations: 3.953 kB / 0.5541 GB, free: 14.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001195/0.53, allocations: 61.28 kB / 0.5541 GB, free: 14.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.5301, allocations: 8 kB / 0.5542 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.5301, allocations: 3.984 kB / 0.5542 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.5301, allocations: 0 / 0.5542 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.422e-05/0.5302, allocations: 4 kB / 0.5542 GB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.5302, allocations: 4.031 kB / 0.5542 GB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.431e-05/0.5302, allocations: 4 kB / 0.5542 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.5302, allocations: 0 / 0.5542 GB, free: 14.46 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.07e-05/0.5303, allocations: 119.7 kB / 0.5543 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.5304, allocations: 7.859 kB / 0.5543 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.5305, allocations: 76.16 kB / 0.5544 GB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.5306, allocations: 0 / 0.5544 GB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.5306, allocations: 0 / 0.5544 GB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.5306, allocations: 0 / 0.5544 GB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.5308, allocations: 165.3 kB / 0.5545 GB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5308, allocations: 0 / 0.5545 GB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-05/0.5308, allocations: 11.89 kB / 0.5545 GB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.5308, allocations: 0 / 0.5545 GB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.5308, allocations: 4 kB / 0.5545 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.5309, allocations: 3 kB / 0.5545 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5309, allocations: 3.984 kB / 0.5545 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.531, allocations: 150.2 kB / 0.5547 GB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.5311, allocations: 85.02 kB / 0.5548 GB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.5311, allocations: 3.953 kB / 0.5548 GB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.127e-05/0.5312, allocations: 7.984 kB / 0.5548 GB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.5312, allocations: 4.031 kB / 0.5548 GB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.5312, allocations: 0 / 0.5548 GB, free: 13.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.047e-05/0.5313, allocations: 102.9 kB / 0.5549 GB, free: 13.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5313, allocations: 0 / 0.5549 GB, free: 13.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002151/0.5315, allocations: 11.94 kB / 0.5549 GB, free: 13.66 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001718/0.5317, allocations: 107.2 kB / 0.555 GB, free: 13.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001423/0.5319, allocations: 31.91 kB / 0.555 GB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5319, allocations: 0 / 0.555 GB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.52e-05/0.5319, allocations: 12 kB / 0.555 GB, free: 13.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.5321, allocations: 3.25 kB / 0.555 GB, free: 13.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.5324, allocations: 151.9 kB / 0.5552 GB, free: 13.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.5327, allocations: 0.6848 MB / 0.5559 GB, free: 12.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.09e-05/0.5328, allocations: 11.84 kB / 0.5559 GB, free: 12.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.982e-05/0.5328, allocations: 11.38 kB / 0.5559 GB, free: 12.61 MB / 378.7 MB Notification: Performance of SimCode: time 3.6e-07/0.5328, allocations: 0 / 0.5559 GB, free: 12.61 MB / 378.7 MB Notification: Performance of Templates: time 0.002389/0.5352, allocations: 425 kB / 0.5563 GB, free: 12.2 MB / 378.7 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)