Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2214/0.2235, allocations: 80.83 MB / 0.6706 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003245/0.2268, allocations: 1.436 MB / 0.672 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004328/0.2272, allocations: 123.6 kB / 0.6721 GB, free: 448 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.619e-05/0.2273, allocations: 0 / 0.6721 GB, free: 448 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.505e-05/0.2274, allocations: 3.938 kB / 0.6721 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.562e-05/0.2275, allocations: 7.938 kB / 0.6722 GB, free: 436 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004019/0.2279, allocations: 35.89 kB / 0.6722 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000136/0.228, allocations: 43.91 kB / 0.6722 GB, free: 356 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.2282, allocations: 27.88 kB / 0.6723 GB, free: 328 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.189e-05/0.2283, allocations: 15.98 kB / 0.6723 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.657e-05/0.2284, allocations: 23.84 kB / 0.6723 GB, free: 288 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.2284, allocations: 4 kB / 0.6723 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.2285, allocations: 35.97 kB / 0.6723 GB, free: 248 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.204e-05/0.2286, allocations: 4 kB / 0.6723 GB, free: 244 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.2286, allocations: 23.86 kB / 0.6724 GB, free: 220 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.2288, allocations: 59.8 kB / 0.6724 GB, free: 160 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.2288, allocations: 4 kB / 0.6724 GB, free: 156 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2288, allocations: 0 / 0.6724 GB, free: 156 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.2288, allocations: 4 kB / 0.6724 GB, free: 152 kB / 0.4981 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.0005979/0.2294, allocations: 367.2 kB / 0.6728 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.2295, allocations: 11.97 kB / 0.6728 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.2306, allocations: 216.4 kB / 0.673 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.2307, allocations: 172.3 kB / 0.6732 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.2308, allocations: 8.375 kB / 0.6732 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.2308, allocations: 384 / 0.6732 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005728/0.2314, allocations: 193.4 kB / 0.6733 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2314, allocations: 0 / 0.6733 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.2314, allocations: 4 kB / 0.6734 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2314, allocations: 0 / 0.6734 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008959/0.2323, allocations: 283.6 kB / 0.6736 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009206/0.2333, allocations: 445 kB / 0.674 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.2344, allocations: 282.2 kB / 0.6743 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/0.2348, allocations: 100.8 kB / 0.6744 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.2348, allocations: 4 kB / 0.6744 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.2348, allocations: 34.5 kB / 0.6744 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.2348, allocations: 0 / 0.6744 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.001235/0.2361, allocations: 309.3 kB / 0.6747 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.2361, allocations: 55.41 kB / 0.6748 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.2363, allocations: 121.8 kB / 0.6749 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.2363, allocations: 29.69 kB / 0.6749 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.2363, allocations: 88.14 kB / 0.675 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.2364, allocations: 11.91 kB / 0.675 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/0.2364, allocations: 17.7 kB / 0.6751 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2366, allocations: 318.8 kB / 0.6754 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.2369, allocations: 95.88 kB / 0.6754 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.2372, allocations: 99.81 kB / 0.6755 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006353/0.2379, allocations: 168.6 kB / 0.6757 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2379, allocations: 0 / 0.6757 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007265/0.2386, allocations: 217.4 kB / 0.6759 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.2387, allocations: 8 kB / 0.6759 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2387, allocations: 4 kB / 0.6759 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.2387, allocations: 0 / 0.6759 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.239, allocations: 28.33 kB / 0.676 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.239, allocations: 3.984 kB / 0.676 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.2392, allocations: 39.83 kB / 0.676 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.2392, allocations: 0 / 0.676 GB, free: 12.26 MB / 0.5137 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.00011/0.2393, allocations: 129.7 kB / 0.6761 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.2394, allocations: 3.953 kB / 0.6761 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.738e-05/0.2394, allocations: 16.22 kB / 0.6761 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2394, allocations: 0 / 0.6761 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2395, allocations: 0 / 0.6761 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.2395, allocations: 7.922 kB / 0.6761 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.2397, allocations: 205.6 kB / 0.6763 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2397, allocations: 0 / 0.6763 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.2399, allocations: 39.94 kB / 0.6764 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2399, allocations: 0 / 0.6764 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.24, allocations: 0 / 0.6764 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.24, allocations: 0 / 0.6764 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.24, allocations: 0 / 0.6764 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008098/0.2408, allocations: 315.2 kB / 0.6767 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.2408, allocations: 81.11 kB / 0.6768 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.2409, allocations: 0 / 0.6768 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.2411, allocations: 27.94 kB / 0.6768 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.2411, allocations: 15.88 kB / 0.6768 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.2412, allocations: 0 / 0.6768 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.189e-05/0.2413, allocations: 99.27 kB / 0.6769 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2413, allocations: 0 / 0.6769 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002367/0.2415, allocations: 12 kB / 0.6769 GB, free: 11.22 MB / 0.5137 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.0001245/0.2416, allocations: 95.23 kB / 0.677 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007738/0.2424, allocations: 199.7 kB / 0.6772 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2424, allocations: 0 / 0.6772 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003838/0.2428, allocations: 103.8 kB / 0.6773 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.2431, allocations: 3.938 kB / 0.6773 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009297/0.244, allocations: 277.1 kB / 0.6776 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.2443, allocations: 0.6885 MB / 0.6782 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.311e-05/0.2444, allocations: 19.98 kB / 0.6782 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.753e-05/0.2445, allocations: 11.44 kB / 0.6783 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.2445, allocations: 288 / 0.6783 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of Templates: time 0.003505/0.248, allocations: 0.9315 MB / 0.6792 GB, free: 8.848 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)