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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 109.1 kB / 18.19 MB, free: 4.02 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 184.5 kB / 21.33 MB, free: 0.8828 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 249.9 MB, free: 3.219 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8727/0.8727, allocations: 133.9 MB / 439 MB, free: 13.63 MB / 350.1 MB [Timeout remaining time 89] 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=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 67.89 kB / 0.6088 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3937, allocations: 84.68 MB / 0.6915 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001839/0.3956, allocations: 0.5707 MB / 0.692 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.3969, allocations: 1.251 MB / 0.6933 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.86e-05/0.397, allocations: 1.062 kB / 0.6933 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.183e-05/0.397, allocations: 0 / 0.6933 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.552e-06/0.397, allocations: 0 / 0.6933 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.3973, allocations: 58.72 kB / 0.6933 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.126e-05/0.3974, allocations: 9.359 kB / 0.6933 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.3974, allocations: 1.312 kB / 0.6933 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.641e-05/0.3974, allocations: 9.062 kB / 0.6933 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.293e-05/0.3975, allocations: 5.234 kB / 0.6933 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.174e-06/0.3975, allocations: 0 / 0.6933 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.3977, allocations: 89.47 kB / 0.6934 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.949e-06/0.3977, allocations: 3.984 kB / 0.6934 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.3977, allocations: 1.031 kB / 0.6934 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.3978, allocations: 50.88 kB / 0.6935 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3979, allocations: 0 / 0.6935 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3979, allocations: 0 / 0.6935 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.3979, allocations: 0 / 0.6935 GB, free: 0.5508 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.0002537/0.3981, allocations: 325.6 kB / 0.6938 GB, free: 200 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.3981, allocations: 9.656 kB / 0.6938 GB, free: 200 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/0.3982, allocations: 4.922 kB / 0.6938 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.592e-05/0.3983, allocations: 160.4 kB / 0.694 GB, free: 16 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.3983, allocations: 1.781 kB / 0.694 GB, free: 16 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.3983, allocations: 4.375 kB / 0.694 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.3984, allocations: 36.58 kB / 0.694 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3984, allocations: 0 / 0.694 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.3984, allocations: 0 / 0.694 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3984, allocations: 1.469 kB / 0.694 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.772e-05/0.3984, allocations: 1.406 kB / 0.694 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.3986, allocations: 158.9 kB / 0.6941 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.12e-05/0.3986, allocations: 15.77 kB / 0.6942 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.024e-05/0.3986, allocations: 10.14 kB / 0.6942 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005821/0.3992, allocations: 0.5578 MB / 0.6947 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.3993, allocations: 39.62 kB / 0.6948 GB, free: 15 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.3993, allocations: 0 / 0.6948 GB, free: 15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001285/0.3994, allocations: 35.16 kB / 0.6948 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.3994, allocations: 60.5 kB / 0.6948 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.581e-05/0.3995, allocations: 89.86 kB / 0.6949 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.3995, allocations: 25.7 kB / 0.695 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.129e-05/0.3995, allocations: 81.33 kB / 0.695 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.3995, allocations: 3.953 kB / 0.695 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.3996, allocations: 16.09 kB / 0.6951 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3997, allocations: 312 kB / 0.6953 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-06/0.3997, allocations: 0 / 0.6953 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.558e-06/0.3997, allocations: 9.156 kB / 0.6954 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.222e-05/0.3998, allocations: 16.06 kB / 0.6954 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3998, allocations: 0 / 0.6954 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.241e-05/0.3998, allocations: 35.27 kB / 0.6954 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3998, allocations: 9.5 kB / 0.6954 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3998, allocations: 0 / 0.6954 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3999, allocations: 1.125 kB / 0.6954 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.189e-05/0.3999, allocations: 2.062 kB / 0.6954 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3999, allocations: 0 / 0.6954 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.08e-05/0.3999, allocations: 4.094 kB / 0.6954 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.3999, allocations: 1.062 kB / 0.6954 GB, free: 14.28 MB / 0.5137 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 7.689e-05/0.4, allocations: 111 kB / 0.6955 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.4, allocations: 4.938 kB / 0.6955 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.387e-05/0.4001, allocations: 38.27 kB / 0.6956 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.4001, allocations: 0 / 0.6956 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4001, allocations: 1.188 kB / 0.6956 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.4001, allocations: 4.031 kB / 0.6956 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.4002, allocations: 150.7 kB / 0.6957 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.4002, allocations: 0 / 0.6957 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.372e-05/0.4002, allocations: 2.188 kB / 0.6957 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.4002, allocations: 5 kB / 0.6957 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.4003, allocations: 3.938 kB / 0.6957 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4003, allocations: 0.9375 kB / 0.6957 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4003, allocations: 0 / 0.6957 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.556e-05/0.4003, allocations: 67.91 kB / 0.6958 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.4004, allocations: 81.09 kB / 0.6959 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.4004, allocations: 5.531 kB / 0.6959 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.138e-06/0.4004, allocations: 0 / 0.6959 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-06/0.4004, allocations: 0 / 0.6959 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.4004, allocations: 1.219 kB / 0.6959 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.687e-05/0.4004, allocations: 75.28 kB / 0.696 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.4004, allocations: 0 / 0.696 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002009/0.4006, allocations: 9.406 kB / 0.696 GB, free: 13.65 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 (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.0001765/0.4008, allocations: 108.6 kB / 0.6961 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.132e-05/0.4009, allocations: 7.125 kB / 0.6961 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4009, allocations: 1.125 kB / 0.6961 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.053e-06/0.4009, allocations: 2.375 kB / 0.6961 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.401, allocations: 6.516 kB / 0.6961 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002164/0.4012, allocations: 123.4 kB / 0.6962 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.4015, allocations: 0.67 MB / 0.6969 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.689e-05/0.4016, allocations: 12.81 kB / 0.6969 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.4016, allocations: 0 / 0.6969 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.001974/0.4035, allocations: 434.3 kB / 0.6973 GB, free: 12.49 MB / 0.5137 GB [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (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) [Timeout 480]