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.001021/0.001021, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007631/0.007631, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.688/1.688, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4437/0.4437, allocations: 55.01 MB / 325.8 MB, free: 0.5273 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.0006569/0.0006569, allocations: 20 kB / 397.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4233, allocations: 60.71 MB / 458 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothBlocks): time 0.002006/0.4254, allocations: 1.45 MB / 459.4 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.4265, allocations: 0.6756 MB / 460.1 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.554e-05/0.4266, allocations: 2.875 kB / 460.1 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.876e-05/0.4266, allocations: 4.5 kB / 460.1 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.032e-05/0.4267, allocations: 15.66 kB / 460.1 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005089/0.4272, allocations: 156.7 kB / 460.3 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.4273, allocations: 124.9 kB / 460.4 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.4275, allocations: 42.02 kB / 460.4 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.4276, allocations: 47.61 kB / 460.5 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.234e-05/0.4277, allocations: 43.05 kB / 460.5 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.4277, allocations: 3.625 kB / 460.5 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.425e-05/0.4278, allocations: 38.89 kB / 460.6 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.148e-05/0.4278, allocations: 22.78 kB / 460.6 MB, free: 38.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.166e-05/0.4279, allocations: 70.94 kB / 460.7 MB, free: 38.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.4281, allocations: 139.7 kB / 460.8 MB, free: 38.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.4281, allocations: 3.375 kB / 460.8 MB, free: 38.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4281, allocations: 0 / 460.8 MB, free: 38.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.4281, allocations: 3.156 kB / 460.8 MB, free: 38.08 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.0004942/0.4286, allocations: 419.1 kB / 461.2 MB, free: 37.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.4286, allocations: 10.47 kB / 461.2 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008354/0.4295, allocations: 141.2 kB / 461.4 MB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.4296, allocations: 183.3 kB / 461.5 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.912e-05/0.4297, allocations: 64.89 kB / 461.6 MB, free: 37.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.4297, allocations: 18.06 kB / 461.6 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000546/0.4303, allocations: 186.3 kB / 461.8 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.4303, allocations: 1.875 kB / 461.8 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/0.4304, allocations: 6.094 kB / 461.8 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.4304, allocations: 0.9375 kB / 461.8 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006676/0.4311, allocations: 190.3 kB / 462 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.4323, allocations: 0.5073 MB / 462.5 MB, free: 37.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.4333, allocations: 270.7 kB / 462.8 MB, free: 37.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.4336, allocations: 104.4 kB / 462.9 MB, free: 37.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.4336, allocations: 3.891 kB / 462.9 MB, free: 37.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.4337, allocations: 37.53 kB / 462.9 MB, free: 37.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.4337, allocations: 0 / 462.9 MB, free: 37.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.001039/0.4347, allocations: 314.4 kB / 463.2 MB, free: 36.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.4348, allocations: 55.34 kB / 463.3 MB, free: 36.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.758e-05/0.4349, allocations: 142.6 kB / 463.4 MB, free: 36.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.4349, allocations: 25.7 kB / 463.4 MB, free: 36.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.321e-05/0.4349, allocations: 115 kB / 463.5 MB, free: 36.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.435, allocations: 14.72 kB / 463.6 MB, free: 36.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.435, allocations: 19.53 kB / 463.6 MB, free: 36.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.938e-05/0.4351, allocations: 321.5 kB / 463.9 MB, free: 36.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/0.4354, allocations: 94.55 kB / 464 MB, free: 36.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.4357, allocations: 112.2 kB / 464.1 MB, free: 36.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005688/0.4363, allocations: 193.5 kB / 464.3 MB, free: 36.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4363, allocations: 0 / 464.3 MB, free: 36.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006789/0.437, allocations: 242.7 kB / 464.5 MB, free: 36.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.437, allocations: 7.25 kB / 464.5 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.437, allocations: 2.5 kB / 464.5 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.4371, allocations: 0 / 464.5 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.4373, allocations: 58.77 kB / 464.6 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.4373, allocations: 0 / 464.6 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.4375, allocations: 31.12 kB / 464.6 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.4376, allocations: 10.06 kB / 464.6 MB, free: 36.2 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.208e-05/0.4376, allocations: 115.4 kB / 464.7 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.4377, allocations: 13.34 kB / 464.8 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006935/0.4384, allocations: 246.5 kB / 465 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4384, allocations: 0.6094 kB / 465 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.4384, allocations: 1.219 kB / 465 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4384, allocations: 0 / 465 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.4386, allocations: 229.4 kB / 465.2 MB, free: 35.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4386, allocations: 0 / 465.2 MB, free: 35.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.4389, allocations: 46.08 kB / 465.3 MB, free: 35.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.4389, allocations: 5.812 kB / 465.3 MB, free: 35.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.4389, allocations: 0 / 465.3 MB, free: 35.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4389, allocations: 0 / 465.3 MB, free: 35.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4389, allocations: 3.188 kB / 465.3 MB, free: 35.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006542/0.4396, allocations: 324.2 kB / 465.6 MB, free: 35.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.4396, allocations: 91.86 kB / 465.7 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.4396, allocations: 3.938 kB / 465.7 MB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.4399, allocations: 49 kB / 465.7 MB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.44, allocations: 6.766 kB / 465.7 MB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.44, allocations: 6.062 kB / 465.7 MB, free: 35.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.679e-05/0.4401, allocations: 109.2 kB / 465.9 MB, free: 35.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4401, allocations: 0 / 465.9 MB, free: 35.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.4403, allocations: 22.34 kB / 465.9 MB, free: 35.5 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.0001107/0.4404, allocations: 100.7 kB / 466 MB, free: 35.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006703/0.4411, allocations: 204.9 kB / 466.2 MB, free: 35.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4411, allocations: 0 / 466.2 MB, free: 35.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003196/0.4414, allocations: 97.45 kB / 466.3 MB, free: 35.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.4418, allocations: 13.69 kB / 466.3 MB, free: 35.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006608/0.4424, allocations: 308.9 kB / 466.6 MB, free: 35.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/0.4426, allocations: 0.7066 MB / 467.3 MB, free: 34.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.928e-05/0.4427, allocations: 15.7 kB / 467.3 MB, free: 34.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.703e-05/0.4428, allocations: 17.17 kB / 467.3 MB, free: 34.5 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4428, allocations: 1.312 kB / 467.3 MB, free: 34.5 MB / 382.1 MB Notification: Performance of Templates: time 0.003942/0.4467, allocations: 1.355 MB / 468.7 MB, free: 34.43 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: