Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.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.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit") translateModel(Annex60.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001501/0.001501, allocations: 189.7 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4187/0.4187, allocations: 54.92 MB / 324.3 MB, free: 204 kB / 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.001684/0.001684, allocations: 64.28 kB / 394.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1432, allocations: 59.59 MB / 454.3 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothLimit): time 0.2478/0.391, allocations: 1.489 MB / 455.8 MB, free: 39.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009444/0.392, allocations: 0.5852 MB / 456.4 MB, free: 39.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.529e-05/0.392, allocations: 0 / 456.4 MB, free: 39.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.521e-05/0.3921, allocations: 0 / 456.4 MB, free: 39.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.598e-05/0.3921, allocations: 6.125 kB / 456.4 MB, free: 39.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.3924, allocations: 41.06 kB / 456.4 MB, free: 39.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.817e-05/0.3924, allocations: 29.39 kB / 456.4 MB, free: 39.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.172e-05/0.3925, allocations: 4.25 kB / 456.4 MB, free: 39.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.192e-05/0.3926, allocations: 19.14 kB / 456.5 MB, free: 39.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.262e-05/0.3927, allocations: 13.83 kB / 456.5 MB, free: 39.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.3927, allocations: 0 / 456.5 MB, free: 39.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.3928, allocations: 55.84 kB / 456.5 MB, free: 39.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.3928, allocations: 4.297 kB / 456.5 MB, free: 39.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.551e-05/0.3929, allocations: 10.66 kB / 456.5 MB, free: 39.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.393, allocations: 63.83 kB / 456.6 MB, free: 39.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.393, allocations: 0.6562 kB / 456.6 MB, free: 39.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.393, allocations: 0 / 456.6 MB, free: 39.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.3931, allocations: 4.469 kB / 456.6 MB, free: 39.27 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000371/0.3934, allocations: 350.9 kB / 456.9 MB, free: 38.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.3935, allocations: 10.88 kB / 457 MB, free: 38.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.3935, allocations: 4.656 kB / 457 MB, free: 38.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.197e-05/0.3936, allocations: 170.7 kB / 457.1 MB, free: 38.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.3936, allocations: 1.688 kB / 457.1 MB, free: 38.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.3936, allocations: 3.062 kB / 457.1 MB, free: 38.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.3938, allocations: 48.27 kB / 457.2 MB, free: 38.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.3938, allocations: 0.5 kB / 457.2 MB, free: 38.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.3938, allocations: 4.156 kB / 457.2 MB, free: 38.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3938, allocations: 0 / 457.2 MB, free: 38.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.095e-05/0.3939, allocations: 24.03 kB / 457.2 MB, free: 38.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002941/0.3942, allocations: 253.6 kB / 457.5 MB, free: 38.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.001e-05/0.3943, allocations: 36.56 kB / 457.5 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.431e-05/0.3944, allocations: 18.17 kB / 457.5 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006847/0.395, allocations: 474.1 kB / 458 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.3951, allocations: 35.12 kB / 458 MB, free: 37.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3951, allocations: 0.625 kB / 458 MB, free: 37.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002343/0.3953, allocations: 68.66 kB / 458.1 MB, free: 37.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.183e-05/0.3954, allocations: 51.41 kB / 458.1 MB, free: 37.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.596e-05/0.3954, allocations: 113.1 kB / 458.2 MB, free: 37.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.3955, allocations: 27.36 kB / 458.3 MB, free: 37.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.107e-05/0.3955, allocations: 86.52 kB / 458.3 MB, free: 37.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.3955, allocations: 3.906 kB / 458.3 MB, free: 37.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/0.3956, allocations: 16.62 kB / 458.4 MB, free: 37.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.742e-05/0.3956, allocations: 322 kB / 458.7 MB, free: 37.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.464e-05/0.3957, allocations: 9.625 kB / 458.7 MB, free: 37.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.164e-05/0.3957, allocations: 12.56 kB / 458.7 MB, free: 37.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.979e-05/0.3958, allocations: 29.64 kB / 458.7 MB, free: 37.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3958, allocations: 0.8125 kB / 458.7 MB, free: 37.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001017/0.3959, allocations: 56.59 kB / 458.8 MB, free: 37.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3959, allocations: 5.594 kB / 458.8 MB, free: 37.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.3959, allocations: 3.938 kB / 458.8 MB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.3959, allocations: 2.562 kB / 458.8 MB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-05/0.396, allocations: 9.109 kB / 458.8 MB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.396, allocations: 0.9062 kB / 458.8 MB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.04e-05/0.3961, allocations: 3.938 kB / 458.8 MB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.3961, allocations: 7.188 kB / 458.8 MB, free: 37.18 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 (2): * Single equations (assignments): 2 * 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 5.219e-05/0.3961, allocations: 109.8 kB / 458.9 MB, free: 37.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.3962, allocations: 5.891 kB / 458.9 MB, free: 37.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.3963, allocations: 70.12 kB / 459 MB, free: 37.03 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3963, allocations: 1.5 kB / 459 MB, free: 37.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3963, allocations: 0 / 459 MB, free: 37.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3964, allocations: 1.562 kB / 459 MB, free: 37.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.3965, allocations: 166.1 kB / 459.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3965, allocations: 1.281 kB / 459.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.779e-05/0.3965, allocations: 5.656 kB / 459.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3965, allocations: 0 / 459.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.3966, allocations: 0.5938 kB / 459.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3966, allocations: 3 kB / 459.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3966, allocations: 2.719 kB / 459.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.3967, allocations: 148.5 kB / 459.3 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.497e-05/0.3967, allocations: 84.8 kB / 459.4 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.3968, allocations: 4.625 kB / 459.4 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.508e-05/0.3968, allocations: 2.5 kB / 459.4 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.3969, allocations: 4.125 kB / 459.4 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.3969, allocations: 1.688 kB / 459.4 MB, free: 36.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.974e-05/0.3969, allocations: 89.22 kB / 459.5 MB, free: 36.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3969, allocations: 0.8438 kB / 459.5 MB, free: 36.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.3972, allocations: 18.25 kB / 459.5 MB, free: 36.53 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 (2): * Single equations (assignments): 2 * 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.0001399/0.3973, allocations: 104.5 kB / 459.6 MB, free: 36.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.3974, allocations: 28.05 kB / 459.7 MB, free: 36.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3974, allocations: 3 kB / 459.7 MB, free: 36.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.167e-05/0.3975, allocations: 13.42 kB / 459.7 MB, free: 36.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.3977, allocations: 7.812 kB / 459.7 MB, free: 36.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000268/0.398, allocations: 140.1 kB / 459.8 MB, free: 36.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.3981, allocations: 0.6782 MB / 460.5 MB, free: 35.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.309e-05/0.3981, allocations: 2.938 kB / 460.5 MB, free: 35.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.787e-05/0.3982, allocations: 7.438 kB / 460.5 MB, free: 35.62 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3982, allocations: 5.469 kB / 460.5 MB, free: 35.62 MB / 382.1 MB Notification: Performance of Templates: time 0.002608/0.4008, allocations: 0.6371 MB / 461.1 MB, free: 35.57 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)