Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, 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: 197.3 kB / 16.53 MB, free: 6.664 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.393/1.393, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9674/0.9674, allocations: 135.2 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002488/0.002488, allocations: 65.34 kB / 0.5054 GB, free: 5.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1839, allocations: 80.94 MB / 0.5844 GB, free: 4.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001818/0.1857, allocations: 0.5584 MB / 0.585 GB, free: 3.973 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.1873, allocations: 1.246 MB / 0.5862 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.621e-05/0.1873, allocations: 3.938 kB / 0.5862 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.15e-05/0.1874, allocations: 4 kB / 0.5862 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.238e-06/0.1874, allocations: 0 / 0.5862 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.1877, allocations: 59.81 kB / 0.5863 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.773e-05/0.1878, allocations: 0 / 0.5863 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.1878, allocations: 4 kB / 0.5863 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.538e-05/0.1878, allocations: 3.984 kB / 0.5863 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.968e-05/0.1879, allocations: 3.984 kB / 0.5863 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.065e-06/0.1879, allocations: 0 / 0.5863 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002258/0.1881, allocations: 91.86 kB / 0.5864 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.1882, allocations: 11.97 kB / 0.5864 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.79e-05/0.1882, allocations: 0 / 0.5864 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.1883, allocations: 47.94 kB / 0.5864 GB, free: 2.484 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1883, allocations: 4 kB / 0.5864 GB, free: 2.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.1883, allocations: 0 / 0.5864 GB, free: 2.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1883, allocations: 3.938 kB / 0.5864 GB, free: 2.477 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003671/0.1887, allocations: 319.6 kB / 0.5867 GB, free: 2.117 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1888, allocations: 12.03 kB / 0.5867 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.1888, allocations: 8.906 kB / 0.5867 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.189, allocations: 160.4 kB / 0.5869 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.189, allocations: 4.375 kB / 0.5869 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.189, allocations: 384 / 0.5869 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.1891, allocations: 34.02 kB / 0.5869 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1891, allocations: 0 / 0.5869 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.1891, allocations: 0 / 0.5869 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1892, allocations: 3.938 kB / 0.5869 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.212e-05/0.1892, allocations: 0 / 0.5869 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.1893, allocations: 153.7 kB / 0.5871 GB, free: 1.656 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.201e-05/0.1894, allocations: 18.58 kB / 0.5871 GB, free: 1.629 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.1894, allocations: 4.859 kB / 0.5871 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006032/0.19, allocations: 0.5584 MB / 0.5876 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.1901, allocations: 38.5 kB / 0.5877 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.1901, allocations: 0 / 0.5877 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001401/0.1902, allocations: 41.62 kB / 0.5877 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.1903, allocations: 51.41 kB / 0.5878 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.694e-05/0.1903, allocations: 93.8 kB / 0.5879 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.1903, allocations: 25.7 kB / 0.5879 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.156e-05/0.1904, allocations: 80.14 kB / 0.588 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.1904, allocations: 3.906 kB / 0.588 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.1904, allocations: 17.72 kB / 0.588 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1905, allocations: 311 kB / 0.5883 GB, free: 228 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.144e-05/0.1906, allocations: 8 kB / 0.5883 GB, free: 220 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.101e-05/0.1906, allocations: 7.984 kB / 0.5883 GB, free: 212 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.808e-05/0.1906, allocations: 8.797 kB / 0.5883 GB, free: 200 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1906, allocations: 0 / 0.5883 GB, free: 200 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.998e-05/0.1907, allocations: 33.7 kB / 0.5883 GB, free: 160 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1907, allocations: 7.938 kB / 0.5883 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1907, allocations: 0 / 0.5883 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1907, allocations: 0 / 0.5883 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.862e-05/0.1908, allocations: 12.03 kB / 0.5884 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1908, allocations: 0 / 0.5884 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.287e-05/0.1908, allocations: 4 kB / 0.5884 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.1908, allocations: 0 / 0.5884 GB, free: 136 kB / 494.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 (1): * Single equations (assignments): 1 * 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 7.718e-05/0.1909, allocations: 113.8 kB / 0.5885 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.1909, allocations: 3.938 kB / 0.5885 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.191, allocations: 36.81 kB / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.191, allocations: 4.031 kB / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1911, allocations: 0 / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.1911, allocations: 0 / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.1912, allocations: 153.6 kB / 0.5887 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1912, allocations: 0 / 0.5887 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.41e-05/0.1912, allocations: 0 / 0.5887 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1912, allocations: 3.938 kB / 0.5887 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-06/0.1912, allocations: 4 kB / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1912, allocations: 0 / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1912, allocations: 0 / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.493e-05/0.1913, allocations: 57.12 kB / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-05/0.1913, allocations: 81.11 kB / 0.5888 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.1914, allocations: 11.88 kB / 0.5888 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.678e-06/0.1914, allocations: 0 / 0.5888 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.078e-05/0.1914, allocations: 0 / 0.5888 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.1914, allocations: 0 / 0.5888 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.87e-05/0.1914, allocations: 75.28 kB / 0.5889 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1914, allocations: 0 / 0.5889 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000201/0.1917, allocations: 8.031 kB / 0.5889 GB, free: 15.49 MB / 0.4981 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 (1): * Single equations (assignments): 1 * 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.0002473/0.1919, allocations: 107.2 kB / 0.589 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.276e-05/0.192, allocations: 4 kB / 0.589 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.192, allocations: 3.938 kB / 0.589 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.675e-06/0.192, allocations: 4 kB / 0.589 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.1921, allocations: 288 / 0.589 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000201/0.1924, allocations: 101 kB / 0.5891 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.1927, allocations: 0.6729 MB / 0.5898 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.316e-05/0.1927, allocations: 4 kB / 0.5898 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.986e-05/0.1928, allocations: 7.438 kB / 0.5898 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1928, allocations: 3.938 kB / 0.5898 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.002197/0.195, allocations: 300.7 kB / 0.5901 GB, free: 14.23 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)