Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.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.0008436/0.0008436, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001052/0.001052, allocations: 169 kB / 23.27 MB, free: 1.223 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.092/1.092, allocations: 177.2 MB / 203.7 MB, free: 5.504 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.7765/0.7765, allocations: 154.6 MB / 414.8 MB, free: 0.5117 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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin") translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.5208 GB, free: 1.859 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175e-05/1.317e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.855 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.00174/0.001754, allocations: 1.503 MB / 0.5222 GB, free: 372 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003341/0.002088, allocations: 145.1 kB / 0.5224 GB, free: 228 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.399e-05/0.002122, allocations: 0 / 0.5224 GB, free: 228 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.583e-05/0.002167, allocations: 7.922 kB / 0.5224 GB, free: 220 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.719e-05/0.002235, allocations: 14.38 kB / 0.5224 GB, free: 208 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.002432, allocations: 36.52 kB / 0.5224 GB, free: 172 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.957e-05/0.002512, allocations: 35.92 kB / 0.5225 GB, free: 136 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.691e-05/0.002609, allocations: 17.05 kB / 0.5225 GB, free: 120 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.068e-05/0.002659, allocations: 27.91 kB / 0.5225 GB, free: 92 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.252e-05/0.002692, allocations: 11.98 kB / 0.5225 GB, free: 80 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.002708, allocations: 4.5 kB / 0.5225 GB, free: 76 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.205e-05/0.00278, allocations: 32.66 kB / 0.5226 GB, free: 44 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.002797, allocations: 7.938 kB / 0.5226 GB, free: 36 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.862e-05/0.002815, allocations: 17.19 kB / 0.5226 GB, free: 20 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.002939, allocations: 63.8 kB / 0.5227 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.00294, allocations: 0 / 0.5227 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.91e-07/0.002941, allocations: 0.625 kB / 0.5227 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.464e-06/0.002943, allocations: 0 / 0.5227 GB, free: 15.96 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002906/0.003234, allocations: 378.2 kB / 0.523 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.003268, allocations: 12.02 kB / 0.523 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003282/0.003597, allocations: 82.5 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.195e-05/0.003668, allocations: 120.5 kB / 0.5232 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.118e-06/0.003678, allocations: 5.844 kB / 0.5232 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.003687, allocations: 384 / 0.5232 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.003851, allocations: 107.6 kB / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.003857, allocations: 192 / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.003866, allocations: 4.375 kB / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.003871, allocations: 1.844 kB / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.177e-05/0.003923, allocations: 39.91 kB / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.004281, allocations: 318.1 kB / 0.5237 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.004458, allocations: 82.91 kB / 0.5238 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.817e-05/0.004487, allocations: 19.73 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.004503, allocations: 4 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.004522, allocations: 37.33 kB / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.004522, allocations: 0 / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001492/0.004672, allocations: 65.61 kB / 0.5239 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.004694, allocations: 51.41 kB / 0.5239 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.041e-05/0.004754, allocations: 166 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.004769, allocations: 30.27 kB / 0.5241 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.004815, allocations: 147.3 kB / 0.5243 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.004834, allocations: 7.953 kB / 0.5243 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.004869, allocations: 24.03 kB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.004984, allocations: 0.4923 MB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.396e-05/0.005008, allocations: 9.312 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.007e-05/0.005028, allocations: 4 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.452e-05/0.005073, allocations: 27.67 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.005074, allocations: 6.594 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.095e-05/0.005155, allocations: 57.64 kB / 0.5249 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.005167, allocations: 7.938 kB / 0.5249 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.005172, allocations: 0 / 0.5249 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.00518, allocations: 0 / 0.5249 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.93e-05/0.00526, allocations: 22.72 kB / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.005262, allocations: 0 / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.646e-05/0.005309, allocations: 11.98 kB / 0.5249 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.005316, allocations: 4 kB / 0.5249 GB, free: 13.46 MB / 0.4948 GB 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 (3): * Single equations (assignments): 3 * 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 6.322e-05/0.005379, allocations: 152.6 kB / 0.5251 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.005399, allocations: 11.92 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.005425, allocations: 9 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.005426, allocations: 0 / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.005428, allocations: 0.9375 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.00543, allocations: 3.938 kB / 0.5251 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.005534, allocations: 113.2 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.005535, allocations: 0.9375 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.608e-05/0.005591, allocations: 24.56 kB / 0.5252 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.005592, allocations: 0 / 0.5252 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.0056, allocations: 5.344 kB / 0.5252 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.005602, allocations: 3.938 kB / 0.5252 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.005603, allocations: 0 / 0.5252 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.005733, allocations: 206.6 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-06/0.005738, allocations: 48 / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.00575, allocations: 7.984 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.876e-05/0.005809, allocations: 15.92 kB / 0.5254 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/0.005833, allocations: 7.984 kB / 0.5254 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.005838, allocations: 4 kB / 0.5254 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.655e-05/0.005875, allocations: 126.1 kB / 0.5256 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005875, allocations: 0 / 0.5256 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001459/0.00602, allocations: 19.89 kB / 0.5256 GB, free: 12.72 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 (3): * Single equations (assignments): 3 * 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 6.711e-05/0.006088, allocations: 99.17 kB / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.386e-05/0.006171, allocations: 31.67 kB / 0.5257 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.006172, allocations: 0 / 0.5257 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.559e-05/0.006208, allocations: 31.52 kB / 0.5257 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.006362, allocations: 6.734 kB / 0.5257 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002814/0.006644, allocations: 162.1 kB / 0.5259 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.383e-05/0.006678, allocations: 71.28 kB / 0.526 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.373e-05/0.006711, allocations: 10.97 kB / 0.526 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.323e-05/0.006775, allocations: 70.2 kB / 0.526 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.006775, allocations: 0 / 0.526 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.002131/0.008906, allocations: 1.005 MB / 0.527 GB, free: 11.22 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.692665558308363]