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.006389/0.006389, allocations: 103.6 kB / 15.73 MB, free: 6.039 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.001497/0.001498, allocations: 194 kB / 16.67 MB, free: 5.973 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.002/1.002, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 67.89 kB / 0.5857 GB, free: 3.297 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4835/0.4857, allocations: 80.91 MB / 0.6647 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001541/0.4873, allocations: 0.5627 MB / 0.6652 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.4885, allocations: 1.247 MB / 0.6665 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.78e-05/0.4885, allocations: 4 kB / 0.6665 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.292e-05/0.4886, allocations: 1.594 kB / 0.6665 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.462e-06/0.4886, allocations: 3.938 kB / 0.6665 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.4889, allocations: 58.73 kB / 0.6665 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.726e-05/0.489, allocations: 1.156 kB / 0.6665 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.808e-05/0.489, allocations: 5.141 kB / 0.6665 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.462e-05/0.489, allocations: 1.312 kB / 0.6665 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.828e-05/0.4891, allocations: 5 kB / 0.6665 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.654e-06/0.4891, allocations: 0 / 0.6665 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.4893, allocations: 104.6 kB / 0.6666 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.4893, allocations: 1.281 kB / 0.6666 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.899e-05/0.4894, allocations: 4 kB / 0.6666 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.4895, allocations: 51.38 kB / 0.6667 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.4895, allocations: 0 / 0.6667 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4895, allocations: 0 / 0.6667 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.405e-06/0.4895, allocations: 0 / 0.6667 GB, free: 6.055 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002564/0.4898, allocations: 321.9 kB / 0.667 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.4898, allocations: 13.95 kB / 0.667 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.4899, allocations: 4.938 kB / 0.667 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.285e-05/0.4899, allocations: 168.4 kB / 0.6672 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.4899, allocations: 1.406 kB / 0.6672 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.4899, allocations: 384 / 0.6672 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.878e-05/0.49, allocations: 36.55 kB / 0.6672 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.49, allocations: 0 / 0.6672 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.4901, allocations: 0 / 0.6672 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.4901, allocations: 1.312 kB / 0.6672 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.988e-05/0.4901, allocations: 5.219 kB / 0.6672 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.46e-05/0.4902, allocations: 150.8 kB / 0.6674 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.969e-05/0.4902, allocations: 20.08 kB / 0.6674 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.317e-05/0.4902, allocations: 6.359 kB / 0.6674 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003994/0.4906, allocations: 0.5632 MB / 0.6679 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.4907, allocations: 38.48 kB / 0.668 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/0.4907, allocations: 4 kB / 0.668 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001142/0.4908, allocations: 34.8 kB / 0.668 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.4908, allocations: 52.72 kB / 0.6681 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.504e-05/0.4909, allocations: 89.86 kB / 0.6681 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.971e-06/0.4909, allocations: 25.7 kB / 0.6682 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.438e-06/0.4909, allocations: 81.27 kB / 0.6682 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.4909, allocations: 4 kB / 0.6683 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.4909, allocations: 12.22 kB / 0.6683 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.268e-05/0.491, allocations: 315 kB / 0.6686 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.637e-06/0.491, allocations: 0.9688 kB / 0.6686 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.831e-06/0.491, allocations: 5.422 kB / 0.6686 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.164e-05/0.491, allocations: 8.297 kB / 0.6686 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.491, allocations: 0 / 0.6686 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.262e-05/0.4911, allocations: 39.05 kB / 0.6686 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.4911, allocations: 9.844 kB / 0.6686 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.4911, allocations: 0 / 0.6686 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.4911, allocations: 96 / 0.6686 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.247e-05/0.4912, allocations: 6.281 kB / 0.6686 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.4912, allocations: 0 / 0.6686 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.101e-05/0.4912, allocations: 1.375 kB / 0.6686 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.4912, allocations: 0 / 0.6686 GB, free: 3.789 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 (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 4.355e-05/0.4913, allocations: 112.5 kB / 0.6687 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-06/0.4913, allocations: 9.062 kB / 0.6687 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.566e-05/0.4914, allocations: 42.48 kB / 0.6688 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.4914, allocations: 0 / 0.6688 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.4914, allocations: 0 / 0.6688 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.4914, allocations: 1.375 kB / 0.6688 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.747e-05/0.4914, allocations: 151.1 kB / 0.6689 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.4914, allocations: 0 / 0.6689 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.392e-05/0.4914, allocations: 1.219 kB / 0.6689 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4915, allocations: 5.375 kB / 0.6689 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.4915, allocations: 4 kB / 0.6689 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.4915, allocations: 0 / 0.6689 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4915, allocations: 1.219 kB / 0.6689 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.613e-05/0.4915, allocations: 66.31 kB / 0.669 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.4915, allocations: 78.2 kB / 0.6691 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.4916, allocations: 5.094 kB / 0.6691 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.388e-06/0.4916, allocations: 0 / 0.6691 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.138e-05/0.4916, allocations: 4.969 kB / 0.6691 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.4916, allocations: 0 / 0.6691 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.263e-05/0.4916, allocations: 76.31 kB / 0.6692 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4916, allocations: 4.031 kB / 0.6692 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001948/0.4918, allocations: 4.625 kB / 0.6692 GB, free: 3.156 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.0001449/0.492, allocations: 107.6 kB / 0.6693 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.698e-05/0.492, allocations: 2.875 kB / 0.6693 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4921, allocations: 0 / 0.6693 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.271e-06/0.4921, allocations: 2.656 kB / 0.6693 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.4922, allocations: 1.156 kB / 0.6693 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001553/0.4923, allocations: 98.92 kB / 0.6694 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.852e-05/0.4925, allocations: 0.6704 MB / 0.67 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.809e-05/0.4925, allocations: 1.5 kB / 0.67 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.166e-05/0.4925, allocations: 11.38 kB / 0.67 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.4925, allocations: 0 / 0.67 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of Templates: time 0.002036/0.4945, allocations: 296.6 kB / 0.6703 GB, free: 2.082 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)