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.001077/0.001077, 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.001019/0.001019, 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.9995/0.9995, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.7669/0.7669, allocations: 154.6 MB / 414.5 MB, free: 0.6562 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.884e-06/1.884e-06, allocations: 0 / 0.5203 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.015e-05/3.203e-05, allocations: 6.547 kB / 0.5203 GB, free: 2.199 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002203/0.002235, allocations: 1.504 MB / 0.5218 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003894/0.002624, allocations: 153.1 kB / 0.5219 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.35e-05/0.002657, allocations: 0 / 0.5219 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.271e-05/0.00271, allocations: 3.984 kB / 0.5219 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.009e-05/0.00279, allocations: 12.89 kB / 0.522 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.003045, allocations: 33.59 kB / 0.522 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.901e-05/0.003144, allocations: 39.86 kB / 0.522 GB, free: 480 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.00326, allocations: 23.95 kB / 0.5221 GB, free: 456 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.331e-05/0.003313, allocations: 19.98 kB / 0.5221 GB, free: 436 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.069e-05/0.003354, allocations: 15.92 kB / 0.5221 GB, free: 420 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.003373, allocations: 5.75 kB / 0.5221 GB, free: 416 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.625e-05/0.003459, allocations: 31.97 kB / 0.5221 GB, free: 384 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.834e-05/0.003477, allocations: 7.984 kB / 0.5221 GB, free: 376 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.003519, allocations: 15.92 kB / 0.5221 GB, free: 360 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.003657, allocations: 64.55 kB / 0.5222 GB, free: 296 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.003659, allocations: 0 / 0.5222 GB, free: 296 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.00366, allocations: 1.406 kB / 0.5222 GB, free: 296 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.003665, allocations: 0 / 0.5222 GB, free: 296 kB / 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.0003889/0.004054, allocations: 380.5 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.004096, allocations: 12.02 kB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005104/0.004607, allocations: 151.9 kB / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.138e-05/0.004698, allocations: 120.5 kB / 0.5228 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.004711, allocations: 4.375 kB / 0.5228 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.004725, allocations: 384 / 0.5228 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.004973, allocations: 136.8 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.004981, allocations: 192 / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.004993, allocations: 384 / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.005002, allocations: 384 / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.235e-05/0.005084, allocations: 48.47 kB / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005118/0.005596, allocations: 341.2 kB / 0.5233 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.005828, allocations: 96.86 kB / 0.5234 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.14e-05/0.005869, allocations: 15.75 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.005891, allocations: 8.969 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.005915, allocations: 41.31 kB / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.005916, allocations: 1.531 kB / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002123/0.006129, allocations: 65.69 kB / 0.5236 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.006159, allocations: 51.41 kB / 0.5236 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.676e-05/0.006236, allocations: 165.9 kB / 0.5238 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.006249, allocations: 26.73 kB / 0.5238 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.006302, allocations: 146.8 kB / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.006325, allocations: 8.641 kB / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.006364, allocations: 19.38 kB / 0.524 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.006497, allocations: 0.4975 MB / 0.5245 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.997e-05/0.006537, allocations: 11.94 kB / 0.5245 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.993e-05/0.006567, allocations: 11.98 kB / 0.5245 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.744e-05/0.006634, allocations: 32.5 kB / 0.5245 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.006636, allocations: 0 / 0.5245 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001115/0.006748, allocations: 62.3 kB / 0.5246 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.006764, allocations: 8 kB / 0.5246 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.00677, allocations: 4.781 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.006784, allocations: 0 / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.006892, allocations: 23.06 kB / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.006898, allocations: 0 / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.116e-05/0.006949, allocations: 15.97 kB / 0.5246 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.006958, allocations: 4 kB / 0.5246 GB, free: 13.62 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 7.555e-05/0.007034, allocations: 156.6 kB / 0.5248 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.007054, allocations: 11.88 kB / 0.5248 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.406e-05/0.007088, allocations: 15.34 kB / 0.5248 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.00709, allocations: 0 / 0.5248 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.007095, allocations: 0 / 0.5248 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.007099, allocations: 7.984 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.007224, allocations: 124.6 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.007225, allocations: 0 / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.098e-05/0.007296, allocations: 25.47 kB / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.0073, allocations: 3.938 kB / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.007316, allocations: 3.984 kB / 0.525 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.007318, allocations: 0 / 0.525 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.007319, allocations: 4.562 kB / 0.525 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.007487, allocations: 199.9 kB / 0.5251 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-06/0.007494, allocations: 4.906 kB / 0.5252 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.007511, allocations: 7.938 kB / 0.5252 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.53e-05/0.007576, allocations: 16.59 kB / 0.5252 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.007614, allocations: 4.438 kB / 0.5252 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.00762, allocations: 10.95 kB / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.157e-05/0.007662, allocations: 127.2 kB / 0.5253 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007662, allocations: 0 / 0.5253 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001492/0.007811, allocations: 19.89 kB / 0.5253 GB, free: 12.84 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 8.973e-05/0.007901, allocations: 95.19 kB / 0.5254 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.008029, allocations: 39.66 kB / 0.5255 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.008031, allocations: 2.438 kB / 0.5255 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.83e-05/0.008069, allocations: 19.69 kB / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.008272, allocations: 15.98 kB / 0.5255 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.008667, allocations: 175.5 kB / 0.5257 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.012e-05/0.008707, allocations: 59.34 kB / 0.5257 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.487e-05/0.008752, allocations: 19.53 kB / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.008797, allocations: 8.5 kB / 0.5257 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of SimCode: time 6.41e-07/0.008798, allocations: 0 / 0.5257 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of Templates: time 0.002658/0.01146, allocations: 1.002 MB / 0.5267 GB, free: 11.39 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.659327122848481]