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.2175/0.2197, allocations: 80.83 MB / 0.6706 GB, free: 2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002968/0.2227, allocations: 1.408 MB / 0.672 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000443/0.2232, allocations: 127.9 kB / 0.6721 GB, free: 464 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.266e-05/0.2233, allocations: 0 / 0.6721 GB, free: 464 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.908e-05/0.2233, allocations: 3.938 kB / 0.6721 GB, free: 460 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.453e-05/0.2234, allocations: 0 / 0.6721 GB, free: 460 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.2237, allocations: 31.89 kB / 0.6721 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.737e-05/0.2238, allocations: 19.92 kB / 0.6722 GB, free: 408 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.224, allocations: 8 kB / 0.6722 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.747e-05/0.224, allocations: 7.938 kB / 0.6722 GB, free: 392 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.222e-05/0.2241, allocations: 11.98 kB / 0.6722 GB, free: 380 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.2241, allocations: 8 kB / 0.6722 GB, free: 372 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.2242, allocations: 31.97 kB / 0.6722 GB, free: 340 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.2243, allocations: 7.938 kB / 0.6722 GB, free: 332 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.2243, allocations: 4 kB / 0.6722 GB, free: 328 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.2244, allocations: 43.81 kB / 0.6723 GB, free: 284 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2244, allocations: 0 / 0.6723 GB, free: 284 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2244, allocations: 0 / 0.6723 GB, free: 284 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.034e-06/0.2245, allocations: 0 / 0.6723 GB, free: 284 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005641/0.225, allocations: 347.5 kB / 0.6726 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.2251, allocations: 19.91 kB / 0.6726 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.2251, allocations: 4.938 kB / 0.6726 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.2253, allocations: 164.3 kB / 0.6728 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.2253, allocations: 4.375 kB / 0.6728 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.2254, allocations: 8.359 kB / 0.6728 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.2256, allocations: 53.61 kB / 0.6729 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2256, allocations: 0 / 0.6729 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.2256, allocations: 0 / 0.6729 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2256, allocations: 0 / 0.6729 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.2258, allocations: 39.95 kB / 0.6729 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.2262, allocations: 248.9 kB / 0.6731 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.2263, allocations: 38.55 kB / 0.6732 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.849e-05/0.2264, allocations: 32.84 kB / 0.6732 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004174/0.2269, allocations: 194.2 kB / 0.6734 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.2269, allocations: 34.55 kB / 0.6734 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2269, allocations: 0 / 0.6734 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003934/0.2273, allocations: 85.69 kB / 0.6735 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.2274, allocations: 55.39 kB / 0.6736 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.229e-05/0.2275, allocations: 101.9 kB / 0.6736 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.2275, allocations: 25.7 kB / 0.6737 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.2276, allocations: 84.08 kB / 0.6738 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.2276, allocations: 19.88 kB / 0.6738 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.2276, allocations: 9.719 kB / 0.6738 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2277, allocations: 318.8 kB / 0.6741 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.285e-05/0.2278, allocations: 20.02 kB / 0.6741 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.882e-05/0.2279, allocations: 11.98 kB / 0.6741 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.2281, allocations: 45.06 kB / 0.6742 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2281, allocations: 0 / 0.6742 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001976/0.2283, allocations: 77.66 kB / 0.6742 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.2283, allocations: 4 kB / 0.6742 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2283, allocations: 0 / 0.6742 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.2283, allocations: 0 / 0.6742 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.253e-05/0.2284, allocations: 8 kB / 0.6742 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.2284, allocations: 3.984 kB / 0.6742 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.46e-05/0.2285, allocations: 4 kB / 0.6743 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.2285, allocations: 3.938 kB / 0.6743 GB, free: 13.99 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 (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.585e-05/0.2286, allocations: 117.8 kB / 0.6744 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.2286, allocations: 7.906 kB / 0.6744 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.2289, allocations: 76.7 kB / 0.6745 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2289, allocations: 0 / 0.6745 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.2289, allocations: 0 / 0.6745 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2289, allocations: 0 / 0.6745 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.2291, allocations: 157.6 kB / 0.6746 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2291, allocations: 0 / 0.6746 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.503e-05/0.2291, allocations: 16.02 kB / 0.6746 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.2291, allocations: 0 / 0.6746 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.2292, allocations: 0 / 0.6746 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2292, allocations: 0 / 0.6746 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2292, allocations: 0 / 0.6746 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.2294, allocations: 167.5 kB / 0.6748 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.2295, allocations: 81.11 kB / 0.6749 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.2295, allocations: 0 / 0.6749 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.2296, allocations: 7.984 kB / 0.6749 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.2296, allocations: 4 kB / 0.6749 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.2296, allocations: 7.875 kB / 0.6749 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.047e-05/0.2297, allocations: 83.27 kB / 0.675 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2297, allocations: 0 / 0.675 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002171/0.2299, allocations: 8 kB / 0.675 GB, free: 13.17 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 (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.0001554/0.2301, allocations: 111.3 kB / 0.6751 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002307/0.2303, allocations: 39.89 kB / 0.6751 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.2303, allocations: 0 / 0.6751 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.26e-05/0.2304, allocations: 15.98 kB / 0.6751 GB, free: 13 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.2307, allocations: 8 kB / 0.6751 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003008/0.231, allocations: 117.5 kB / 0.6752 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.2313, allocations: 0.6768 MB / 0.6759 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.515e-05/0.2313, allocations: 4 kB / 0.6759 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.074e-05/0.2313, allocations: 7.438 kB / 0.6759 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.2313, allocations: 0 / 0.6759 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of Templates: time 0.003148/0.2345, allocations: 0.6331 MB / 0.6765 GB, free: 11.5 MB / 0.5137 GB 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)