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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 173.3 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.009/1.009, allocations: 177.1 MB / 203.8 MB, free: 5.188 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.807/0.807, allocations: 154.8 MB / 415.1 MB, free: 472 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 0.5206 GB, free: 2.262 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.05e-05/3.308e-05, allocations: 4.141 kB / 0.5206 GB, free: 2.258 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002517/0.00255, allocations: 1.819 MB / 0.5224 GB, free: 464 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.003669, allocations: 0.7141 MB / 0.5231 GB, free: 15.73 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.941e-05/0.003769, allocations: 0 / 0.5231 GB, free: 15.73 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 4.177e-05/0.00381, allocations: 13.39 kB / 0.5231 GB, free: 15.72 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 7.037e-05/0.003881, allocations: 19.75 kB / 0.5231 GB, free: 15.7 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005555/0.004436, allocations: 183.1 kB / 0.5233 GB, free: 15.53 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.004628, allocations: 127.6 kB / 0.5234 GB, free: 15.4 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.004796, allocations: 33.56 kB / 0.5234 GB, free: 15.37 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.004978, allocations: 88.55 kB / 0.5235 GB, free: 15.28 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 6.86e-05/0.005046, allocations: 35.88 kB / 0.5235 GB, free: 15.25 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.005069, allocations: 11.16 kB / 0.5236 GB, free: 15.24 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 9.934e-05/0.005169, allocations: 55.89 kB / 0.5236 GB, free: 15.18 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 2.811e-05/0.005197, allocations: 35.89 kB / 0.5236 GB, free: 15.15 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.005233, allocations: 27.92 kB / 0.5237 GB, free: 15.12 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.005432, allocations: 151.4 kB / 0.5238 GB, free: 14.97 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.005434, allocations: 0 / 0.5238 GB, free: 14.97 MB / 0.4949 GB Notification: Performance of FrontEnd: time 9.42e-07/0.005435, allocations: 0 / 0.5238 GB, free: 14.97 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.005439, allocations: 0 / 0.5238 GB, free: 14.97 MB / 0.4949 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.0004721/0.005911, allocations: 456.6 kB / 0.5242 GB, free: 14.49 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.005949, allocations: 12.56 kB / 0.5243 GB, free: 14.48 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004672/0.006417, allocations: 111.6 kB / 0.5244 GB, free: 14.38 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.006624, allocations: 157.5 kB / 0.5245 GB, free: 14.2 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-05/0.006709, allocations: 115.4 kB / 0.5246 GB, free: 14.06 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.006732, allocations: 13.25 kB / 0.5246 GB, free: 14.05 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.007023, allocations: 204.4 kB / 0.5248 GB, free: 13.83 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.007032, allocations: 0 / 0.5248 GB, free: 13.83 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.00705, allocations: 1.25 kB / 0.5248 GB, free: 13.83 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.00706, allocations: 0 / 0.5248 GB, free: 13.83 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.872e-05/0.007159, allocations: 61.84 kB / 0.5249 GB, free: 13.77 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006225/0.007781, allocations: 427.1 kB / 0.5253 GB, free: 13.32 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.008074, allocations: 140.3 kB / 0.5254 GB, free: 13.17 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.243e-05/0.008126, allocations: 38.67 kB / 0.5255 GB, free: 13.13 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.008145, allocations: 7.938 kB / 0.5255 GB, free: 13.12 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.008171, allocations: 37.39 kB / 0.5255 GB, free: 13.08 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.008172, allocations: 0 / 0.5255 GB, free: 13.08 MB / 0.4949 GB Notification: Performance of matching and sorting (n=6): time 0.0002675/0.00844, allocations: 121.8 kB / 0.5256 GB, free: 12.95 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.008469, allocations: 55.34 kB / 0.5257 GB, free: 12.89 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.008594, allocations: 203.3 kB / 0.5259 GB, free: 12.68 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.008615, allocations: 33.7 kB / 0.5259 GB, free: 12.64 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.00868, allocations: 155 kB / 0.5261 GB, free: 12.48 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.008702, allocations: 19.8 kB / 0.5261 GB, free: 12.46 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.008746, allocations: 27.36 kB / 0.5261 GB, free: 12.43 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.008867, allocations: 0.4923 MB / 0.5266 GB, free: 11.92 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.079e-05/0.008917, allocations: 31.92 kB / 0.5266 GB, free: 11.89 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.048e-05/0.008978, allocations: 51.83 kB / 0.5267 GB, free: 11.83 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.975e-05/0.009078, allocations: 76.11 kB / 0.5267 GB, free: 11.74 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.009081, allocations: 4 kB / 0.5267 GB, free: 11.74 MB / 0.4949 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001551/0.009236, allocations: 106.4 kB / 0.5268 GB, free: 11.63 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.009251, allocations: 9.562 kB / 0.5268 GB, free: 11.62 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.009256, allocations: 3.938 kB / 0.5269 GB, free: 11.62 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.00927, allocations: 3.938 kB / 0.5269 GB, free: 11.61 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.009382, allocations: 30.41 kB / 0.5269 GB, free: 11.59 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.009388, allocations: 0 / 0.5269 GB, free: 11.59 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.117e-05/0.009449, allocations: 15.94 kB / 0.5269 GB, free: 11.57 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.009459, allocations: 7.984 kB / 0.5269 GB, free: 11.56 MB / 0.4949 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 8.513e-05/0.009544, allocations: 164.5 kB / 0.5271 GB, free: 11.39 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.009573, allocations: 10.64 kB / 0.5271 GB, free: 11.38 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.009744, allocations: 114.3 kB / 0.5272 GB, free: 11.26 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.009747, allocations: 3.938 kB / 0.5272 GB, free: 11.26 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.00975, allocations: 0 / 0.5272 GB, free: 11.26 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.009753, allocations: 4 kB / 0.5272 GB, free: 11.25 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.009891, allocations: 158.4 kB / 0.5273 GB, free: 11.07 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.009892, allocations: 0 / 0.5273 GB, free: 11.07 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.375e-05/0.009966, allocations: 25.09 kB / 0.5274 GB, free: 11.04 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.009968, allocations: 0 / 0.5274 GB, free: 11.04 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.009982, allocations: 8.172 kB / 0.5274 GB, free: 11.04 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.009984, allocations: 10.81 kB / 0.5274 GB, free: 11.03 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.009986, allocations: 3.938 kB / 0.5274 GB, free: 11.02 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.01016, allocations: 243.8 kB / 0.5276 GB, free: 10.77 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.01017, allocations: 7.906 kB / 0.5276 GB, free: 10.76 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.01019, allocations: 4 kB / 0.5276 GB, free: 10.75 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.432e-05/0.01028, allocations: 19.97 kB / 0.5277 GB, free: 10.73 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.01032, allocations: 15.55 kB / 0.5277 GB, free: 10.72 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.01033, allocations: 4 kB / 0.5277 GB, free: 10.72 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 5.558e-05/0.01039, allocations: 149.8 kB / 0.5278 GB, free: 10.57 MB / 0.4949 GB Notification: Performance of sort global known variables: time 5e-08/0.01039, allocations: 0 / 0.5278 GB, free: 10.57 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0001786/0.01056, allocations: 27.94 kB / 0.5278 GB, free: 10.55 MB / 0.4949 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 8.838e-05/0.01065, allocations: 91.25 kB / 0.5279 GB, free: 10.45 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0001607/0.01081, allocations: 79.58 kB / 0.528 GB, free: 10.37 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01081, allocations: 3.406 kB / 0.528 GB, free: 10.37 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 5.205e-05/0.01087, allocations: 39.67 kB / 0.528 GB, free: 10.32 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.01106, allocations: 19.98 kB / 0.5281 GB, free: 10.3 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005353/0.0116, allocations: 234.5 kB / 0.5283 GB, free: 10.04 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.364e-05/0.01164, allocations: 63.34 kB / 0.5283 GB, free: 9.961 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 6.308e-05/0.01171, allocations: 19.36 kB / 0.5284 GB, free: 9.945 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/0.01176, allocations: 13.06 kB / 0.5284 GB, free: 9.934 MB / 0.4949 GB Notification: Performance of SimCode: time 1.102e-06/0.01176, allocations: 0.75 kB / 0.5284 GB, free: 9.934 MB / 0.4949 GB Notification: Performance of Templates: time 0.003103/0.01486, allocations: 1.55 MB / 0.5299 GB, free: 8.453 MB / 0.4949 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8445236559491605]