Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9052/0.9052, allocations: 134 MB / 438.5 MB, free: 13.68 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003022/0.003022, allocations: 63.89 kB / 0.6084 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.543/0.5461, allocations: 84.69 MB / 0.6911 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002523/0.5486, allocations: 1.783 MB / 0.6928 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009471/0.5495, allocations: 0.6682 MB / 0.6935 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.811e-05/0.5496, allocations: 1.062 kB / 0.6935 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.008e-05/0.5496, allocations: 15.8 kB / 0.6935 GB, free: 248 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.69e-05/0.5497, allocations: 22.11 kB / 0.6935 GB, free: 228 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/0.5502, allocations: 172.5 kB / 0.6937 GB, free: 112 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.5503, allocations: 117.7 kB / 0.6938 GB, free: 48 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.5504, allocations: 48.69 kB / 0.6938 GB, free: 12 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.5506, allocations: 56.77 kB / 0.6939 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.783e-05/0.5507, allocations: 48.41 kB / 0.6939 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.5507, allocations: 15.22 kB / 0.6939 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.5508, allocations: 50.83 kB / 0.694 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.432e-05/0.5508, allocations: 29.84 kB / 0.694 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.269e-05/0.5509, allocations: 53.41 kB / 0.6941 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.5511, allocations: 152.7 kB / 0.6942 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5511, allocations: 0 / 0.6942 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5511, allocations: 0 / 0.6942 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.5511, allocations: 0 / 0.6942 GB, free: 15.75 MB / 0.5137 GB 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.0006663/0.5518, allocations: 435 kB / 0.6946 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.5518, allocations: 13.47 kB / 0.6946 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008341/0.5527, allocations: 120.5 kB / 0.6947 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.5529, allocations: 178.1 kB / 0.6949 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.553, allocations: 70.8 kB / 0.695 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.553, allocations: 10.03 kB / 0.695 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005241/0.5536, allocations: 169.8 kB / 0.6952 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.5536, allocations: 0 / 0.6952 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.5536, allocations: 1.125 kB / 0.6952 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.5536, allocations: 2.312 kB / 0.6952 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006041/0.5542, allocations: 160.1 kB / 0.6953 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.5553, allocations: 492.4 kB / 0.6958 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.5565, allocations: 217.3 kB / 0.696 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/0.5568, allocations: 81.97 kB / 0.6961 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.5568, allocations: 1.375 kB / 0.6961 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.5568, allocations: 31.94 kB / 0.6961 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.804e-06/0.5568, allocations: 0 / 0.6961 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.001008/0.5578, allocations: 263.6 kB / 0.6963 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.5579, allocations: 56.72 kB / 0.6964 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.558, allocations: 136.1 kB / 0.6965 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.5581, allocations: 35.08 kB / 0.6966 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.945e-05/0.5582, allocations: 117.7 kB / 0.6967 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.5582, allocations: 14.59 kB / 0.6967 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.797e-05/0.5582, allocations: 24.58 kB / 0.6967 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.5584, allocations: 320.2 kB / 0.697 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/0.5587, allocations: 78.17 kB / 0.6971 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.559, allocations: 93.59 kB / 0.6972 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005716/0.5596, allocations: 165.1 kB / 0.6973 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5596, allocations: 3.938 kB / 0.6973 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006576/0.5602, allocations: 205.1 kB / 0.6975 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.5602, allocations: 5.781 kB / 0.6975 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5602, allocations: 1.406 kB / 0.6975 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.5603, allocations: 9.156 kB / 0.6976 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/0.5606, allocations: 33.67 kB / 0.6976 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.5607, allocations: 1.281 kB / 0.6976 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.5608, allocations: 25.97 kB / 0.6976 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.5609, allocations: 11.27 kB / 0.6976 GB, free: 12.93 MB / 0.5137 GB 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 0.0001294/0.561, allocations: 118 kB / 0.6977 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.561, allocations: 11.45 kB / 0.6977 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000703/0.5617, allocations: 211.2 kB / 0.6979 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.5617, allocations: 0.8438 kB / 0.698 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.5617, allocations: 0 / 0.698 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.5618, allocations: 1.562 kB / 0.698 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/0.5621, allocations: 246.4 kB / 0.6982 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5621, allocations: 0 / 0.6982 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.5623, allocations: 30.95 kB / 0.6982 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5623, allocations: 0 / 0.6982 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.5623, allocations: 9.312 kB / 0.6982 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.5623, allocations: 1.562 kB / 0.6982 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5623, allocations: 0 / 0.6982 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007374/0.563, allocations: 286.6 kB / 0.6985 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.121e-05/0.5631, allocations: 83.28 kB / 0.6986 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.5632, allocations: 17.05 kB / 0.6986 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003061/0.5635, allocations: 29.08 kB / 0.6986 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.5635, allocations: 1.281 kB / 0.6986 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.5635, allocations: 7.734 kB / 0.6986 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001097/0.5636, allocations: 103.6 kB / 0.6987 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.5636, allocations: 4 kB / 0.6987 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002845/0.5639, allocations: 22.84 kB / 0.6988 GB, free: 11.94 MB / 0.5137 GB 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.0001625/0.5641, allocations: 99.2 kB / 0.6989 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007784/0.5649, allocations: 167 kB / 0.699 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5649, allocations: 0 / 0.699 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002933/0.5652, allocations: 73.11 kB / 0.6991 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.5656, allocations: 8.094 kB / 0.6991 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.5666, allocations: 280.7 kB / 0.6994 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006026/0.5672, allocations: 0.7011 MB / 0.7 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001088/0.5673, allocations: 18.19 kB / 0.7001 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.772e-05/0.5674, allocations: 15.95 kB / 0.7001 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of SimCode: time 6.81e-07/0.5674, allocations: 0 / 0.7001 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of Templates: time 0.004855/0.5723, allocations: 1.506 MB / 0.7015 GB, free: 10.02 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9722076915204525]