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.001114/0.001114, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.001173/0.001173, allocations: 172.7 kB / 15.95 MB, free: 208 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.724/1.724, 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.4399/0.4399, allocations: 55 MB / 325.4 MB, free: 0.6875 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.0006632/0.0006635, allocations: 19.94 kB / 396.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4698/0.4705, allocations: 60.72 MB / 457.4 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0007134/0.4712, allocations: 270.8 kB / 457.7 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.4725, allocations: 0.9438 MB / 458.6 MB, free: 38.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.077e-05/0.4725, allocations: 0 / 458.6 MB, free: 38.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.088e-05/0.4725, allocations: 0 / 458.6 MB, free: 38.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.983e-06/0.4725, allocations: 1.469 kB / 458.6 MB, free: 38.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.4728, allocations: 45.88 kB / 458.6 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.182e-05/0.4729, allocations: 0.5312 kB / 458.6 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.689e-05/0.473, allocations: 3.938 kB / 458.6 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.78e-05/0.473, allocations: 3.375 kB / 458.6 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.558e-05/0.473, allocations: 4.188 kB / 458.7 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.466e-06/0.4731, allocations: 0 / 458.7 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.4733, allocations: 90.92 kB / 458.7 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.015e-06/0.4733, allocations: 0 / 458.7 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.4733, allocations: 26.33 kB / 458.8 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.4734, allocations: 30.5 kB / 458.8 MB, free: 38.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.4734, allocations: 3.516 kB / 458.8 MB, free: 38.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.4734, allocations: 0 / 458.8 MB, free: 38.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.4735, allocations: 4.484 kB / 458.8 MB, free: 38.45 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.0002747/0.4737, allocations: 318.9 kB / 459.1 MB, free: 38.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.4738, allocations: 11.23 kB / 459.1 MB, free: 38.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.4738, allocations: 0 / 459.1 MB, free: 38.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.22e-05/0.4739, allocations: 164.8 kB / 459.3 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.4739, allocations: 0 / 459.3 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.4739, allocations: 0 / 459.3 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.474, allocations: 34.66 kB / 459.3 MB, free: 37.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.4741, allocations: 1.938 kB / 459.3 MB, free: 37.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.4741, allocations: 0 / 459.3 MB, free: 37.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.4741, allocations: 0 / 459.3 MB, free: 37.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.161e-05/0.4741, allocations: 4.609 kB / 459.3 MB, free: 37.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001265/0.4742, allocations: 148.6 kB / 459.5 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.782e-05/0.4743, allocations: 18.86 kB / 459.5 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.633e-05/0.4743, allocations: 9.203 kB / 459.5 MB, free: 37.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004245/0.4747, allocations: 0.5667 MB / 460.1 MB, free: 36.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.4748, allocations: 33.94 kB / 460.1 MB, free: 36.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.4748, allocations: 0.625 kB / 460.1 MB, free: 36.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000127/0.4749, allocations: 36.39 kB / 460.1 MB, free: 36.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.4749, allocations: 52.12 kB / 460.2 MB, free: 36.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.988e-05/0.475, allocations: 91.33 kB / 460.3 MB, free: 36.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.475, allocations: 25.7 kB / 460.3 MB, free: 36.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.407e-05/0.475, allocations: 83.95 kB / 460.4 MB, free: 36.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.475, allocations: 1.562 kB / 460.4 MB, free: 36.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-06/0.475, allocations: 0 / 460.4 MB, free: 36.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.622e-05/0.4751, allocations: 319.7 kB / 460.7 MB, free: 36.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-06/0.4751, allocations: 1.594 kB / 460.7 MB, free: 36.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-06/0.4751, allocations: 7.281 kB / 460.7 MB, free: 36.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.495e-05/0.4752, allocations: 0 / 460.7 MB, free: 36.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4752, allocations: 2.203 kB / 460.7 MB, free: 36.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.5e-05/0.4752, allocations: 38.17 kB / 460.7 MB, free: 36.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.4752, allocations: 8.938 kB / 460.8 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.4752, allocations: 1.172 kB / 460.8 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.4753, allocations: 3.828 kB / 460.8 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.215e-05/0.4753, allocations: 1.453 kB / 460.8 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4753, allocations: 3.844 kB / 460.8 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.207e-05/0.4753, allocations: 1.25 kB / 460.8 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.4754, allocations: 1 kB / 460.8 MB, free: 36.29 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.598e-05/0.4754, allocations: 115.8 kB / 460.9 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-06/0.4754, allocations: 3 kB / 460.9 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.123e-05/0.4755, allocations: 41.7 kB / 460.9 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4755, allocations: 2.969 kB / 460.9 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4755, allocations: 1.453 kB / 460.9 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.4755, allocations: 0 / 460.9 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.356e-05/0.4756, allocations: 152.5 kB / 461.1 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.4756, allocations: 1.312 kB / 461.1 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.432e-05/0.4756, allocations: 5.25 kB / 461.1 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.4756, allocations: 0 / 461.1 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.4756, allocations: 0 / 461.1 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4756, allocations: 0.6094 kB / 461.1 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.4756, allocations: 4.656 kB / 461.1 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.653e-05/0.4757, allocations: 66.52 kB / 461.2 MB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.925e-05/0.4757, allocations: 77.91 kB / 461.2 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.4758, allocations: 2.375 kB / 461.2 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.002e-05/0.4758, allocations: 1.5 kB / 461.2 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.725e-05/0.4758, allocations: 0.75 kB / 461.2 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.4758, allocations: 2.688 kB / 461.2 MB, free: 35.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.661e-05/0.4758, allocations: 76.91 kB / 461.3 MB, free: 35.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4758, allocations: 0 / 461.3 MB, free: 35.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002129/0.476, allocations: 11.25 kB / 461.3 MB, free: 35.7 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.0001363/0.4762, allocations: 101.1 kB / 461.4 MB, free: 35.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.617e-05/0.4763, allocations: 4.969 kB / 461.4 MB, free: 35.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4763, allocations: 3 kB / 461.4 MB, free: 35.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.883e-06/0.4763, allocations: 1.922 kB / 461.4 MB, free: 35.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.4764, allocations: 13.67 kB / 461.4 MB, free: 35.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001567/0.4766, allocations: 90.52 kB / 461.5 MB, free: 35.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.4767, allocations: 0.6698 MB / 462.2 MB, free: 34.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.158e-05/0.4767, allocations: 2.375 kB / 462.2 MB, free: 34.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.2e-05/0.4768, allocations: 11.34 kB / 462.2 MB, free: 34.82 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4768, allocations: 0 / 462.2 MB, free: 34.82 MB / 382.1 MB Notification: Performance of Templates: time 0.002173/0.4789, allocations: 282.2 kB / 462.5 MB, free: 34.78 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: