Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001007/0.001007, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.006214/0.006214, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.437/1.437, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7834/0.7834, allocations: 132.4 MB / 423.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003711, allocations: 12.84 kB / 0.504 GB, free: 3.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4588/0.4592, allocations: 81.58 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0008563/0.4601, allocations: 316.3 kB / 0.584 GB, free: 3.836 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.4618, allocations: 1.242 MB / 0.5852 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.346e-05/0.4618, allocations: 0 / 0.5852 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.4618, allocations: 5.25 kB / 0.5852 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.472e-06/0.4619, allocations: 0 / 0.5852 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.4622, allocations: 39.97 kB / 0.5852 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.042e-05/0.4622, allocations: 2.094 kB / 0.5852 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.987e-05/0.4623, allocations: 2.422 kB / 0.5852 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.695e-05/0.4623, allocations: 1.281 kB / 0.5852 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.971e-05/0.4624, allocations: 2.406 kB / 0.5852 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.4624, allocations: 0 / 0.5852 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002697/0.4627, allocations: 99.88 kB / 0.5853 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.4627, allocations: 2.328 kB / 0.5853 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.4627, allocations: 25.7 kB / 0.5854 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.4629, allocations: 50.25 kB / 0.5854 GB, free: 2.824 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4629, allocations: 0 / 0.5854 GB, free: 2.824 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4629, allocations: 0 / 0.5854 GB, free: 2.824 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.4629, allocations: 1.125 kB / 0.5854 GB, free: 2.824 MB / 430.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.0002631/0.4632, allocations: 323 kB / 0.5857 GB, free: 2.469 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.4632, allocations: 8.156 kB / 0.5857 GB, free: 2.469 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.197e-05/0.4632, allocations: 10.7 kB / 0.5857 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.575e-05/0.4633, allocations: 165 kB / 0.5859 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.4633, allocations: 5.312 kB / 0.5859 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.4634, allocations: 2.391 kB / 0.5859 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.513e-05/0.4635, allocations: 31.38 kB / 0.5859 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.4635, allocations: 1.703 kB / 0.5859 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-06/0.4635, allocations: 0 / 0.5859 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.4635, allocations: 3.938 kB / 0.5859 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.09e-05/0.4635, allocations: 2.688 kB / 0.5859 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001087/0.4636, allocations: 147.7 kB / 0.5861 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.762e-05/0.4637, allocations: 25.36 kB / 0.5861 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.373e-05/0.4637, allocations: 5.859 kB / 0.5861 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004415/0.4641, allocations: 0.5566 MB / 0.5867 GB, free: 1.332 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.4642, allocations: 40.25 kB / 0.5867 GB, free: 1.285 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.4642, allocations: 1.062 kB / 0.5867 GB, free: 1.285 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001562/0.4643, allocations: 35.3 kB / 0.5867 GB, free: 1.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.186e-05/0.4644, allocations: 52.5 kB / 0.5868 GB, free: 1.188 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.25e-05/0.4644, allocations: 90.47 kB / 0.5869 GB, free: 1.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.124e-06/0.4644, allocations: 25.7 kB / 0.5869 GB, free: 1.059 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.382e-05/0.4644, allocations: 81.42 kB / 0.587 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.4645, allocations: 4.656 kB / 0.587 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-05/0.4645, allocations: 10.72 kB / 0.587 GB, free: 0.957 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.32e-05/0.4646, allocations: 315.6 kB / 0.5873 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-06/0.4646, allocations: 9.156 kB / 0.5873 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-06/0.4646, allocations: 1.219 kB / 0.5873 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.911e-05/0.4646, allocations: 8.938 kB / 0.5873 GB, free: 0.625 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4646, allocations: 0 / 0.5873 GB, free: 0.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.581e-05/0.4647, allocations: 32.03 kB / 0.5873 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.4647, allocations: 9.984 kB / 0.5873 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.4647, allocations: 0.9062 kB / 0.5873 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.4647, allocations: 4.094 kB / 0.5874 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.865e-05/0.4648, allocations: 2.828 kB / 0.5874 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.4648, allocations: 0 / 0.5874 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.463e-05/0.4648, allocations: 1.672 kB / 0.5874 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.4648, allocations: 12.8 kB / 0.5874 GB, free: 0.5742 MB / 430.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 6.66e-05/0.4649, allocations: 109.2 kB / 0.5875 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-06/0.4649, allocations: 3.938 kB / 0.5875 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.465, allocations: 49.55 kB / 0.5875 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.465, allocations: 0 / 0.5875 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.4651, allocations: 1.516 kB / 0.5875 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.4651, allocations: 0 / 0.5875 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.749e-05/0.4651, allocations: 144 kB / 0.5877 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4651, allocations: 1.609 kB / 0.5877 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.498e-05/0.4652, allocations: 2.297 kB / 0.5877 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4652, allocations: 3.938 kB / 0.5877 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.4652, allocations: 1.094 kB / 0.5877 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4652, allocations: 0.5156 kB / 0.5877 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4652, allocations: 4.938 kB / 0.5877 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.932e-05/0.4653, allocations: 61.3 kB / 0.5877 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.4653, allocations: 81.75 kB / 0.5878 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.4653, allocations: 5.734 kB / 0.5878 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.082e-05/0.4653, allocations: 4 kB / 0.5878 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.019e-05/0.4654, allocations: 2.281 kB / 0.5878 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.4654, allocations: 0 / 0.5878 GB, free: 40 kB / 430.1 MB Notification: Performance of sorting global known variables: time 7.017e-05/0.4655, allocations: 81.28 kB / 0.5879 GB, free: 15.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4655, allocations: 0 / 0.5879 GB, free: 15.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002114/0.4657, allocations: 5.094 kB / 0.5879 GB, free: 15.96 MB / 446.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 (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.0002367/0.4659, allocations: 105.8 kB / 0.588 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.702e-05/0.466, allocations: 4.344 kB / 0.588 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.466, allocations: 0 / 0.588 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.315e-06/0.466, allocations: 6.625 kB / 0.588 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.4662, allocations: 9.891 kB / 0.588 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001746/0.4664, allocations: 73.56 kB / 0.5881 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.4666, allocations: 0.6712 MB / 0.5888 GB, free: 15.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.07e-05/0.4666, allocations: 2 kB / 0.5888 GB, free: 15.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.352e-05/0.4666, allocations: 8.141 kB / 0.5888 GB, free: 15.07 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4666, allocations: 0.6875 kB / 0.5888 GB, free: 15.07 MB / 446.1 MB Notification: Performance of Templates: time 0.002226/0.4689, allocations: 284.1 kB / 0.589 GB, free: 15.01 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)