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.001552/0.001552, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001324/0.001324, allocations: 191.3 kB / 16.25 MB, free: 6.641 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.56/1.56, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4281/0.4281, allocations: 54.92 MB / 324.4 MB, free: 76 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.001744/0.001744, allocations: 67.91 kB / 394.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1395, allocations: 59.59 MB / 454.5 MB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.Splice): time 0.2356/0.3752, allocations: 1.524 MB / 456 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000948/0.3762, allocations: 0.666 MB / 456.6 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.934e-05/0.3763, allocations: 0 / 456.6 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.42e-05/0.3764, allocations: 0 / 456.6 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.443e-05/0.3764, allocations: 14.58 kB / 456.7 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.3768, allocations: 65.91 kB / 456.7 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.641e-05/0.3769, allocations: 36.16 kB / 456.8 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.377, allocations: 10.97 kB / 456.8 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.624e-05/0.3771, allocations: 21.08 kB / 456.8 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.155e-05/0.3771, allocations: 21.12 kB / 456.8 MB, free: 38.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.3771, allocations: 4.188 kB / 456.8 MB, free: 38.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.3773, allocations: 96.28 kB / 456.9 MB, free: 38.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.3773, allocations: 3.5 kB / 456.9 MB, free: 38.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.3773, allocations: 24.14 kB / 456.9 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.3775, allocations: 74.41 kB / 457 MB, free: 38.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3775, allocations: 0.9062 kB / 457 MB, free: 38.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3775, allocations: 0 / 457 MB, free: 38.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.3775, allocations: 1.031 kB / 457 MB, free: 38.61 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.0003731/0.3779, allocations: 364.3 kB / 457.4 MB, free: 38.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.378, allocations: 9.562 kB / 457.4 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.378, allocations: 10.16 kB / 457.4 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.508e-05/0.3781, allocations: 177.8 kB / 457.6 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.3781, allocations: 1.5 kB / 457.6 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.3781, allocations: 7.156 kB / 457.6 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.3783, allocations: 56.59 kB / 457.6 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.3783, allocations: 0 / 457.6 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.3783, allocations: 0.5625 kB / 457.6 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.3783, allocations: 4.609 kB / 457.6 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.536e-05/0.3784, allocations: 27.23 kB / 457.7 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.3787, allocations: 277.9 kB / 457.9 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.593e-05/0.3788, allocations: 32.05 kB / 458 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.367e-05/0.3789, allocations: 21 kB / 458 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003334/0.3792, allocations: 0.5546 MB / 458.5 MB, free: 37.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.3792, allocations: 38 kB / 458.6 MB, free: 37.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.3792, allocations: 0 / 458.6 MB, free: 37.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002309/0.3795, allocations: 70.05 kB / 458.6 MB, free: 36.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.04e-05/0.3795, allocations: 51.41 kB / 458.7 MB, free: 36.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.149e-05/0.3796, allocations: 128.2 kB / 458.8 MB, free: 36.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.3796, allocations: 25.7 kB / 458.8 MB, free: 36.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.661e-05/0.3796, allocations: 90.7 kB / 458.9 MB, free: 36.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/0.3796, allocations: 3.906 kB / 458.9 MB, free: 36.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.3797, allocations: 19.66 kB / 459 MB, free: 36.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.47e-05/0.3797, allocations: 313.5 kB / 459.3 MB, free: 36.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.849e-05/0.3798, allocations: 12.64 kB / 459.3 MB, free: 36.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.942e-05/0.3798, allocations: 8.656 kB / 459.3 MB, free: 36.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.613e-05/0.3799, allocations: 24.75 kB / 459.3 MB, free: 36.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3799, allocations: 1.969 kB / 459.3 MB, free: 36.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.768e-05/0.38, allocations: 59.48 kB / 459.4 MB, free: 36.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.38, allocations: 8.688 kB / 459.4 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.38, allocations: 0 / 459.4 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.38, allocations: 3.344 kB / 459.4 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.345e-05/0.3801, allocations: 2.906 kB / 459.4 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3801, allocations: 0.9375 kB / 459.4 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.546e-05/0.3802, allocations: 19.16 kB / 459.4 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.3802, allocations: 3.938 kB / 459.4 MB, free: 36.31 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.091e-05/0.3802, allocations: 113 kB / 459.5 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.3803, allocations: 4.906 kB / 459.5 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001404/0.3804, allocations: 64.44 kB / 459.6 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3804, allocations: 0 / 459.6 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3804, allocations: 0 / 459.6 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3804, allocations: 3.938 kB / 459.6 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.3806, allocations: 169.2 kB / 459.7 MB, free: 35.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3806, allocations: 0.625 kB / 459.7 MB, free: 35.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.756e-05/0.3806, allocations: 6.812 kB / 459.8 MB, free: 35.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3806, allocations: 0 / 459.8 MB, free: 35.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.3806, allocations: 0.5 kB / 459.8 MB, free: 35.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3806, allocations: 4 kB / 459.8 MB, free: 35.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3806, allocations: 3.469 kB / 459.8 MB, free: 35.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.3808, allocations: 155.2 kB / 459.9 MB, free: 35.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.3808, allocations: 82.27 kB / 460 MB, free: 35.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.3808, allocations: 2.844 kB / 460 MB, free: 35.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.165e-05/0.3809, allocations: 2.062 kB / 460 MB, free: 35.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.3809, allocations: 7.906 kB / 460 MB, free: 35.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.3809, allocations: 2.656 kB / 460 MB, free: 35.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.638e-05/0.381, allocations: 104.3 kB / 460.1 MB, free: 35.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.381, allocations: 0 / 460.1 MB, free: 35.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.3812, allocations: 8.375 kB / 460.1 MB, free: 35.66 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.0001204/0.3813, allocations: 106.1 kB / 460.2 MB, free: 35.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000125/0.3815, allocations: 30.05 kB / 460.3 MB, free: 35.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3815, allocations: 0 / 460.3 MB, free: 35.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.835e-05/0.3815, allocations: 12.09 kB / 460.3 MB, free: 35.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.3817, allocations: 3.375 kB / 460.3 MB, free: 35.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/0.382, allocations: 153.6 kB / 460.4 MB, free: 35.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.3822, allocations: 0.6815 MB / 461.1 MB, free: 34.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.541e-05/0.3822, allocations: 2.844 kB / 461.1 MB, free: 34.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.049e-05/0.3823, allocations: 10.34 kB / 461.1 MB, free: 34.75 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3823, allocations: 3.938 kB / 461.1 MB, free: 34.75 MB / 382.1 MB Notification: Performance of Templates: time 0.002535/0.3848, allocations: 468.1 kB / 461.6 MB, free: 34.71 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)