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.002494/0.002494, allocations: 85.48 kB / 19.44 MB, free: 344 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.003161/0.003161, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.547/1.547, allocations: 177.1 MB / 203.1 MB, free: 5.629 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.303/1.303, allocations: 154.6 MB / 414.2 MB, free: 0.6406 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.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 2.315e-06/2.315e-06, allocations: 0 / 0.5196 GB, free: 2.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.674e-05/3.905e-05, allocations: 4.281 kB / 0.5196 GB, free: 2.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.004741/0.00478, allocations: 1.485 MB / 0.5211 GB, free: 1.055 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007149/0.005495, allocations: 144.3 kB / 0.5212 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.012e-05/0.005535, allocations: 0 / 0.5212 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 8.151e-05/0.005616, allocations: 5.438 kB / 0.5212 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.285e-05/0.005699, allocations: 0 / 0.5212 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.006055, allocations: 35.83 kB / 0.5213 GB, free: 0.875 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.006204, allocations: 44.97 kB / 0.5213 GB, free: 0.832 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.006375, allocations: 15.92 kB / 0.5213 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.771e-05/0.006473, allocations: 27.91 kB / 0.5213 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.974e-05/0.006543, allocations: 16.67 kB / 0.5214 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.006572, allocations: 4 kB / 0.5214 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.006718, allocations: 25.27 kB / 0.5214 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.097e-05/0.006759, allocations: 19.91 kB / 0.5214 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.381e-05/0.006803, allocations: 8 kB / 0.5214 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.00706, allocations: 76.27 kB / 0.5215 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.517e-06/0.007069, allocations: 5.031 kB / 0.5215 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.00707, allocations: 0 / 0.5215 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.007075, allocations: 0 / 0.5215 GB, free: 0.6406 MB / 490.7 MB 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.0007336/0.007808, allocations: 376.7 kB / 0.5218 GB, free: 240 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.007859, allocations: 12.64 kB / 0.5219 GB, free: 228 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/0.00935, allocations: 150.7 kB / 0.522 GB, free: 80 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.009556, allocations: 116.5 kB / 0.5221 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.009587, allocations: 9.688 kB / 0.5221 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.009614, allocations: 4.359 kB / 0.5221 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008516/0.01047, allocations: 159.5 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.01048, allocations: 192 / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.0105, allocations: 384 / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.01051, allocations: 4.312 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.01164, allocations: 213.6 kB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.01312, allocations: 386 kB / 0.5229 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.01463, allocations: 216.3 kB / 0.5231 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004568/0.01509, allocations: 80.77 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.208e-05/0.01513, allocations: 8.562 kB / 0.5231 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/0.01518, allocations: 42.8 kB / 0.5232 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.01518, allocations: 0 / 0.5232 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.001589/0.01677, allocations: 227.3 kB / 0.5234 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.01683, allocations: 51.41 kB / 0.5235 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.01706, allocations: 170.9 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/0.01711, allocations: 37.64 kB / 0.5237 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.01724, allocations: 134.8 kB / 0.5238 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.25e-05/0.0173, allocations: 16.88 kB / 0.5238 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.169e-05/0.01739, allocations: 19.38 kB / 0.5238 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004137/0.0178, allocations: 0.4916 MB / 0.5243 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004645/0.01827, allocations: 67.92 kB / 0.5244 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004349/0.0187, allocations: 67.92 kB / 0.5244 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009175/0.01962, allocations: 122.6 kB / 0.5245 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.01962, allocations: 0 / 0.5245 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0009991/0.02062, allocations: 165.5 kB / 0.5247 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.02065, allocations: 4 kB / 0.5247 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.02066, allocations: 1.5 kB / 0.5247 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.02068, allocations: 4 kB / 0.5247 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/0.02101, allocations: 23.91 kB / 0.5247 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.02102, allocations: 1.281 kB / 0.5247 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.02123, allocations: 19.97 kB / 0.5248 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.02126, allocations: 4 kB / 0.5248 GB, free: 13.11 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 0.000187/0.02145, allocations: 161.2 kB / 0.5249 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/0.02152, allocations: 8.562 kB / 0.5249 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.069e-05/0.02159, allocations: 8.5 kB / 0.5249 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.02159, allocations: 2.469 kB / 0.5249 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.0216, allocations: 0 / 0.5249 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.0216, allocations: 336 / 0.5249 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004083/0.02201, allocations: 148.6 kB / 0.5251 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.02201, allocations: 0 / 0.5251 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003131/0.02232, allocations: 27.97 kB / 0.5251 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.02233, allocations: 6.375 kB / 0.5251 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.02236, allocations: 3.984 kB / 0.5251 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.02236, allocations: 3.938 kB / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.02236, allocations: 0 / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.02351, allocations: 317.5 kB / 0.5254 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.02352, allocations: 0 / 0.5254 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.02356, allocations: 3.938 kB / 0.5254 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.02383, allocations: 21.47 kB / 0.5254 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.02388, allocations: 0 / 0.5254 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.0239, allocations: 4 kB / 0.5254 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00013/0.02403, allocations: 131.2 kB / 0.5256 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.2e-07/0.02403, allocations: 0.9688 kB / 0.5256 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004498/0.02448, allocations: 16 kB / 0.5256 GB, free: 12.2 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 0.000203/0.02468, allocations: 91.84 kB / 0.5257 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001024/0.02571, allocations: 149.5 kB / 0.5258 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.02571, allocations: 1.125 kB / 0.5258 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004913/0.0262, allocations: 83.55 kB / 0.5259 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.02666, allocations: 16.64 kB / 0.5259 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.02802, allocations: 229.4 kB / 0.5261 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.02815, allocations: 75.33 kB / 0.5262 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001337/0.02828, allocations: 14.48 kB / 0.5262 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.898e-05/0.02837, allocations: 8.5 kB / 0.5262 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of SimCode: time 8.41e-07/0.02837, allocations: 1.281 kB / 0.5262 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of Templates: time 0.006325/0.0347, allocations: 0.9551 MB / 0.5272 GB, free: 10.57 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: 6.0298506350954995]