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.0009218/0.0009213, allocations: 91.86 kB / 15.36 MB, free: 0.7422 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.008508/0.008509, allocations: 179.3 kB / 16.26 MB, free: 6.605 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.739/1.739, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.444/0.444, allocations: 55.02 MB / 325.8 MB, free: 0.5508 MB / 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.0006505/0.0006506, allocations: 12 kB / 397.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4123, allocations: 60.72 MB / 458 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.Splice): time 0.00165/0.414, allocations: 1.196 MB / 459.2 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009462/0.415, allocations: 0.6684 MB / 459.8 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.775e-05/0.415, allocations: 1.094 kB / 459.8 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.574e-05/0.4151, allocations: 0 / 459.8 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.018e-05/0.4151, allocations: 4.5 kB / 459.8 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.4154, allocations: 52.97 kB / 459.9 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.325e-05/0.4155, allocations: 40.22 kB / 459.9 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.4156, allocations: 13.16 kB / 459.9 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.594e-05/0.4157, allocations: 21.39 kB / 460 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.753e-05/0.4157, allocations: 16.69 kB / 460 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.4158, allocations: 0 / 460 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.4159, allocations: 88.14 kB / 460.1 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.4159, allocations: 10.36 kB / 460.1 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.416, allocations: 35.89 kB / 460.1 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.4161, allocations: 86.52 kB / 460.2 MB, free: 38.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4161, allocations: 3.531 kB / 460.2 MB, free: 38.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4161, allocations: 0.5625 kB / 460.2 MB, free: 38.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.4161, allocations: 0.5938 kB / 460.2 MB, free: 38.27 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.0003691/0.4165, allocations: 353.2 kB / 460.5 MB, free: 37.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.4166, allocations: 10.25 kB / 460.6 MB, free: 37.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.4166, allocations: 4.812 kB / 460.6 MB, free: 37.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.514e-05/0.4167, allocations: 173 kB / 460.7 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.4167, allocations: 5.25 kB / 460.7 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.4167, allocations: 12.14 kB / 460.7 MB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.4169, allocations: 51.61 kB / 460.8 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.4169, allocations: 2.656 kB / 460.8 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.4169, allocations: 0 / 460.8 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.4169, allocations: 0.9375 kB / 460.8 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.924e-05/0.417, allocations: 35 kB / 460.8 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.4174, allocations: 280.5 kB / 461.1 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.041e-05/0.4175, allocations: 34.42 kB / 461.1 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.472e-05/0.4175, allocations: 19.39 kB / 461.2 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003294/0.4178, allocations: 0.5561 MB / 461.7 MB, free: 36.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.4179, allocations: 40.06 kB / 461.8 MB, free: 36.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.713e-06/0.4179, allocations: 0 / 461.8 MB, free: 36.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.000237/0.4181, allocations: 71.8 kB / 461.8 MB, free: 36.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.4182, allocations: 59.69 kB / 461.9 MB, free: 36.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.664e-05/0.4182, allocations: 122.6 kB / 462 MB, free: 36.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.4183, allocations: 25.7 kB / 462 MB, free: 36.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/0.4183, allocations: 94.08 kB / 462.1 MB, free: 36.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.4183, allocations: 7.375 kB / 462.1 MB, free: 36.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.887e-05/0.4183, allocations: 13.66 kB / 462.1 MB, free: 36.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.04e-05/0.4184, allocations: 315.5 kB / 462.4 MB, free: 36.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.973e-05/0.4184, allocations: 13.45 kB / 462.5 MB, free: 36.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.212e-05/0.4185, allocations: 10.25 kB / 462.5 MB, free: 36.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.301e-05/0.4186, allocations: 35.38 kB / 462.5 MB, free: 36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4186, allocations: 0 / 462.5 MB, free: 36 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001084/0.4187, allocations: 58.64 kB / 462.6 MB, free: 35.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.4187, allocations: 5.906 kB / 462.6 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.4187, allocations: 0 / 462.6 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.4187, allocations: 0.5938 kB / 462.6 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.719e-05/0.4188, allocations: 10.41 kB / 462.6 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.4188, allocations: 1.312 kB / 462.6 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.454e-05/0.4189, allocations: 11.72 kB / 462.6 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.4189, allocations: 2.875 kB / 462.6 MB, free: 35.96 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.511e-05/0.4189, allocations: 114.1 kB / 462.7 MB, free: 35.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.419, allocations: 7.734 kB / 462.7 MB, free: 35.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.4191, allocations: 71.69 kB / 462.8 MB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.4191, allocations: 0 / 462.8 MB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4191, allocations: 1.125 kB / 462.8 MB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.4192, allocations: 4.828 kB / 462.8 MB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.4193, allocations: 165.5 kB / 462.9 MB, free: 35.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.4193, allocations: 1.062 kB / 463 MB, free: 35.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.802e-05/0.4193, allocations: 5.969 kB / 463 MB, free: 35.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.4193, allocations: 0 / 463 MB, free: 35.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.4194, allocations: 6.344 kB / 463 MB, free: 35.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4194, allocations: 2.219 kB / 463 MB, free: 35.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4194, allocations: 0 / 463 MB, free: 35.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.4195, allocations: 161.4 kB / 463.1 MB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.4195, allocations: 88.03 kB / 463.2 MB, free: 35.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.4196, allocations: 0 / 463.2 MB, free: 35.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.864e-05/0.4196, allocations: 3.094 kB / 463.2 MB, free: 35.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.76e-05/0.4197, allocations: 3.938 kB / 463.2 MB, free: 35.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.4197, allocations: 5.672 kB / 463.2 MB, free: 35.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.226e-05/0.4197, allocations: 102.9 kB / 463.3 MB, free: 35.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4197, allocations: 0 / 463.3 MB, free: 35.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002188/0.4199, allocations: 9.406 kB / 463.3 MB, free: 35.29 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.0001264/0.4201, allocations: 108.4 kB / 463.4 MB, free: 35.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001272/0.4202, allocations: 24.19 kB / 463.5 MB, free: 35.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4202, allocations: 0 / 463.5 MB, free: 35.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.601e-05/0.4203, allocations: 17.61 kB / 463.5 MB, free: 35.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.4205, allocations: 8.203 kB / 463.5 MB, free: 35.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002614/0.4208, allocations: 150.4 kB / 463.6 MB, free: 35.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.4209, allocations: 0.687 MB / 464.3 MB, free: 34.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.235e-05/0.4209, allocations: 3.656 kB / 464.3 MB, free: 34.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.623e-05/0.4209, allocations: 7.438 kB / 464.3 MB, free: 34.37 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4209, allocations: 0 / 464.3 MB, free: 34.37 MB / 382.1 MB Notification: Performance of Templates: time 0.002452/0.4234, allocations: 452.8 kB / 464.8 MB, free: 34.34 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Splice.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: