Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Annex60.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001391/0.001391, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001496/0.001496, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3943/0.3943, allocations: 54.98 MB / 325.4 MB, free: 0.7578 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005173/0.0005174, allocations: 16 kB / 396.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3235, allocations: 60.71 MB / 457.3 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.SpliceFunction): time 0.000603/0.3241, allocations: 277.8 kB / 457.6 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000888/0.325, allocations: 0.9339 MB / 458.5 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.217e-05/0.325, allocations: 2.625 kB / 458.5 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.312e-05/0.3251, allocations: 0 / 458.5 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.701e-06/0.3251, allocations: 0 / 458.5 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.3253, allocations: 41.3 kB / 458.6 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.257e-05/0.3254, allocations: 3.031 kB / 458.6 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.3254, allocations: 0 / 458.6 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.647e-05/0.3254, allocations: 3.453 kB / 458.6 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.497e-05/0.3255, allocations: 2.625 kB / 458.6 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.767e-06/0.3255, allocations: 1.094 kB / 458.6 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.3257, allocations: 93.38 kB / 458.7 MB, free: 38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.352e-06/0.3257, allocations: 0.6875 kB / 458.7 MB, free: 38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.742e-05/0.3257, allocations: 25.7 kB / 458.7 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.952e-05/0.3258, allocations: 34.09 kB / 458.7 MB, free: 37.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.3258, allocations: 0 / 458.7 MB, free: 37.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3258, allocations: 0 / 458.7 MB, free: 37.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.3258, allocations: 2.906 kB / 458.7 MB, free: 37.97 MB / 382.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.0002065/0.326, allocations: 321 kB / 459 MB, free: 37.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.3261, allocations: 8.656 kB / 459 MB, free: 37.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.3261, allocations: 2.469 kB / 459 MB, free: 37.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.368e-05/0.3262, allocations: 168.8 kB / 459.2 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.3262, allocations: 0.7188 kB / 459.2 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-06/0.3262, allocations: 0 / 459.2 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.751e-05/0.3263, allocations: 30.75 kB / 459.2 MB, free: 37.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.3263, allocations: 2.562 kB / 459.2 MB, free: 37.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.393e-06/0.3263, allocations: 0 / 459.2 MB, free: 37.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3263, allocations: 0 / 459.2 MB, free: 37.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.791e-05/0.3263, allocations: 3.938 kB / 459.3 MB, free: 37.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.606e-05/0.3264, allocations: 153.7 kB / 459.4 MB, free: 37.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.846e-05/0.3265, allocations: 18.89 kB / 459.4 MB, free: 37.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003909/0.3269, allocations: 0.5552 MB / 460 MB, free: 36.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.3269, allocations: 39.03 kB / 460 MB, free: 36.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/0.3269, allocations: 1.266 kB / 460 MB, free: 36.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001161/0.327, allocations: 39.77 kB / 460.1 MB, free: 36.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.807e-05/0.3271, allocations: 53.56 kB / 460.1 MB, free: 36.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.67e-05/0.3271, allocations: 89.86 kB / 460.2 MB, free: 36.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.371e-06/0.3271, allocations: 25.7 kB / 460.2 MB, free: 36.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.014e-05/0.3271, allocations: 83.7 kB / 460.3 MB, free: 36.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.3271, allocations: 0 / 460.3 MB, free: 36.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-06/0.3271, allocations: 5.719 kB / 460.3 MB, free: 36.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.907e-05/0.3272, allocations: 318.7 kB / 460.6 MB, free: 35.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.224e-06/0.3272, allocations: 0.5938 kB / 460.6 MB, free: 35.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.771e-06/0.3272, allocations: 3.562 kB / 460.6 MB, free: 35.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.392e-05/0.3272, allocations: 0.875 kB / 460.6 MB, free: 35.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3272, allocations: 0 / 460.6 MB, free: 35.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.205e-05/0.3273, allocations: 39.31 kB / 460.7 MB, free: 35.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.3273, allocations: 6.625 kB / 460.7 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3273, allocations: 0 / 460.7 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.3273, allocations: 1.406 kB / 460.7 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.343e-05/0.3274, allocations: 2.969 kB / 460.7 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3274, allocations: 1.094 kB / 460.7 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.099e-05/0.3274, allocations: 1.25 kB / 460.7 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.3274, allocations: 1.312 kB / 460.7 MB, free: 35.83 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.173e-05/0.3275, allocations: 117.7 kB / 460.8 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-06/0.3275, allocations: 0.6875 kB / 460.8 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.555e-05/0.3276, allocations: 43.92 kB / 460.8 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3276, allocations: 0 / 460.8 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.3276, allocations: 4.844 kB / 460.8 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3276, allocations: 0 / 460.8 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.595e-05/0.3276, allocations: 151.2 kB / 461 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3276, allocations: 0 / 461 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.477e-05/0.3277, allocations: 5.625 kB / 461 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3277, allocations: 1.844 kB / 461 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-06/0.3277, allocations: 3 kB / 461 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.3277, allocations: 1.281 kB / 461 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3277, allocations: 0 / 461 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.236e-05/0.3278, allocations: 65.42 kB / 461.1 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.579e-05/0.3278, allocations: 77.11 kB / 461.1 MB, free: 35.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-06/0.3278, allocations: 0 / 461.1 MB, free: 35.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-06/0.3278, allocations: 3 kB / 461.1 MB, free: 35.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.131e-05/0.3278, allocations: 2.688 kB / 461.1 MB, free: 35.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.3278, allocations: 0 / 461.1 MB, free: 35.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.231e-05/0.3278, allocations: 77.12 kB / 461.2 MB, free: 35.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3278, allocations: 0.6875 kB / 461.2 MB, free: 35.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001863/0.328, allocations: 9.312 kB / 461.2 MB, free: 35.25 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001201/0.3282, allocations: 104.5 kB / 461.3 MB, free: 35.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.896e-05/0.3282, allocations: 12.48 kB / 461.3 MB, free: 35.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.3282, allocations: 0.8438 kB / 461.3 MB, free: 35.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.474e-06/0.3283, allocations: 4.5 kB / 461.3 MB, free: 35.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.877e-05/0.3283, allocations: 11.19 kB / 461.4 MB, free: 35.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001285/0.3285, allocations: 76.23 kB / 461.4 MB, free: 35.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.578e-05/0.3286, allocations: 0.68 MB / 462.1 MB, free: 34.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.909e-05/0.3286, allocations: 3.938 kB / 462.1 MB, free: 34.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.104e-05/0.3286, allocations: 10.31 kB / 462.1 MB, free: 34.36 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3286, allocations: 0 / 462.1 MB, free: 34.36 MB / 382.1 MB Notification: Performance of Templates: time 0.002029/0.3307, allocations: 285.5 kB / 462.4 MB, free: 34.33 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) Environment - environmentSimulation: