Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001391/0.001391, allocations: 102.2 kB / 16.27 MB, free: 6 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.001213/0.001213, allocations: 191 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8181/0.8181, allocations: 135.2 MB / 426.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.89 kB / 0.506 GB, free: 8.336 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.329, allocations: 80.91 MB / 0.5851 GB, free: 25.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.00278/0.3318, allocations: 1.773 MB / 0.5868 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009865/0.3328, allocations: 0.6515 MB / 0.5874 GB, free: 23.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.299e-05/0.3329, allocations: 3.469 kB / 0.5874 GB, free: 23.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.858e-05/0.333, allocations: 15.8 kB / 0.5874 GB, free: 23.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.593e-05/0.3331, allocations: 14.34 kB / 0.5875 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005434/0.3336, allocations: 165.5 kB / 0.5876 GB, free: 23.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.3338, allocations: 121.9 kB / 0.5877 GB, free: 23.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.3339, allocations: 51.81 kB / 0.5878 GB, free: 23.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.3341, allocations: 56.8 kB / 0.5878 GB, free: 23.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.551e-05/0.3342, allocations: 56.45 kB / 0.5879 GB, free: 23.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.3342, allocations: 10.94 kB / 0.5879 GB, free: 23.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.3343, allocations: 48.67 kB / 0.5879 GB, free: 23.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.393e-05/0.3344, allocations: 25.64 kB / 0.588 GB, free: 23.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.327e-05/0.3344, allocations: 57.77 kB / 0.588 GB, free: 23.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.3347, allocations: 142.5 kB / 0.5882 GB, free: 22.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3347, allocations: 1.125 kB / 0.5882 GB, free: 22.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3347, allocations: 0 / 0.5882 GB, free: 22.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.3347, allocations: 0 / 0.5882 GB, free: 22.96 MB / 446.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.0005562/0.3353, allocations: 443.6 kB / 0.5886 GB, free: 22.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3353, allocations: 12.08 kB / 0.5886 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008769/0.3362, allocations: 117.7 kB / 0.5887 GB, free: 22.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.97e-05/0.3363, allocations: 179.5 kB / 0.5889 GB, free: 22.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.969e-05/0.3364, allocations: 67.3 kB / 0.5889 GB, free: 22.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.3364, allocations: 10.28 kB / 0.589 GB, free: 22.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004881/0.3369, allocations: 166.2 kB / 0.5891 GB, free: 22.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3369, allocations: 1.031 kB / 0.5891 GB, free: 22.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.337, allocations: 13.34 kB / 0.5891 GB, free: 22.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.337, allocations: 3.312 kB / 0.5891 GB, free: 22.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005889/0.3376, allocations: 154.8 kB / 0.5893 GB, free: 22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.3386, allocations: 499.9 kB / 0.5898 GB, free: 21.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009671/0.3396, allocations: 219.7 kB / 0.59 GB, free: 21.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002772/0.3398, allocations: 78.62 kB / 0.59 GB, free: 21.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.3399, allocations: 4 kB / 0.59 GB, free: 21.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.3399, allocations: 32.53 kB / 0.5901 GB, free: 21.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.3399, allocations: 0 / 0.5901 GB, free: 21.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009479/0.3409, allocations: 268.9 kB / 0.5903 GB, free: 20.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.893e-05/0.3409, allocations: 51.41 kB / 0.5904 GB, free: 20.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.271e-05/0.341, allocations: 149.7 kB / 0.5905 GB, free: 20.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.341, allocations: 25.7 kB / 0.5905 GB, free: 20.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.341, allocations: 108.2 kB / 0.5906 GB, free: 20.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.3411, allocations: 19.7 kB / 0.5907 GB, free: 20.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.804e-05/0.3411, allocations: 29.14 kB / 0.5907 GB, free: 20.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.571e-05/0.3412, allocations: 318.8 kB / 0.591 GB, free: 20.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/0.3415, allocations: 76.17 kB / 0.5911 GB, free: 20.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/0.3418, allocations: 91.69 kB / 0.5912 GB, free: 20.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005596/0.3423, allocations: 171.5 kB / 0.5913 GB, free: 19.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3423, allocations: 0 / 0.5913 GB, free: 19.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006165/0.343, allocations: 198.9 kB / 0.5915 GB, free: 19.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.343, allocations: 9.281 kB / 0.5915 GB, free: 19.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.343, allocations: 0 / 0.5915 GB, free: 19.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.343, allocations: 7.875 kB / 0.5915 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.3433, allocations: 42.05 kB / 0.5916 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3433, allocations: 0 / 0.5916 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.3435, allocations: 27.91 kB / 0.5916 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.3435, allocations: 12.73 kB / 0.5916 GB, free: 19.6 MB / 446.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 7.128e-05/0.3436, allocations: 115.2 kB / 0.5917 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.3436, allocations: 7.906 kB / 0.5917 GB, free: 19.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006504/0.3443, allocations: 205.2 kB / 0.5919 GB, free: 19.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3443, allocations: 4 kB / 0.5919 GB, free: 19.26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3443, allocations: 2.312 kB / 0.5919 GB, free: 19.26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3443, allocations: 0 / 0.5919 GB, free: 19.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.3445, allocations: 234.3 kB / 0.5922 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3445, allocations: 0 / 0.5922 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.3447, allocations: 35.89 kB / 0.5922 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3447, allocations: 0.5312 kB / 0.5922 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.3447, allocations: 6.5 kB / 0.5922 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3447, allocations: 0 / 0.5922 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3448, allocations: 128 / 0.5922 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006135/0.3454, allocations: 285.6 kB / 0.5925 GB, free: 18.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.152e-05/0.3454, allocations: 89.02 kB / 0.5926 GB, free: 18.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.3454, allocations: 10.58 kB / 0.5926 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.3457, allocations: 27.95 kB / 0.5926 GB, free: 18.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.3458, allocations: 4 kB / 0.5926 GB, free: 18.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.3458, allocations: 7.984 kB / 0.5926 GB, free: 18.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.627e-05/0.3458, allocations: 108.5 kB / 0.5927 GB, free: 18.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3459, allocations: 0 / 0.5927 GB, free: 18.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.3461, allocations: 27.94 kB / 0.5927 GB, free: 18.37 MB / 446.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.0001072/0.3462, allocations: 100.3 kB / 0.5928 GB, free: 18.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000641/0.3469, allocations: 162.4 kB / 0.593 GB, free: 18.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3469, allocations: 1.625 kB / 0.593 GB, free: 18.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.3472, allocations: 83.86 kB / 0.5931 GB, free: 18.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.3475, allocations: 10.27 kB / 0.5931 GB, free: 18.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006014/0.3481, allocations: 285.8 kB / 0.5933 GB, free: 17.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.3482, allocations: 0.7038 MB / 0.594 GB, free: 16.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.745e-05/0.3483, allocations: 23.36 kB / 0.5941 GB, free: 16.96 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3483, allocations: 5.344 kB / 0.5941 GB, free: 16.96 MB / 446.1 MB Notification: Performance of Templates: time 0.002725/0.351, allocations: 1.594 MB / 0.5956 GB, free: 15.39 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)