Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.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.001453/0.001453, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001549/0.001549, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.502/1.502, allocations: 177.1 MB / 203.1 MB, free: 5.273 MB / 186.7 MB " [Timeout remaining time 178] 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 1.249/1.249, allocations: 154.6 MB / 414.1 MB, free: 0.5664 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 178] 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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.5196 GB, free: 1.441 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.231e-05/3.431e-05, allocations: 4.984 kB / 0.5196 GB, free: 1.438 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.003268/0.003303, allocations: 1.468 MB / 0.5211 GB, free: 15.98 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.004674, allocations: 0.5822 MB / 0.5216 GB, free: 15.4 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.527e-05/0.004739, allocations: 0 / 0.5216 GB, free: 15.4 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.683e-05/0.004776, allocations: 7.922 kB / 0.5216 GB, free: 15.39 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.619e-05/0.004842, allocations: 3.938 kB / 0.5216 GB, free: 15.39 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003565/0.005199, allocations: 59.75 kB / 0.5217 GB, free: 15.33 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.005309, allocations: 28.42 kB / 0.5217 GB, free: 15.3 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.153e-05/0.0054, allocations: 8.969 kB / 0.5217 GB, free: 15.29 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.005562, allocations: 31.84 kB / 0.5218 GB, free: 15.26 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.916e-05/0.005611, allocations: 9.578 kB / 0.5218 GB, free: 15.25 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.005626, allocations: 0 / 0.5218 GB, free: 15.25 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.005767, allocations: 59.88 kB / 0.5218 GB, free: 15.2 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.005784, allocations: 8 kB / 0.5218 GB, free: 15.19 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.005817, allocations: 3.938 kB / 0.5218 GB, free: 15.18 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.005999, allocations: 76.78 kB / 0.5219 GB, free: 15.11 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.006003, allocations: 0 / 0.5219 GB, free: 15.11 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.006004, allocations: 1.406 kB / 0.5219 GB, free: 15.11 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.006008, allocations: 0 / 0.5219 GB, free: 15.11 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005116/0.00652, allocations: 286 kB / 0.5222 GB, free: 14.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.006563, allocations: 17.12 kB / 0.5222 GB, free: 14.79 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.00673, allocations: 16.88 kB / 0.5222 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.006948, allocations: 117.7 kB / 0.5223 GB, free: 14.63 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.006958, allocations: 1.062 kB / 0.5223 GB, free: 14.63 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.006975, allocations: 9.656 kB / 0.5223 GB, free: 14.62 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.007125, allocations: 46.23 kB / 0.5224 GB, free: 14.57 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.007133, allocations: 192 / 0.5224 GB, free: 14.57 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.007146, allocations: 4.375 kB / 0.5224 GB, free: 14.57 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.007153, allocations: 5.062 kB / 0.5224 GB, free: 14.56 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.327e-05/0.007246, allocations: 15.98 kB / 0.5224 GB, free: 14.55 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.007593, allocations: 205.1 kB / 0.5226 GB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.0077, allocations: 35 kB / 0.5226 GB, free: 14.27 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.019e-05/0.00775, allocations: 10.8 kB / 0.5226 GB, free: 14.26 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006975/0.008447, allocations: 97.45 kB / 0.5227 GB, free: 14.17 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.008484, allocations: 34.5 kB / 0.5228 GB, free: 14.12 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.008485, allocations: 1.469 kB / 0.5228 GB, free: 14.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002905/0.008776, allocations: 65.67 kB / 0.5228 GB, free: 14.05 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.008828, allocations: 56.31 kB / 0.5229 GB, free: 13.99 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.008956, allocations: 113.8 kB / 0.523 GB, free: 13.87 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.008979, allocations: 25.7 kB / 0.523 GB, free: 13.84 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.00905, allocations: 89.61 kB / 0.5231 GB, free: 13.75 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.009071, allocations: 7.891 kB / 0.5231 GB, free: 13.74 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.009115, allocations: 17.7 kB / 0.5231 GB, free: 13.71 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.009314, allocations: 314.8 kB / 0.5234 GB, free: 13.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.736e-05/0.009362, allocations: 8.5 kB / 0.5234 GB, free: 13.39 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.961e-05/0.009401, allocations: 13.02 kB / 0.5235 GB, free: 13.38 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.575e-05/0.009487, allocations: 25.97 kB / 0.5235 GB, free: 13.35 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.009489, allocations: 0 / 0.5235 GB, free: 13.35 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001368/0.009626, allocations: 59.86 kB / 0.5235 GB, free: 13.29 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.009646, allocations: 11.94 kB / 0.5235 GB, free: 13.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.009651, allocations: 0 / 0.5235 GB, free: 13.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.009669, allocations: 0 / 0.5235 GB, free: 13.28 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.24e-05/0.009751, allocations: 11.98 kB / 0.5236 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.009756, allocations: 2.156 kB / 0.5236 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.434e-05/0.00979, allocations: 4 kB / 0.5236 GB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.009796, allocations: 3.938 kB / 0.5236 GB, free: 13.26 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 9.759e-05/0.009893, allocations: 105.8 kB / 0.5237 GB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.009923, allocations: 7.938 kB / 0.5237 GB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001919/0.01012, allocations: 67.69 kB / 0.5237 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01012, allocations: 0 / 0.5237 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.01012, allocations: 0 / 0.5237 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.01013, allocations: 11.92 kB / 0.5238 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.0103, allocations: 101.3 kB / 0.5238 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.0103, allocations: 2.094 kB / 0.5239 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.592e-05/0.01035, allocations: 7.984 kB / 0.5239 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.01035, allocations: 0 / 0.5239 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.01036, allocations: 11.94 kB / 0.5239 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.01036, allocations: 0 / 0.5239 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.01036, allocations: 3.984 kB / 0.5239 GB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.01057, allocations: 156.5 kB / 0.524 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.457e-06/0.01058, allocations: 4.938 kB / 0.524 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.0106, allocations: 3.938 kB / 0.524 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.409e-05/0.01066, allocations: 4 kB / 0.524 GB, free: 12.72 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.01069, allocations: 3.25 kB / 0.524 GB, free: 12.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.0107, allocations: 3.984 kB / 0.524 GB, free: 12.72 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.854e-05/0.01077, allocations: 91.22 kB / 0.5241 GB, free: 12.63 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01077, allocations: 0 / 0.5241 GB, free: 12.63 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002477/0.01102, allocations: 19.92 kB / 0.5241 GB, free: 12.61 MB / 458.7 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 (2): * Single equations (assignments): 2 * 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.0002043/0.01122, allocations: 107.2 kB / 0.5243 GB, free: 12.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001385/0.01136, allocations: 26.83 kB / 0.5243 GB, free: 12.47 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.01136, allocations: 0 / 0.5243 GB, free: 12.47 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.889e-05/0.01141, allocations: 11.98 kB / 0.5243 GB, free: 12.46 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.01163, allocations: 6.5 kB / 0.5243 GB, free: 12.46 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.01198, allocations: 132.5 kB / 0.5244 GB, free: 12.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.667e-05/0.01207, allocations: 68.77 kB / 0.5245 GB, free: 12.21 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.794e-05/0.0121, allocations: 11.92 kB / 0.5245 GB, free: 12.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.68e-05/0.01212, allocations: 8.5 kB / 0.5245 GB, free: 12.2 MB / 458.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01212, allocations: 1.281 kB / 0.5245 GB, free: 12.2 MB / 458.7 MB Notification: Performance of Templates: time 0.003345/0.01547, allocations: 0.6866 MB / 0.5252 GB, free: 11.55 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.847303870948963]