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.001264/0.001264, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001581/0.001582, allocations: 199.8 kB / 16.14 MB, free: 6.793 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.351/1.351, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7546/0.7546, allocations: 132.2 MB / 422.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001723, allocations: 67.56 kB / 0.5011 GB, free: 4.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4833/0.4851, allocations: 80.2 MB / 0.5794 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001596/0.4867, allocations: 0.6462 MB / 0.5801 GB, free: 4.148 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.4881, allocations: 1.25 MB / 0.5813 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.015e-05/0.4882, allocations: 0 / 0.5813 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.4882, allocations: 4 kB / 0.5813 GB, free: 3.227 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.05e-06/0.4882, allocations: 0 / 0.5813 GB, free: 3.227 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.4885, allocations: 47.3 kB / 0.5813 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.694e-05/0.4886, allocations: 6.031 kB / 0.5813 GB, free: 3.199 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.231e-05/0.4886, allocations: 2.25 kB / 0.5813 GB, free: 3.199 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.266e-05/0.4886, allocations: 1.469 kB / 0.5813 GB, free: 3.199 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.184e-05/0.4887, allocations: 0 / 0.5813 GB, free: 3.199 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.665e-06/0.4887, allocations: 1.281 kB / 0.5813 GB, free: 3.199 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002372/0.4889, allocations: 95.83 kB / 0.5814 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.167e-06/0.4889, allocations: 4.938 kB / 0.5814 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.489, allocations: 1.5 kB / 0.5814 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.4891, allocations: 49.97 kB / 0.5815 GB, free: 3.152 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4891, allocations: 0.5156 kB / 0.5815 GB, free: 3.152 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4891, allocations: 0 / 0.5815 GB, free: 3.152 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.4891, allocations: 0 / 0.5815 GB, free: 3.152 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.0002472/0.4894, allocations: 326 kB / 0.5818 GB, free: 2.797 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.4894, allocations: 13.56 kB / 0.5818 GB, free: 2.793 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.4895, allocations: 0.9375 kB / 0.5818 GB, free: 2.793 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.442e-05/0.4895, allocations: 161.8 kB / 0.582 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.4895, allocations: 5.75 kB / 0.582 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.4896, allocations: 384 / 0.582 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.37e-05/0.4896, allocations: 37.05 kB / 0.582 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.4897, allocations: 0 / 0.582 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.4897, allocations: 1.719 kB / 0.582 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.4897, allocations: 0 / 0.582 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.888e-05/0.4897, allocations: 2.094 kB / 0.582 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001042/0.4898, allocations: 148.2 kB / 0.5822 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.708e-05/0.4898, allocations: 20.98 kB / 0.5822 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.477e-05/0.4899, allocations: 6.312 kB / 0.5822 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000407/0.4903, allocations: 0.5556 MB / 0.5827 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.4903, allocations: 44.31 kB / 0.5828 GB, free: 1.621 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.4903, allocations: 3.938 kB / 0.5828 GB, free: 1.617 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001286/0.4905, allocations: 36.56 kB / 0.5828 GB, free: 1.582 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.71e-05/0.4905, allocations: 52.77 kB / 0.5829 GB, free: 1.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.775e-05/0.4905, allocations: 89.86 kB / 0.5829 GB, free: 1.422 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.662e-06/0.4905, allocations: 25.7 kB / 0.583 GB, free: 1.391 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.087e-05/0.4905, allocations: 81.67 kB / 0.583 GB, free: 1.309 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.4906, allocations: 5.312 kB / 0.583 GB, free: 1.305 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.4906, allocations: 11.84 kB / 0.5831 GB, free: 1.289 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.751e-05/0.4906, allocations: 315.4 kB / 0.5834 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.4907, allocations: 5.344 kB / 0.5834 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-06/0.4907, allocations: 1.938 kB / 0.5834 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.664e-05/0.4907, allocations: 12.36 kB / 0.5834 GB, free: 0.957 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4907, allocations: 0 / 0.5834 GB, free: 0.957 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.611e-05/0.4908, allocations: 33.11 kB / 0.5834 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.4908, allocations: 9.062 kB / 0.5834 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4908, allocations: 4 kB / 0.5834 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.4908, allocations: 1.984 kB / 0.5834 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.067e-05/0.4909, allocations: 5.562 kB / 0.5834 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.4909, allocations: 0 / 0.5834 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.189e-05/0.4909, allocations: 1.719 kB / 0.5834 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.4909, allocations: 0 / 0.5834 GB, free: 0.9141 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 4.302e-05/0.4909, allocations: 117.7 kB / 0.5835 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-06/0.491, allocations: 4.547 kB / 0.5835 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.17e-05/0.491, allocations: 41.47 kB / 0.5836 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.491, allocations: 4.031 kB / 0.5836 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4911, allocations: 1.188 kB / 0.5836 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.4911, allocations: 0.6094 kB / 0.5836 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.883e-05/0.4911, allocations: 147.8 kB / 0.5837 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4911, allocations: 0.5625 kB / 0.5837 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.508e-05/0.4911, allocations: 2.781 kB / 0.5837 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.4912, allocations: 4.688 kB / 0.5837 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.4912, allocations: 1 kB / 0.5837 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4912, allocations: 0.6562 kB / 0.5837 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4912, allocations: 0 / 0.5837 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.795e-05/0.4912, allocations: 61.41 kB / 0.5838 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.4912, allocations: 78.61 kB / 0.5839 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.4913, allocations: 5.656 kB / 0.5839 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.338e-06/0.4913, allocations: 0 / 0.5839 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.333e-05/0.4913, allocations: 5.562 kB / 0.5839 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.4913, allocations: 0.9375 kB / 0.5839 GB, free: 388 kB / 430.1 MB Notification: Performance of sorting global known variables: time 9.648e-06/0.4913, allocations: 75.28 kB / 0.584 GB, free: 312 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4913, allocations: 4.031 kB / 0.584 GB, free: 308 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002009/0.4915, allocations: 10.2 kB / 0.584 GB, free: 304 kB / 430.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.0001212/0.4917, allocations: 106.3 kB / 0.5841 GB, free: 212 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.953e-05/0.4917, allocations: 4.188 kB / 0.5841 GB, free: 212 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4917, allocations: 0 / 0.5841 GB, free: 212 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.695e-06/0.4917, allocations: 3.078 kB / 0.5841 GB, free: 212 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.4919, allocations: 7.906 kB / 0.5841 GB, free: 208 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001325/0.492, allocations: 81.41 kB / 0.5842 GB, free: 108 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.4922, allocations: 0.6725 MB / 0.5848 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.98e-05/0.4923, allocations: 0.875 kB / 0.5848 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.042e-05/0.4923, allocations: 8.219 kB / 0.5848 GB, free: 15.4 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.4923, allocations: 0 / 0.5848 GB, free: 15.4 MB / 446.1 MB Notification: Performance of Templates: time 0.002158/0.4944, allocations: 296.5 kB / 0.5851 GB, free: 15.33 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)