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.001348/0.001349, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.711/1.711, allocations: 205.1 MB / 222.4 MB, free: 4.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4557/0.4557, allocations: 54.95 MB / 324.7 MB, free: 8 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.001602/0.001602, allocations: 71.91 kB / 395.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1588, allocations: 59.59 MB / 455 MB, free: 132 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.Splice): time 0.2518/0.4107, allocations: 1.467 MB / 456.5 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009906/0.4117, allocations: 0.6679 MB / 457.1 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.386e-05/0.4118, allocations: 0 / 457.1 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.475e-05/0.4118, allocations: 9.141 kB / 457.1 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.546e-05/0.4119, allocations: 8.25 kB / 457.1 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004006/0.4123, allocations: 81.77 kB / 457.2 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.556e-05/0.4124, allocations: 33.28 kB / 457.2 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.4126, allocations: 14 kB / 457.3 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.991e-05/0.4127, allocations: 18.02 kB / 457.3 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.129e-05/0.4127, allocations: 17.84 kB / 457.3 MB, free: 38.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.4128, allocations: 8.406 kB / 457.3 MB, free: 38.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.4129, allocations: 91.47 kB / 457.4 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.413, allocations: 10.88 kB / 457.4 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.413, allocations: 18.5 kB / 457.4 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.4132, allocations: 84.38 kB / 457.5 MB, free: 38.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4132, allocations: 0 / 457.5 MB, free: 38.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4132, allocations: 0 / 457.5 MB, free: 38.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.4132, allocations: 2.781 kB / 457.5 MB, free: 38.64 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.0004789/0.4137, allocations: 357.5 kB / 457.9 MB, free: 38.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.4137, allocations: 11.25 kB / 457.9 MB, free: 38.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.4138, allocations: 12.44 kB / 457.9 MB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.435e-05/0.4139, allocations: 174.4 kB / 458.1 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.4139, allocations: 3.469 kB / 458.1 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.4139, allocations: 7.156 kB / 458.1 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.4141, allocations: 49.97 kB / 458.1 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.4141, allocations: 0.5312 kB / 458.1 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.4141, allocations: 4.047 kB / 458.1 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.4141, allocations: 0 / 458.1 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.529e-05/0.4142, allocations: 30.61 kB / 458.1 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.4145, allocations: 283 kB / 458.4 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.395e-05/0.4146, allocations: 33.3 kB / 458.5 MB, free: 37.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.375e-05/0.4147, allocations: 14.02 kB / 458.5 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003587/0.415, allocations: 0.5573 MB / 459 MB, free: 37.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.4151, allocations: 37.91 kB / 459.1 MB, free: 37.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4151, allocations: 0 / 459.1 MB, free: 37.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002351/0.4153, allocations: 67.23 kB / 459.1 MB, free: 37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.4153, allocations: 52.5 kB / 459.2 MB, free: 36.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.209e-05/0.4154, allocations: 131.1 kB / 459.3 MB, free: 36.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.754e-06/0.4154, allocations: 26.7 kB / 459.3 MB, free: 36.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.4155, allocations: 86.61 kB / 459.4 MB, free: 36.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.351e-05/0.4155, allocations: 3.906 kB / 459.4 MB, free: 36.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.4155, allocations: 20.12 kB / 459.4 MB, free: 36.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.96e-05/0.4156, allocations: 315.5 kB / 459.7 MB, free: 36.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.924e-05/0.4156, allocations: 12.61 kB / 459.8 MB, free: 36.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.013e-05/0.4157, allocations: 6.812 kB / 459.8 MB, free: 36.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.878e-05/0.4157, allocations: 32.19 kB / 459.8 MB, free: 36.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.4157, allocations: 0.5938 kB / 459.8 MB, free: 36.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001019/0.4158, allocations: 53.5 kB / 459.9 MB, free: 36.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.4159, allocations: 5.656 kB / 459.9 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.4159, allocations: 2.469 kB / 459.9 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.4159, allocations: 0 / 459.9 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.768e-05/0.416, allocations: 9.375 kB / 459.9 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.416, allocations: 0.9375 kB / 459.9 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.503e-05/0.416, allocations: 19.89 kB / 459.9 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.416, allocations: 0 / 459.9 MB, free: 36.34 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.229e-05/0.4161, allocations: 117.7 kB / 460 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.4161, allocations: 2.938 kB / 460 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.4163, allocations: 66.25 kB / 460.1 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.4163, allocations: 0.6562 kB / 460.1 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4163, allocations: 0 / 460.1 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4163, allocations: 4.938 kB / 460.1 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.4164, allocations: 167.5 kB / 460.2 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4164, allocations: 0 / 460.2 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.4165, allocations: 2.812 kB / 460.2 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.4165, allocations: 2.875 kB / 460.2 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.4165, allocations: 5.375 kB / 460.3 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4165, allocations: 1.125 kB / 460.3 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.4165, allocations: 0 / 460.3 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.4166, allocations: 155.9 kB / 460.4 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.944e-05/0.4167, allocations: 85.17 kB / 460.5 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.4167, allocations: 0 / 460.5 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.753e-05/0.4168, allocations: 6.234 kB / 460.5 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.4168, allocations: 3.938 kB / 460.5 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.4168, allocations: 3.625 kB / 460.5 MB, free: 35.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.511e-05/0.4169, allocations: 90.95 kB / 460.6 MB, free: 35.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4169, allocations: 3.562 kB / 460.6 MB, free: 35.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.4171, allocations: 16.59 kB / 460.6 MB, free: 35.69 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.0001254/0.4172, allocations: 106 kB / 460.7 MB, free: 35.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001323/0.4174, allocations: 21.41 kB / 460.7 MB, free: 35.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4174, allocations: 0 / 460.7 MB, free: 35.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.151e-05/0.4174, allocations: 14.7 kB / 460.7 MB, free: 35.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.4176, allocations: 4.531 kB / 460.8 MB, free: 35.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003005/0.418, allocations: 144.6 kB / 460.9 MB, free: 35.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.4181, allocations: 0.6814 MB / 461.6 MB, free: 34.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.538e-05/0.4181, allocations: 4.906 kB / 461.6 MB, free: 34.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.147e-05/0.4181, allocations: 19.44 kB / 461.6 MB, free: 34.79 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4182, allocations: 416 / 461.6 MB, free: 34.79 MB / 382.1 MB Notification: Performance of Templates: time 0.002686/0.4208, allocations: 498.6 kB / 462.1 MB, free: 34.75 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)