Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") [/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.2218/0.2239, allocations: 80.82 MB / 0.5897 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.00414/0.2281, allocations: 1.492 MB / 0.5911 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004886/0.2286, allocations: 111.6 kB / 0.5912 GB, free: 5.504 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.944e-05/0.2287, allocations: 0 / 0.5912 GB, free: 5.504 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.575e-05/0.2288, allocations: 3.938 kB / 0.5912 GB, free: 5.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.632e-05/0.2289, allocations: 8 kB / 0.5912 GB, free: 5.492 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.2291, allocations: 23.91 kB / 0.5913 GB, free: 5.469 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.111e-05/0.2292, allocations: 19.98 kB / 0.5913 GB, free: 5.449 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.2293, allocations: 4 kB / 0.5913 GB, free: 5.445 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.432e-05/0.2294, allocations: 11.88 kB / 0.5913 GB, free: 5.434 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.932e-05/0.2294, allocations: 11.98 kB / 0.5913 GB, free: 5.422 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.2294, allocations: 0 / 0.5913 GB, free: 5.422 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.2296, allocations: 27.97 kB / 0.5913 GB, free: 5.395 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.2296, allocations: 11.94 kB / 0.5914 GB, free: 5.383 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.2296, allocations: 11.92 kB / 0.5914 GB, free: 5.371 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.2298, allocations: 35.95 kB / 0.5914 GB, free: 5.336 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2298, allocations: 0 / 0.5914 GB, free: 5.336 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2298, allocations: 0 / 0.5914 GB, free: 5.336 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.2298, allocations: 0 / 0.5914 GB, free: 5.336 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005723/0.2304, allocations: 351.7 kB / 0.5917 GB, free: 4.945 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.2304, allocations: 12.02 kB / 0.5917 GB, free: 4.934 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.2305, allocations: 4.844 kB / 0.5917 GB, free: 4.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.2306, allocations: 172.4 kB / 0.5919 GB, free: 4.723 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.2306, allocations: 384 / 0.5919 GB, free: 4.723 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.2307, allocations: 384 / 0.5919 GB, free: 4.723 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.2309, allocations: 53.8 kB / 0.592 GB, free: 4.664 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.2309, allocations: 0 / 0.592 GB, free: 4.664 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.2309, allocations: 0 / 0.592 GB, free: 4.664 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2309, allocations: 0 / 0.592 GB, free: 4.664 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.2311, allocations: 39.89 kB / 0.592 GB, free: 4.625 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.2315, allocations: 248.9 kB / 0.5922 GB, free: 4.332 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.2316, allocations: 38.56 kB / 0.5923 GB, free: 4.285 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.54e-05/0.2317, allocations: 24.89 kB / 0.5923 GB, free: 4.258 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004204/0.2322, allocations: 206.1 kB / 0.5925 GB, free: 4.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.2322, allocations: 34.55 kB / 0.5925 GB, free: 3.977 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.2322, allocations: 3.938 kB / 0.5925 GB, free: 3.973 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000364/0.2326, allocations: 77.66 kB / 0.5926 GB, free: 3.891 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.2326, allocations: 51.53 kB / 0.5927 GB, free: 3.828 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.072e-05/0.2327, allocations: 109.8 kB / 0.5928 GB, free: 3.711 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.2327, allocations: 25.7 kB / 0.5928 GB, free: 3.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.2328, allocations: 84.05 kB / 0.5929 GB, free: 3.594 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.2328, allocations: 7.938 kB / 0.5929 GB, free: 3.586 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.2329, allocations: 21.64 kB / 0.5929 GB, free: 3.559 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.233, allocations: 314.8 kB / 0.5932 GB, free: 3.242 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.835e-05/0.2331, allocations: 15.98 kB / 0.5932 GB, free: 3.227 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.986e-05/0.2332, allocations: 20.23 kB / 0.5932 GB, free: 3.207 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.2333, allocations: 48.75 kB / 0.5933 GB, free: 3.156 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.2333, allocations: 4 kB / 0.5933 GB, free: 3.152 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001816/0.2335, allocations: 61.58 kB / 0.5933 GB, free: 3.086 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.2335, allocations: 16.08 kB / 0.5934 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.2335, allocations: 0 / 0.5934 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.2336, allocations: 0 / 0.5934 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.118e-05/0.2337, allocations: 4 kB / 0.5934 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.2337, allocations: 7.938 kB / 0.5934 GB, free: 3.059 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.45e-05/0.2337, allocations: 3.984 kB / 0.5934 GB, free: 3.055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.2337, allocations: 4 kB / 0.5934 GB, free: 3.051 MB / 446.1 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 (2): * Single equations (assignments): 2 * 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 8.299e-05/0.2338, allocations: 114.7 kB / 0.5935 GB, free: 2.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.2338, allocations: 0 / 0.5935 GB, free: 2.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.2341, allocations: 80.7 kB / 0.5936 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2341, allocations: 0 / 0.5936 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2341, allocations: 0 / 0.5936 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.2341, allocations: 3.984 kB / 0.5936 GB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.2343, allocations: 161.6 kB / 0.5937 GB, free: 2.637 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2343, allocations: 0 / 0.5937 GB, free: 2.637 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.454e-05/0.2344, allocations: 7.984 kB / 0.5937 GB, free: 2.629 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.2344, allocations: 4.031 kB / 0.5937 GB, free: 2.625 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.2344, allocations: 8 kB / 0.5937 GB, free: 2.617 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2344, allocations: 0 / 0.5937 GB, free: 2.617 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2344, allocations: 0 / 0.5937 GB, free: 2.617 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.2347, allocations: 163.4 kB / 0.5939 GB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.026e-05/0.2347, allocations: 81.02 kB / 0.594 GB, free: 2.344 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.2347, allocations: 4.031 kB / 0.594 GB, free: 2.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.355e-05/0.2348, allocations: 7.984 kB / 0.594 GB, free: 2.332 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.2349, allocations: 4 kB / 0.594 GB, free: 2.328 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.2349, allocations: 4 kB / 0.594 GB, free: 2.324 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.701e-05/0.2349, allocations: 83.27 kB / 0.5941 GB, free: 2.242 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2349, allocations: 0 / 0.5941 GB, free: 2.242 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002228/0.2352, allocations: 8 kB / 0.5941 GB, free: 2.234 MB / 446.1 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 (2): * Single equations (assignments): 2 * 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.0002084/0.2354, allocations: 95.25 kB / 0.5942 GB, free: 2.133 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.2356, allocations: 47.95 kB / 0.5942 GB, free: 2.086 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2356, allocations: 0 / 0.5942 GB, free: 2.086 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.155e-05/0.2357, allocations: 15.92 kB / 0.5942 GB, free: 2.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.236, allocations: 15.88 kB / 0.5942 GB, free: 2.055 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.2364, allocations: 111.4 kB / 0.5943 GB, free: 1.918 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.2367, allocations: 0.677 MB / 0.595 GB, free: 1.215 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.478e-05/0.2367, allocations: 4 kB / 0.595 GB, free: 1.211 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.831e-05/0.2367, allocations: 7.438 kB / 0.595 GB, free: 1.203 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2367, allocations: 0 / 0.595 GB, free: 1.203 MB / 446.1 MB Notification: Performance of Templates: time 0.002893/0.2396, allocations: 0.562 MB / 0.5956 GB, free: 0.6484 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)