Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.414/2.414, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001355/0.001355, allocations: 175.5 kB / 326.3 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.472/2.472, allocations: 205.4 MB / 0.5772 GB, free: 20.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009378/0.0009375, allocations: 84.06 kB / 0.6817 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004967/0.0004971, allocations: 16.66 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2115, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.00185/0.2135, allocations: 1.184 MB / 0.9007 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004158/0.2139, allocations: 136.5 kB / 0.9008 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.61e-05/0.214, allocations: 0 / 0.9008 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.157e-05/0.214, allocations: 0 / 0.9008 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.658e-05/0.2141, allocations: 11.94 kB / 0.9008 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.2143, allocations: 23.95 kB / 0.9008 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.31e-05/0.2144, allocations: 39.86 kB / 0.9009 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.2146, allocations: 15.98 kB / 0.9009 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.238e-05/0.2146, allocations: 12 kB / 0.9009 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.645e-05/0.2147, allocations: 19.86 kB / 0.9009 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.2147, allocations: 0 / 0.9009 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.2148, allocations: 27.97 kB / 0.9009 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.2149, allocations: 7.984 kB / 0.9009 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.681e-05/0.2149, allocations: 37.64 kB / 0.901 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.215, allocations: 43.92 kB / 0.901 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.215, allocations: 0 / 0.901 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.074e-06/0.215, allocations: 0 / 0.901 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.2151, allocations: 0 / 0.901 GB, free: 63.98 MB / 0.6042 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.0004702/0.2155, allocations: 359.5 kB / 0.9014 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.2156, allocations: 12.03 kB / 0.9014 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001856/0.2175, allocations: 244.5 kB / 0.9016 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.2176, allocations: 160.4 kB / 0.9018 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.2177, allocations: 4.375 kB / 0.9018 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.2177, allocations: 4.375 kB / 0.9018 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009346/0.2186, allocations: 218 kB / 0.902 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.2187, allocations: 192 / 0.902 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.2187, allocations: 7.922 kB / 0.902 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.2187, allocations: 4 kB / 0.902 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.2203, allocations: 319.5 kB / 0.9023 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.2217, allocations: 461.1 kB / 0.9027 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/0.2237, allocations: 338.2 kB / 0.9031 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006687/0.2245, allocations: 116.8 kB / 0.9032 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.2245, allocations: 8 kB / 0.9032 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.2246, allocations: 34.5 kB / 0.9032 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 3.637e-06/0.2246, allocations: 0 / 0.9032 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.002082/0.2267, allocations: 365.3 kB / 0.9036 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.2267, allocations: 55.39 kB / 0.9036 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.2268, allocations: 121.8 kB / 0.9037 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.2269, allocations: 25.7 kB / 0.9037 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.2269, allocations: 84.14 kB / 0.9038 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.227, allocations: 19.73 kB / 0.9038 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.255e-05/0.227, allocations: 0 / 0.9038 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.382e-05/0.2271, allocations: 322.8 kB / 0.9042 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006642/0.2277, allocations: 107.9 kB / 0.9043 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006425/0.2284, allocations: 120 kB / 0.9044 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006409/0.2291, allocations: 112 kB / 0.9045 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2291, allocations: 0 / 0.9045 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.001371/0.2305, allocations: 245.5 kB / 0.9047 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.2305, allocations: 7.984 kB / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.2305, allocations: 4 kB / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.2306, allocations: 0 / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004433/0.231, allocations: 39.95 kB / 0.9048 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.231, allocations: 4 kB / 0.9048 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.2314, allocations: 35.95 kB / 0.9048 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.2314, allocations: 11.98 kB / 0.9048 GB, free: 59.87 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.2316, allocations: 114.9 kB / 0.9049 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.2316, allocations: 3.906 kB / 0.9049 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.974e-05/0.2317, allocations: 15.89 kB / 0.9049 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2317, allocations: 3.938 kB / 0.9049 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2317, allocations: 0 / 0.9049 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.2318, allocations: 85.05 kB / 0.905 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.2318, allocations: 0 / 0.905 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/0.2322, allocations: 43.89 kB / 0.9051 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.2323, allocations: 7.984 kB / 0.9051 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001711/0.234, allocations: 356.7 kB / 0.9054 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001409/0.2354, allocations: 426.4 kB / 0.9058 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007108/0.2362, allocations: 123.9 kB / 0.9059 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.239e-05/0.2363, allocations: 95.58 kB / 0.906 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of Backend: time 4.71e-07/0.2363, allocations: 0 / 0.906 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001136/0.2374, allocations: 210.3 kB / 0.9062 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005084/0.238, allocations: 0.5916 MB / 0.9068 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of Templates: time 0.005022/0.243, allocations: 1.508 MB / 0.9083 GB, free: 56.22 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)