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.0007906/0.0007906, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001732/0.001732, allocations: 168.7 kB / 15.95 MB, free: 200 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.751/1.751, allocations: 205.4 MB / 222.1 MB, free: 5.883 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4317/0.4317, allocations: 55.02 MB / 325.4 MB, free: 0.6562 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.0006037/0.0006039, allocations: 12 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4266/0.4272, allocations: 60.73 MB / 457.4 MB, free: 37.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothBlocks): time 0.001918/0.4292, allocations: 1.414 MB / 458.8 MB, free: 37.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000887/0.4301, allocations: 0.645 MB / 459.4 MB, free: 37.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.072e-05/0.4301, allocations: 4.188 kB / 459.4 MB, free: 37.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.022e-05/0.4302, allocations: 10.36 kB / 459.4 MB, free: 37.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.502e-05/0.4302, allocations: 11.27 kB / 459.5 MB, free: 37.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004982/0.4307, allocations: 149.3 kB / 459.6 MB, free: 37.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.4309, allocations: 99.47 kB / 459.7 MB, free: 37.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.431, allocations: 43.78 kB / 459.7 MB, free: 37.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.4311, allocations: 48.19 kB / 459.8 MB, free: 37.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.692e-05/0.4312, allocations: 45.56 kB / 459.8 MB, free: 37.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.4312, allocations: 5.312 kB / 459.8 MB, free: 37.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.585e-05/0.4313, allocations: 34.38 kB / 459.9 MB, free: 37.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.882e-05/0.4314, allocations: 23.89 kB / 459.9 MB, free: 37.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.4314, allocations: 38.61 kB / 459.9 MB, free: 37.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.4315, allocations: 95.05 kB / 460 MB, free: 37.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4316, allocations: 0.9688 kB / 460 MB, free: 37.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4316, allocations: 0 / 460 MB, free: 37.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.4316, allocations: 0 / 460 MB, free: 37.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.0004671/0.4321, allocations: 419.5 kB / 460.4 MB, free: 37.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.4321, allocations: 12.11 kB / 460.4 MB, free: 37.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007226/0.4328, allocations: 138.9 kB / 460.6 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.4329, allocations: 183.9 kB / 460.8 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.19e-05/0.433, allocations: 70.77 kB / 460.8 MB, free: 37.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.4331, allocations: 9.25 kB / 460.8 MB, free: 37.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004422/0.4335, allocations: 185.9 kB / 461 MB, free: 37.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.4335, allocations: 0.5 kB / 461 MB, free: 37.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.4336, allocations: 4.922 kB / 461 MB, free: 37.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.4336, allocations: 3.469 kB / 461 MB, free: 37.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005045/0.4341, allocations: 191.4 kB / 461.2 MB, free: 37.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009017/0.435, allocations: 0.5026 MB / 461.7 MB, free: 36.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008254/0.4358, allocations: 271.6 kB / 462 MB, free: 36.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/0.4361, allocations: 102.5 kB / 462.1 MB, free: 36.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.4362, allocations: 5.594 kB / 462.1 MB, free: 36.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.4362, allocations: 36.58 kB / 462.1 MB, free: 36.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.4362, allocations: 0 / 462.1 MB, free: 36.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009577/0.4372, allocations: 315.1 kB / 462.4 MB, free: 36.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.4372, allocations: 55.41 kB / 462.5 MB, free: 36.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.4373, allocations: 136.6 kB / 462.6 MB, free: 36.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.4373, allocations: 29.14 kB / 462.7 MB, free: 36.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.263e-05/0.4374, allocations: 113 kB / 462.8 MB, free: 36.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.4374, allocations: 16.81 kB / 462.8 MB, free: 36.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.046e-05/0.4375, allocations: 3.656 kB / 462.8 MB, free: 36.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.817e-05/0.4375, allocations: 317.2 kB / 463.1 MB, free: 35.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.4378, allocations: 98.23 kB / 463.2 MB, free: 35.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.4381, allocations: 109.2 kB / 463.3 MB, free: 35.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.4384, allocations: 94.62 kB / 463.4 MB, free: 35.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4384, allocations: 1.125 kB / 463.4 MB, free: 35.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005647/0.439, allocations: 238.8 kB / 463.6 MB, free: 35.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.439, allocations: 9.078 kB / 463.6 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.439, allocations: 0 / 463.6 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.439, allocations: 2.656 kB / 463.6 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.4393, allocations: 47.56 kB / 463.7 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.4393, allocations: 2.188 kB / 463.7 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.4394, allocations: 37.19 kB / 463.7 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.4395, allocations: 3 kB / 463.7 MB, free: 35.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.014e-05/0.4395, allocations: 122.8 kB / 463.8 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.4396, allocations: 10 kB / 463.9 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000592/0.4402, allocations: 246.7 kB / 464.1 MB, free: 35.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4402, allocations: 1.875 kB / 464.1 MB, free: 35.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.4402, allocations: 0 / 464.1 MB, free: 35.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4402, allocations: 5.719 kB / 464.1 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.4404, allocations: 235.8 kB / 464.3 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4404, allocations: 0.625 kB / 464.3 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.4406, allocations: 43.69 kB / 464.4 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4406, allocations: 4 kB / 464.4 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.4406, allocations: 10.61 kB / 464.4 MB, free: 35.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.4407, allocations: 1.375 kB / 464.4 MB, free: 35.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4407, allocations: 0 / 464.4 MB, free: 35.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005412/0.4412, allocations: 317.4 kB / 464.7 MB, free: 35.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.367e-05/0.4412, allocations: 81.02 kB / 464.8 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.4413, allocations: 9.047 kB / 464.8 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.4415, allocations: 45.8 kB / 464.8 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.4416, allocations: 6.047 kB / 464.8 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.4416, allocations: 7.078 kB / 464.8 MB, free: 35.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.211e-05/0.4416, allocations: 109.4 kB / 464.9 MB, free: 35.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4416, allocations: 0 / 464.9 MB, free: 35.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.4419, allocations: 27.28 kB / 465 MB, free: 35.19 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 (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 8.833e-05/0.442, allocations: 97.69 kB / 465.1 MB, free: 35.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005525/0.4425, allocations: 198.6 kB / 465.3 MB, free: 35.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4426, allocations: 0.625 kB / 465.3 MB, free: 35.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002626/0.4428, allocations: 101.2 kB / 465.4 MB, free: 35.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.4431, allocations: 10.45 kB / 465.4 MB, free: 35.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005561/0.4437, allocations: 304.6 kB / 465.7 MB, free: 34.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.4438, allocations: 0.6986 MB / 466.4 MB, free: 34.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.675e-05/0.4439, allocations: 20.84 kB / 466.4 MB, free: 34.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.206e-05/0.444, allocations: 10.94 kB / 466.4 MB, free: 34.2 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.444, allocations: 0 / 466.4 MB, free: 34.2 MB / 382.1 MB Notification: Performance of Templates: time 0.003532/0.4475, allocations: 1.314 MB / 467.7 MB, free: 34.13 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: