Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice") translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.005723/0.005723, allocations: 104.1 kB / 15.73 MB, free: 6.051 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.001087/0.001087, allocations: 196.2 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8188/0.8188, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 75.97 kB / 0.5856 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1842, allocations: 80.92 MB / 0.6646 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.003459/0.1877, allocations: 1.489 MB / 0.6661 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.1889, allocations: 0.6552 MB / 0.6667 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.189, allocations: 0 / 0.6667 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.553e-05/0.1891, allocations: 3.938 kB / 0.6667 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.108e-05/0.1891, allocations: 3.938 kB / 0.6667 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004268/0.1896, allocations: 79.72 kB / 0.6668 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.758e-05/0.1897, allocations: 31.92 kB / 0.6669 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.1898, allocations: 19.98 kB / 0.6669 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.659e-05/0.1899, allocations: 11.94 kB / 0.6669 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.357e-05/0.19, allocations: 19.92 kB / 0.6669 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.19, allocations: 0 / 0.6669 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.1902, allocations: 95.89 kB / 0.667 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.1902, allocations: 11.94 kB / 0.667 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.1903, allocations: 19.86 kB / 0.667 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.1905, allocations: 91.7 kB / 0.6671 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.1905, allocations: 0 / 0.6671 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1905, allocations: 0 / 0.6671 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.1905, allocations: 0 / 0.6671 GB, free: 3.234 MB / 0.4981 GB 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.0005496/0.1911, allocations: 363.4 kB / 0.6675 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.1912, allocations: 9.109 kB / 0.6675 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.731e-05/0.1912, allocations: 8.844 kB / 0.6675 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.1914, allocations: 160.4 kB / 0.6676 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1914, allocations: 8.359 kB / 0.6676 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.1914, allocations: 4.375 kB / 0.6676 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.1916, allocations: 58 kB / 0.6677 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.1916, allocations: 3.938 kB / 0.6677 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.1916, allocations: 3.938 kB / 0.6677 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1917, allocations: 0 / 0.6677 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.1918, allocations: 27.98 kB / 0.6677 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.1922, allocations: 280.7 kB / 0.668 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.32e-05/0.1923, allocations: 38.52 kB / 0.668 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.684e-05/0.1924, allocations: 12.91 kB / 0.668 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005171/0.1929, allocations: 0.5583 MB / 0.6686 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.1929, allocations: 30.56 kB / 0.6686 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.644e-06/0.1929, allocations: 0 / 0.6686 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002891/0.1932, allocations: 69.58 kB / 0.6687 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.1933, allocations: 51.41 kB / 0.6687 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.1934, allocations: 125.8 kB / 0.6689 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.1934, allocations: 25.7 kB / 0.6689 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.66e-05/0.1935, allocations: 92.12 kB / 0.669 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.1935, allocations: 11.78 kB / 0.669 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.1936, allocations: 17.84 kB / 0.669 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1937, allocations: 322.8 kB / 0.6693 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.694e-05/0.1937, allocations: 8 kB / 0.6693 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.901e-05/0.1938, allocations: 11.98 kB / 0.6693 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.135e-05/0.1939, allocations: 24.84 kB / 0.6693 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1939, allocations: 0 / 0.6693 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000135/0.194, allocations: 57.66 kB / 0.6694 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.194, allocations: 8 kB / 0.6694 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1941, allocations: 0 / 0.6694 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1941, allocations: 0 / 0.6694 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.909e-05/0.1942, allocations: 11.92 kB / 0.6694 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1942, allocations: 0 / 0.6694 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.988e-05/0.1942, allocations: 8 kB / 0.6694 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1942, allocations: 0 / 0.6694 GB, free: 0.5078 MB / 0.4981 GB 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 9.116e-05/0.1943, allocations: 113.8 kB / 0.6695 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.1944, allocations: 4.031 kB / 0.6695 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/0.1945, allocations: 61.2 kB / 0.6696 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1946, allocations: 3.938 kB / 0.6696 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1946, allocations: 4 kB / 0.6696 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.1946, allocations: 4 kB / 0.6696 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.1948, allocations: 169.6 kB / 0.6698 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1948, allocations: 0 / 0.6698 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.498e-05/0.1948, allocations: 7.984 kB / 0.6698 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1949, allocations: 0 / 0.6698 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.1949, allocations: 4.031 kB / 0.6698 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1949, allocations: 3.938 kB / 0.6698 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1949, allocations: 3.984 kB / 0.6698 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.1951, allocations: 155.4 kB / 0.6699 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.1951, allocations: 85.02 kB / 0.67 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.1952, allocations: 0 / 0.67 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.227e-05/0.1952, allocations: 4 kB / 0.67 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.1953, allocations: 4.031 kB / 0.67 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.1953, allocations: 3.984 kB / 0.67 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.761e-05/0.1953, allocations: 91.28 kB / 0.6701 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.4e-07/0.1954, allocations: 0 / 0.6701 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002337/0.1956, allocations: 15.92 kB / 0.6701 GB, free: 15.68 MB / 0.5137 GB 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.0001623/0.1958, allocations: 104.6 kB / 0.6702 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001427/0.1959, allocations: 27.92 kB / 0.6703 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1959, allocations: 4.062 kB / 0.6703 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.968e-05/0.196, allocations: 11.98 kB / 0.6703 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.1962, allocations: 7.938 kB / 0.6703 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.1966, allocations: 134.5 kB / 0.6704 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.1969, allocations: 0.6807 MB / 0.6711 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.946e-05/0.1969, allocations: 7.984 kB / 0.6711 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.068e-05/0.1969, allocations: 11.5 kB / 0.6711 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.197, allocations: 0 / 0.6711 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of Templates: time 0.002855/0.1998, allocations: 489.8 kB / 0.6716 GB, free: 14.16 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1)