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.2313/0.2347, allocations: 80.84 MB / 0.6706 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002763/0.2375, allocations: 1.436 MB / 0.672 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004045/0.2379, allocations: 131.6 kB / 0.6721 GB, free: 456 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.61e-05/0.2379, allocations: 0 / 0.6721 GB, free: 456 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.777e-05/0.238, allocations: 3.938 kB / 0.6722 GB, free: 452 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.967e-05/0.2381, allocations: 3.938 kB / 0.6722 GB, free: 448 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.2383, allocations: 31.91 kB / 0.6722 GB, free: 416 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.2385, allocations: 43.91 kB / 0.6722 GB, free: 372 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.2386, allocations: 27.86 kB / 0.6723 GB, free: 344 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.492e-05/0.2387, allocations: 15.98 kB / 0.6723 GB, free: 328 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.989e-05/0.2387, allocations: 23.86 kB / 0.6723 GB, free: 304 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.2387, allocations: 4 kB / 0.6723 GB, free: 300 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.687e-05/0.2388, allocations: 39.97 kB / 0.6723 GB, free: 260 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.258e-05/0.2389, allocations: 4 kB / 0.6723 GB, free: 256 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/0.2389, allocations: 19.86 kB / 0.6724 GB, free: 236 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.2391, allocations: 55.86 kB / 0.6724 GB, free: 180 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2391, allocations: 4 kB / 0.6724 GB, free: 176 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2391, allocations: 4 kB / 0.6724 GB, free: 172 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.2391, allocations: 0 / 0.6724 GB, free: 172 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.0004914/0.2396, allocations: 367.3 kB / 0.6728 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.2396, allocations: 8.031 kB / 0.6728 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.2407, allocations: 212.5 kB / 0.673 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.2408, allocations: 176.2 kB / 0.6731 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.2409, allocations: 384 / 0.6731 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.2409, allocations: 12.31 kB / 0.6732 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005474/0.2414, allocations: 193.4 kB / 0.6733 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.495e-06/0.2414, allocations: 4 kB / 0.6733 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.2415, allocations: 0 / 0.6733 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.2415, allocations: 0 / 0.6733 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008287/0.2423, allocations: 283.6 kB / 0.6736 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009228/0.2432, allocations: 444.9 kB / 0.674 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.2445, allocations: 286.2 kB / 0.6743 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003823/0.2449, allocations: 104.8 kB / 0.6744 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.245, allocations: 4 kB / 0.6744 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.245, allocations: 30.56 kB / 0.6744 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.245, allocations: 0 / 0.6744 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.001202/0.2462, allocations: 309.3 kB / 0.6747 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.2463, allocations: 51.41 kB / 0.6748 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.2464, allocations: 125.8 kB / 0.6749 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.2464, allocations: 25.7 kB / 0.6749 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/0.2465, allocations: 92.14 kB / 0.675 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.2465, allocations: 7.812 kB / 0.675 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-05/0.2466, allocations: 21.7 kB / 0.6751 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.2467, allocations: 314.8 kB / 0.6754 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004001/0.2471, allocations: 95.88 kB / 0.6754 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003495/0.2475, allocations: 91.88 kB / 0.6755 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006682/0.2481, allocations: 172.6 kB / 0.6757 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.2482, allocations: 11.94 kB / 0.6757 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007394/0.2489, allocations: 217.4 kB / 0.6759 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.2489, allocations: 4 kB / 0.6759 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.2489, allocations: 0 / 0.6759 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.249, allocations: 4 kB / 0.6759 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.2492, allocations: 35.94 kB / 0.676 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.974e-06/0.2493, allocations: 0 / 0.676 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.2494, allocations: 31.89 kB / 0.676 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.2495, allocations: 0 / 0.676 GB, free: 12.28 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.0001126/0.2496, allocations: 118.2 kB / 0.6761 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.2496, allocations: 7.906 kB / 0.6761 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.331e-05/0.2497, allocations: 11.91 kB / 0.6761 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2497, allocations: 0 / 0.6761 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.2497, allocations: 3.938 kB / 0.6761 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.2497, allocations: 3.938 kB / 0.6761 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.25, allocations: 213.6 kB / 0.6763 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.25, allocations: 0 / 0.6763 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.2502, allocations: 43.88 kB / 0.6764 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2502, allocations: 0 / 0.6764 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.2502, allocations: 0 / 0.6764 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2502, allocations: 4 kB / 0.6764 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2502, allocations: 0 / 0.6764 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008122/0.2511, allocations: 315.2 kB / 0.6767 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.2511, allocations: 81.48 kB / 0.6768 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.2511, allocations: 3.984 kB / 0.6768 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.2514, allocations: 23.95 kB / 0.6768 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.2514, allocations: 7.938 kB / 0.6768 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.2514, allocations: 0 / 0.6768 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001487/0.2516, allocations: 99.27 kB / 0.6769 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.2516, allocations: 0 / 0.6769 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002365/0.2518, allocations: 15.94 kB / 0.6769 GB, free: 11.24 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.00012/0.252, allocations: 103.2 kB / 0.677 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007922/0.2528, allocations: 199.7 kB / 0.6772 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.2528, allocations: 4 kB / 0.6772 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003786/0.2532, allocations: 99.88 kB / 0.6773 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.2534, allocations: 7.922 kB / 0.6773 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000992/0.2544, allocations: 261.2 kB / 0.6775 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005398/0.255, allocations: 0.6923 MB / 0.6782 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.691e-05/0.2551, allocations: 19.98 kB / 0.6782 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.815e-05/0.2551, allocations: 15.44 kB / 0.6783 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of SimCode: time 2.01e-07/0.2551, allocations: 0 / 0.6783 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of Templates: time 0.003398/0.2585, allocations: 0.9474 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)