Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks") translateModel(Annex60.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001466/0.001466, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.549/1.549, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4029/0.4029, allocations: 54.93 MB / 324.4 MB, free: 112 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.001502/0.001502, allocations: 67.91 kB / 394.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1601, allocations: 59.59 MB / 454.4 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothBlocks): time 0.2641/0.4243, allocations: 1.8 MB / 456.2 MB, free: 39.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.4254, allocations: 0.6758 MB / 456.9 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.773e-05/0.4255, allocations: 1.594 kB / 456.9 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.024e-05/0.4257, allocations: 6.938 kB / 456.9 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.051e-05/0.4258, allocations: 19.55 kB / 456.9 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005766/0.4263, allocations: 157.4 kB / 457.1 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.4265, allocations: 123 kB / 457.2 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.4266, allocations: 43.81 kB / 457.3 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.4267, allocations: 65.56 kB / 457.3 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.845e-05/0.4268, allocations: 44.97 kB / 457.4 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.4269, allocations: 11.25 kB / 457.4 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.427, allocations: 45.11 kB / 457.4 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.122e-05/0.427, allocations: 32.56 kB / 457.5 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.015e-05/0.4271, allocations: 64.36 kB / 457.5 MB, free: 38.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.4273, allocations: 141.4 kB / 457.7 MB, free: 38.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4273, allocations: 0 / 457.7 MB, free: 38.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.4273, allocations: 3.469 kB / 457.7 MB, free: 38.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.4273, allocations: 0 / 457.7 MB, free: 38.71 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005949/0.4279, allocations: 432.6 kB / 458.1 MB, free: 38.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.428, allocations: 8.719 kB / 458.1 MB, free: 38.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008132/0.4288, allocations: 117.2 kB / 458.2 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.4289, allocations: 179.3 kB / 458.4 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.576e-05/0.429, allocations: 67.09 kB / 458.4 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.429, allocations: 9.312 kB / 458.5 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/0.4295, allocations: 174.6 kB / 458.6 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.4295, allocations: 3 kB / 458.6 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.4296, allocations: 2.969 kB / 458.6 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.4296, allocations: 0 / 458.6 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005263/0.4301, allocations: 155.8 kB / 458.8 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.4311, allocations: 497.8 kB / 459.3 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000909/0.432, allocations: 224 kB / 459.5 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.4323, allocations: 81.78 kB / 459.6 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.4323, allocations: 0 / 459.6 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.4324, allocations: 41.34 kB / 459.6 MB, free: 37.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 9.71e-07/0.4324, allocations: 0 / 459.6 MB, free: 37.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008913/0.4333, allocations: 262.7 kB / 459.9 MB, free: 37.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.4333, allocations: 52.22 kB / 459.9 MB, free: 37.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.926e-05/0.4334, allocations: 140.8 kB / 460.1 MB, free: 37.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.4334, allocations: 28.58 kB / 460.1 MB, free: 37.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/0.4335, allocations: 109.1 kB / 460.2 MB, free: 37.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.4335, allocations: 25.69 kB / 460.2 MB, free: 37.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.4336, allocations: 26.25 kB / 460.2 MB, free: 37.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.181e-05/0.4337, allocations: 318.4 kB / 460.5 MB, free: 36.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.4339, allocations: 75.5 kB / 460.6 MB, free: 36.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.4342, allocations: 89.92 kB / 460.7 MB, free: 36.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004998/0.4347, allocations: 163.5 kB / 460.9 MB, free: 36.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4347, allocations: 0.875 kB / 460.9 MB, free: 36.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005774/0.4353, allocations: 210 kB / 461.1 MB, free: 36.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.4353, allocations: 9.719 kB / 461.1 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.4353, allocations: 0 / 461.1 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.4354, allocations: 4.438 kB / 461.1 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.4356, allocations: 33.09 kB / 461.1 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.4356, allocations: 2.719 kB / 461.1 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.4358, allocations: 28.84 kB / 461.2 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.4359, allocations: 6.781 kB / 461.2 MB, free: 36.89 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 8.715e-05/0.436, allocations: 121.8 kB / 461.3 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.436, allocations: 11.69 kB / 461.3 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006329/0.4366, allocations: 206.9 kB / 461.5 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.4367, allocations: 0 / 461.5 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.4367, allocations: 0 / 461.5 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4367, allocations: 4.031 kB / 461.5 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.4369, allocations: 236.4 kB / 461.7 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4369, allocations: 0 / 461.7 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.4371, allocations: 34.25 kB / 461.8 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.4371, allocations: 7.938 kB / 461.8 MB, free: 36.53 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.4372, allocations: 6.312 kB / 461.8 MB, free: 36.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4372, allocations: 0 / 461.8 MB, free: 36.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.4372, allocations: 0 / 461.8 MB, free: 36.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006042/0.4378, allocations: 284.6 kB / 462.1 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.084e-05/0.4378, allocations: 89.75 kB / 462.1 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.4379, allocations: 4.281 kB / 462.1 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.4382, allocations: 29.64 kB / 462.2 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/0.4382, allocations: 6.875 kB / 462.2 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.4382, allocations: 7.531 kB / 462.2 MB, free: 36.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.715e-05/0.4383, allocations: 115.1 kB / 462.3 MB, free: 36.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4383, allocations: 5.875 kB / 462.3 MB, free: 36.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.4386, allocations: 26.12 kB / 462.3 MB, free: 36.21 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 (6): * Single equations (assignments): 6 * 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.0001167/0.4387, allocations: 96.66 kB / 462.4 MB, free: 36.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005975/0.4393, allocations: 169 kB / 462.6 MB, free: 36.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4393, allocations: 0 / 462.6 MB, free: 36.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002631/0.4396, allocations: 80.72 kB / 462.7 MB, free: 36.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.4399, allocations: 7.5 kB / 462.7 MB, free: 36.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006099/0.4405, allocations: 289.7 kB / 463 MB, free: 35.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.4407, allocations: 0.7022 MB / 463.7 MB, free: 35.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.641e-05/0.4408, allocations: 12.59 kB / 463.7 MB, free: 35.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.901e-05/0.4408, allocations: 22.66 kB / 463.7 MB, free: 35.23 MB / 382.1 MB Notification: Performance of SimCode: time 1.643e-06/0.4409, allocations: 0 / 463.7 MB, free: 35.23 MB / 382.1 MB Notification: Performance of Templates: time 0.003458/0.4443, allocations: 1.423 MB / 465.1 MB, free: 35.16 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)