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.001435/0.001435, 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.001694/0.001694, 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.503/1.503, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.2 MB, free: 0.625 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 4.268e-06/4.268e-06, allocations: 3.984 kB / 0.5196 GB, free: 2.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/3.266e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002846/0.002879, allocations: 1.479 MB / 0.5211 GB, free: 1.047 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004334/0.003312, allocations: 135.4 kB / 0.5212 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.012e-05/0.003342, allocations: 1.219 kB / 0.5212 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.183e-05/0.003394, allocations: 7.922 kB / 0.5212 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.562e-05/0.00346, allocations: 8.5 kB / 0.5212 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.003705, allocations: 41.7 kB / 0.5213 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.003805, allocations: 31.92 kB / 0.5213 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.003926, allocations: 23.92 kB / 0.5213 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.306e-05/0.003989, allocations: 23.92 kB / 0.5213 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.79e-05/0.004037, allocations: 19.97 kB / 0.5214 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.004056, allocations: 5.625 kB / 0.5214 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.163e-05/0.004148, allocations: 27.97 kB / 0.5214 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.502e-05/0.004173, allocations: 11.94 kB / 0.5214 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.004204, allocations: 11.98 kB / 0.5214 GB, free: 0.707 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.004365, allocations: 67.78 kB / 0.5215 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.004368, allocations: 1.281 kB / 0.5215 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.376e-06/0.004372, allocations: 4 kB / 0.5215 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.004376, allocations: 0 / 0.5215 GB, free: 0.6367 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.0005417/0.004918, allocations: 278.8 kB / 0.5217 GB, free: 340 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.004956, allocations: 12.77 kB / 0.5218 GB, free: 328 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/0.006184, allocations: 215.2 kB / 0.522 GB, free: 116 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.006344, allocations: 125.6 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.006362, allocations: 8 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.006382, allocations: 4.375 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006341/0.007016, allocations: 190 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.007027, allocations: 192 / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.007047, allocations: 4.375 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.007052, allocations: 384 / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009466/0.007999, allocations: 282.1 kB / 0.5226 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.009001, allocations: 362.6 kB / 0.5229 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.01018, allocations: 289 kB / 0.5232 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003794/0.01056, allocations: 98.89 kB / 0.5233 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.01059, allocations: 7.938 kB / 0.5233 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.01063, allocations: 33.31 kB / 0.5233 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.01063, allocations: 0 / 0.5233 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.001355/0.01198, allocations: 310.8 kB / 0.5236 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.01205, allocations: 56.34 kB / 0.5237 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.01217, allocations: 109.8 kB / 0.5238 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.0122, allocations: 25.7 kB / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.404e-05/0.0123, allocations: 101 kB / 0.5239 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.01233, allocations: 3.953 kB / 0.5239 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.01238, allocations: 14.38 kB / 0.5239 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002032/0.01259, allocations: 322.8 kB / 0.5242 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/0.01299, allocations: 99.44 kB / 0.5243 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.01336, allocations: 91.88 kB / 0.5244 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007353/0.0141, allocations: 175.7 kB / 0.5246 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.0141, allocations: 0 / 0.5246 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008412/0.01494, allocations: 221 kB / 0.5248 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.01496, allocations: 4 kB / 0.5248 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.01497, allocations: 0 / 0.5248 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.01499, allocations: 4 kB / 0.5248 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.01527, allocations: 35.53 kB / 0.5248 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.01527, allocations: 0 / 0.5248 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004852/0.01576, allocations: 31.95 kB / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.01577, allocations: 3.984 kB / 0.5248 GB, free: 13.05 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.0001294/0.0159, allocations: 117.8 kB / 0.525 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.01594, allocations: 7.938 kB / 0.525 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.806e-05/0.01599, allocations: 8 kB / 0.525 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.01599, allocations: 2.844 kB / 0.525 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.016, allocations: 0 / 0.525 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.01601, allocations: 3.984 kB / 0.525 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.01624, allocations: 145.3 kB / 0.5251 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.01625, allocations: 3.984 kB / 0.5251 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.0165, allocations: 35.89 kB / 0.5252 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.0165, allocations: 4.594 kB / 0.5252 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.01652, allocations: 2.188 kB / 0.5252 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01652, allocations: 0 / 0.5252 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.01652, allocations: 3.984 kB / 0.5252 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00089/0.01741, allocations: 308.6 kB / 0.5255 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.326e-05/0.01742, allocations: 4.562 kB / 0.5255 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.01745, allocations: 3.938 kB / 0.5255 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.01768, allocations: 33.17 kB / 0.5255 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.01772, allocations: 3.984 kB / 0.5255 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.01773, allocations: 0.6875 kB / 0.5255 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.687e-05/0.01781, allocations: 87.91 kB / 0.5256 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01781, allocations: 0 / 0.5256 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002474/0.01806, allocations: 16.62 kB / 0.5256 GB, free: 12.22 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.0001578/0.01821, allocations: 95.77 kB / 0.5257 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008269/0.01904, allocations: 194.4 kB / 0.5259 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01904, allocations: 1.188 kB / 0.5259 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003925/0.01944, allocations: 101 kB / 0.526 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.0197, allocations: 11.94 kB / 0.526 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.02077, allocations: 267.9 kB / 0.5262 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.029e-05/0.02086, allocations: 71.33 kB / 0.5263 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.792e-05/0.02094, allocations: 18.89 kB / 0.5263 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.798e-05/0.02101, allocations: 12.5 kB / 0.5263 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of SimCode: time 4.01e-07/0.02101, allocations: 1.688 kB / 0.5263 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of Templates: time 0.003851/0.02486, allocations: 0.9577 MB / 0.5273 GB, free: 10.5 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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.819133360986598]