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.0008865/0.0008865, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009926/0.0009926, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.9672/0.9672, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.8386/0.8386, allocations: 154.6 MB / 414.5 MB, free: 0.6758 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 2.154e-06/2.154e-06, allocations: 0 / 0.5203 GB, free: 1.121 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.927e-05/3.142e-05, allocations: 7.281 kB / 0.5203 GB, free: 1.117 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002431/0.002462, allocations: 1.509 MB / 0.5218 GB, free: 15.62 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004642/0.002926, allocations: 146.2 kB / 0.5219 GB, free: 15.48 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.159e-05/0.002968, allocations: 0 / 0.5219 GB, free: 15.48 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 6.337e-05/0.003031, allocations: 3.984 kB / 0.5219 GB, free: 15.47 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 9.041e-05/0.003122, allocations: 15.89 kB / 0.522 GB, free: 15.46 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.003394, allocations: 31.91 kB / 0.522 GB, free: 15.43 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.003512, allocations: 35.92 kB / 0.522 GB, free: 15.39 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.003641, allocations: 19.91 kB / 0.522 GB, free: 15.38 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.807e-05/0.003699, allocations: 27.92 kB / 0.5221 GB, free: 15.35 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.132e-05/0.00374, allocations: 11.98 kB / 0.5221 GB, free: 15.34 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.00376, allocations: 4.562 kB / 0.5221 GB, free: 15.33 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.286e-05/0.003853, allocations: 27.97 kB / 0.5221 GB, free: 15.3 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.736e-05/0.00388, allocations: 16.42 kB / 0.5221 GB, free: 15.29 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.00391, allocations: 13.02 kB / 0.5221 GB, free: 15.28 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.004073, allocations: 63.8 kB / 0.5222 GB, free: 15.21 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.004075, allocations: 0 / 0.5222 GB, free: 15.21 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.004077, allocations: 1.219 kB / 0.5222 GB, free: 15.21 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.004082, allocations: 0 / 0.5222 GB, free: 15.21 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004559/0.004538, allocations: 380.5 kB / 0.5226 GB, free: 14.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.004581, allocations: 8.656 kB / 0.5226 GB, free: 14.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005971/0.005179, allocations: 158.9 kB / 0.5227 GB, free: 14.64 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.00529, allocations: 120.5 kB / 0.5228 GB, free: 14.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.005306, allocations: 1.438 kB / 0.5228 GB, free: 14.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.005337, allocations: 4.375 kB / 0.5228 GB, free: 14.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.005637, allocations: 131.9 kB / 0.523 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.005649, allocations: 192 / 0.523 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.005664, allocations: 1.312 kB / 0.523 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.005674, allocations: 384 / 0.523 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.005777, allocations: 48.47 kB / 0.523 GB, free: 14.31 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005579/0.006335, allocations: 341.2 kB / 0.5233 GB, free: 13.95 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.006615, allocations: 96.61 kB / 0.5234 GB, free: 13.84 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.799e-05/0.006663, allocations: 18.62 kB / 0.5235 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.006687, allocations: 7.922 kB / 0.5235 GB, free: 13.81 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.006713, allocations: 45.33 kB / 0.5235 GB, free: 13.76 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.006715, allocations: 0 / 0.5235 GB, free: 13.76 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002372/0.006952, allocations: 61.67 kB / 0.5236 GB, free: 13.69 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.00698, allocations: 55.41 kB / 0.5236 GB, free: 13.62 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.104e-05/0.007061, allocations: 165.9 kB / 0.5238 GB, free: 13.45 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.007074, allocations: 26.83 kB / 0.5238 GB, free: 13.41 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.007128, allocations: 146.8 kB / 0.5239 GB, free: 13.27 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.007149, allocations: 7.953 kB / 0.524 GB, free: 13.26 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.007193, allocations: 19.94 kB / 0.524 GB, free: 13.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.007324, allocations: 0.4967 MB / 0.5245 GB, free: 12.72 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.708e-05/0.007371, allocations: 12 kB / 0.5245 GB, free: 12.71 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.907e-05/0.00741, allocations: 16.86 kB / 0.5245 GB, free: 12.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.55e-05/0.007485, allocations: 27.69 kB / 0.5245 GB, free: 12.66 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.007488, allocations: 1.438 kB / 0.5245 GB, free: 12.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001381/0.007626, allocations: 57.62 kB / 0.5246 GB, free: 12.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.007642, allocations: 4 kB / 0.5246 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.007647, allocations: 0.9688 kB / 0.5246 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.007662, allocations: 4 kB / 0.5246 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.007792, allocations: 21.97 kB / 0.5246 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.007797, allocations: 0 / 0.5246 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.976e-05/0.007867, allocations: 19.92 kB / 0.5246 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.00788, allocations: 8 kB / 0.5246 GB, free: 12.55 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 (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 9.448e-05/0.007974, allocations: 157.4 kB / 0.5248 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.008006, allocations: 7.938 kB / 0.5248 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.937e-05/0.008055, allocations: 12.8 kB / 0.5248 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.008057, allocations: 1.188 kB / 0.5248 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.008062, allocations: 0 / 0.5248 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.008065, allocations: 3.938 kB / 0.5248 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.008231, allocations: 132.6 kB / 0.5249 GB, free: 12.19 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.008234, allocations: 6.75 kB / 0.5249 GB, free: 12.19 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.746e-05/0.008322, allocations: 19.97 kB / 0.5249 GB, free: 12.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.008326, allocations: 3.938 kB / 0.525 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.008338, allocations: 3.984 kB / 0.525 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.008339, allocations: 0 / 0.525 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.008341, allocations: 0 / 0.525 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.008546, allocations: 206.4 kB / 0.5252 GB, free: 11.94 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.447e-06/0.008556, allocations: 4 kB / 0.5252 GB, free: 11.94 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.008574, allocations: 15.86 kB / 0.5252 GB, free: 11.92 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.204e-05/0.008666, allocations: 11.98 kB / 0.5252 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.008701, allocations: 0 / 0.5252 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.008709, allocations: 7.984 kB / 0.5252 GB, free: 11.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.976e-05/0.008749, allocations: 127.8 kB / 0.5253 GB, free: 11.78 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008749, allocations: 1.031 kB / 0.5253 GB, free: 11.78 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002213/0.00897, allocations: 12 kB / 0.5253 GB, free: 11.77 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 (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 7.873e-05/0.009049, allocations: 91.91 kB / 0.5254 GB, free: 11.67 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.009188, allocations: 43.09 kB / 0.5255 GB, free: 11.62 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.009189, allocations: 0 / 0.5255 GB, free: 11.62 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.034e-05/0.00924, allocations: 24.09 kB / 0.5255 GB, free: 11.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.009474, allocations: 15.98 kB / 0.5255 GB, free: 11.58 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000416/0.00989, allocations: 182 kB / 0.5257 GB, free: 11.38 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.682e-05/0.009937, allocations: 62.09 kB / 0.5257 GB, free: 11.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.117e-05/0.009988, allocations: 8.547 kB / 0.5257 GB, free: 11.29 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.01004, allocations: 13.97 kB / 0.5257 GB, free: 11.28 MB / 458.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01004, allocations: 0 / 0.5257 GB, free: 11.28 MB / 458.7 MB Notification: Performance of Templates: time 0.002732/0.01277, allocations: 0.9621 MB / 0.5267 GB, free: 10.35 MB / 458.7 MB " [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.809591723140329]