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.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.001083/0.001083, 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.001146/0.001146, allocations: 173 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.028/1.028, allocations: 177.1 MB / 203.8 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7821/0.7821, allocations: 154.6 MB / 414.9 MB, free: 0.6602 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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 1.552e-06/1.552e-06, allocations: 0 / 0.5203 GB, free: 2.504 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.97e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.5 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002225/0.002244, allocations: 1.826 MB / 0.5221 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.003287, allocations: 0.714 MB / 0.5228 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.666e-05/0.003364, allocations: 4 kB / 0.5228 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.919e-05/0.003403, allocations: 12.73 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.829e-05/0.003472, allocations: 17.27 kB / 0.5228 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005225/0.003994, allocations: 177.4 kB / 0.523 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.004163, allocations: 133.2 kB / 0.5231 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.004327, allocations: 33.61 kB / 0.5232 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.004523, allocations: 87.73 kB / 0.5233 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.524e-05/0.004599, allocations: 39.88 kB / 0.5233 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.004624, allocations: 12.81 kB / 0.5233 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.933e-05/0.004723, allocations: 43.97 kB / 0.5234 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.834e-05/0.004751, allocations: 41.11 kB / 0.5234 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.004791, allocations: 31.91 kB / 0.5234 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.00499, allocations: 143.5 kB / 0.5236 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.004992, allocations: 1.344 kB / 0.5236 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.91e-07/0.004992, allocations: 0 / 0.5236 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.004997, allocations: 3.938 kB / 0.5236 GB, free: 15.2 MB / 0.4948 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.0004718/0.005468, allocations: 464.8 kB / 0.524 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.005506, allocations: 8.031 kB / 0.524 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004539/0.00596, allocations: 112.6 kB / 0.5241 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.006169, allocations: 157.9 kB / 0.5243 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-05/0.00624, allocations: 119.3 kB / 0.5244 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.006261, allocations: 8.375 kB / 0.5244 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.006531, allocations: 204.5 kB / 0.5246 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.006538, allocations: 0 / 0.5246 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.006555, allocations: 0 / 0.5246 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.006565, allocations: 4 kB / 0.5246 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.969e-05/0.006654, allocations: 55.97 kB / 0.5246 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006048/0.007259, allocations: 419.5 kB / 0.525 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003141/0.007573, allocations: 152 kB / 0.5252 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.159e-05/0.007625, allocations: 40.73 kB / 0.5252 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.007645, allocations: 0 / 0.5252 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.007671, allocations: 37.39 kB / 0.5253 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.007672, allocations: 0.9375 kB / 0.5253 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0002601/0.007932, allocations: 117.6 kB / 0.5254 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.007967, allocations: 59.84 kB / 0.5254 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.008078, allocations: 200.6 kB / 0.5256 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.008095, allocations: 25.7 kB / 0.5257 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.423e-05/0.00816, allocations: 160.2 kB / 0.5258 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.00818, allocations: 23.8 kB / 0.5258 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.008225, allocations: 35.3 kB / 0.5259 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.008343, allocations: 0.489 MB / 0.5263 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.533e-05/0.008398, allocations: 32.58 kB / 0.5264 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.656e-05/0.008455, allocations: 55.05 kB / 0.5264 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.946e-05/0.008544, allocations: 72.31 kB / 0.5265 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.008546, allocations: 2.438 kB / 0.5265 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001418/0.008688, allocations: 113.5 kB / 0.5266 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.008702, allocations: 9.391 kB / 0.5266 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.008705, allocations: 0 / 0.5266 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.00872, allocations: 7.938 kB / 0.5266 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.008826, allocations: 26.97 kB / 0.5266 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.008832, allocations: 4 kB / 0.5266 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.646e-05/0.008888, allocations: 11.98 kB / 0.5267 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.008899, allocations: 4.312 kB / 0.5267 GB, free: 11.79 MB / 0.4948 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.0001519/0.009051, allocations: 156.6 kB / 0.5268 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.009084, allocations: 19.89 kB / 0.5268 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.009251, allocations: 116.3 kB / 0.5269 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.009254, allocations: 7.938 kB / 0.527 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.009257, allocations: 0 / 0.527 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.00926, allocations: 1.125 kB / 0.527 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.009398, allocations: 157.5 kB / 0.5271 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.0094, allocations: 4 kB / 0.5271 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.97e-05/0.00947, allocations: 21.69 kB / 0.5271 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.009472, allocations: 4 kB / 0.5271 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.009482, allocations: 3.984 kB / 0.5271 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.009483, allocations: 0 / 0.5271 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.009485, allocations: 4.594 kB / 0.5271 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.00965, allocations: 248.5 kB / 0.5274 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.788e-06/0.009659, allocations: 11.91 kB / 0.5274 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.009675, allocations: 0.5312 kB / 0.5274 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.496e-05/0.00977, allocations: 20.5 kB / 0.5274 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.009805, allocations: 9.438 kB / 0.5274 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.009818, allocations: 7.984 kB / 0.5274 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.062e-05/0.009869, allocations: 150.2 kB / 0.5276 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009869, allocations: 0 / 0.5276 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001663/0.01004, allocations: 24.69 kB / 0.5276 GB, free: 10.78 MB / 0.4948 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 7.291e-05/0.01011, allocations: 95.81 kB / 0.5277 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001488/0.01026, allocations: 76.78 kB / 0.5278 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01026, allocations: 0 / 0.5278 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.264e-05/0.01031, allocations: 48.88 kB / 0.5278 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.01051, allocations: 19.92 kB / 0.5278 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005473/0.01105, allocations: 236.7 kB / 0.528 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.267e-05/0.0111, allocations: 63.34 kB / 0.5281 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.911e-05/0.01116, allocations: 15.73 kB / 0.5281 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.01121, allocations: 16.5 kB / 0.5281 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of SimCode: time 1.082e-06/0.01121, allocations: 3.125 kB / 0.5281 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of Templates: time 0.003399/0.01461, allocations: 1.545 MB / 0.5296 GB, free: 8.691 MB / 0.4948 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8632723540067673]