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.2227/0.2246, allocations: 80.83 MB / 0.6706 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.00281/0.2275, allocations: 1.412 MB / 0.672 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003403/0.2278, allocations: 115.9 kB / 0.6721 GB, free: 496 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.361e-05/0.2279, allocations: 0 / 0.6721 GB, free: 496 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.059e-05/0.2279, allocations: 4 kB / 0.6721 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.889e-05/0.228, allocations: 7.938 kB / 0.6721 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.2282, allocations: 27.91 kB / 0.6721 GB, free: 456 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.212e-05/0.2283, allocations: 19.94 kB / 0.6722 GB, free: 436 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.2284, allocations: 7.984 kB / 0.6722 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.504e-05/0.2285, allocations: 15.92 kB / 0.6722 GB, free: 412 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.089e-05/0.2285, allocations: 3.984 kB / 0.6722 GB, free: 408 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.2285, allocations: 4 kB / 0.6722 GB, free: 404 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-05/0.2286, allocations: 35.97 kB / 0.6722 GB, free: 368 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.2287, allocations: 11.88 kB / 0.6722 GB, free: 356 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.2287, allocations: 4 kB / 0.6722 GB, free: 352 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.2288, allocations: 47.81 kB / 0.6723 GB, free: 304 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2288, allocations: 0 / 0.6723 GB, free: 304 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2288, allocations: 0 / 0.6723 GB, free: 304 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.2288, allocations: 0 / 0.6723 GB, free: 304 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.0005619/0.2294, allocations: 339.5 kB / 0.6726 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.2295, allocations: 12.03 kB / 0.6726 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.2295, allocations: 4.875 kB / 0.6726 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.2296, allocations: 184.3 kB / 0.6728 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.2296, allocations: 4.312 kB / 0.6728 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.2297, allocations: 384 / 0.6728 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.2298, allocations: 53.61 kB / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.2299, allocations: 0 / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.2299, allocations: 0 / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2299, allocations: 0 / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.23, allocations: 31.97 kB / 0.6729 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000333/0.2304, allocations: 252.9 kB / 0.6731 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.2305, allocations: 38.5 kB / 0.6732 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.661e-05/0.2306, allocations: 24.91 kB / 0.6732 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004007/0.231, allocations: 202.1 kB / 0.6734 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.2311, allocations: 34.56 kB / 0.6734 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.2311, allocations: 0 / 0.6734 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003503/0.2314, allocations: 81.64 kB / 0.6735 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.2315, allocations: 55.47 kB / 0.6735 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.246e-05/0.2316, allocations: 105.8 kB / 0.6736 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.2316, allocations: 25.7 kB / 0.6737 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.2316, allocations: 88.08 kB / 0.6738 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.2316, allocations: 7.906 kB / 0.6738 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.2317, allocations: 13.72 kB / 0.6738 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.654e-05/0.2318, allocations: 318.8 kB / 0.6741 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.046e-05/0.2319, allocations: 16.23 kB / 0.6741 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.997e-05/0.2319, allocations: 19.98 kB / 0.6741 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.2321, allocations: 44.81 kB / 0.6742 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2321, allocations: 0 / 0.6742 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001841/0.2323, allocations: 61.67 kB / 0.6742 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.2323, allocations: 12.03 kB / 0.6742 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.2323, allocations: 4 kB / 0.6742 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.2324, allocations: 0 / 0.6742 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.567e-05/0.2324, allocations: 7.984 kB / 0.6742 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2325, allocations: 0 / 0.6742 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.435e-05/0.2325, allocations: 7.984 kB / 0.6742 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.2325, allocations: 7.938 kB / 0.6743 GB, free: 14.02 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 7.253e-05/0.2326, allocations: 117.7 kB / 0.6744 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.2326, allocations: 3.906 kB / 0.6744 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.2329, allocations: 72.78 kB / 0.6744 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2329, allocations: 0 / 0.6744 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2329, allocations: 0 / 0.6744 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2329, allocations: 0 / 0.6744 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.233, allocations: 165.6 kB / 0.6746 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.233, allocations: 0 / 0.6746 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.422e-05/0.2331, allocations: 11.92 kB / 0.6746 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.2331, allocations: 0 / 0.6746 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.2331, allocations: 8.031 kB / 0.6746 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2331, allocations: 4 kB / 0.6746 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2331, allocations: 0 / 0.6746 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.2334, allocations: 159.5 kB / 0.6748 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.2334, allocations: 77.11 kB / 0.6748 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.2334, allocations: 0 / 0.6748 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.515e-05/0.2335, allocations: 16.02 kB / 0.6749 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.2335, allocations: 0 / 0.6749 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.2335, allocations: 4 kB / 0.6749 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.768e-05/0.2336, allocations: 79.28 kB / 0.6749 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2336, allocations: 0 / 0.6749 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000212/0.2338, allocations: 7.984 kB / 0.6749 GB, free: 13.21 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.0001451/0.234, allocations: 111.2 kB / 0.6751 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002191/0.2342, allocations: 47.83 kB / 0.6751 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2342, allocations: 4 kB / 0.6751 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.008e-05/0.2343, allocations: 11.98 kB / 0.6751 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.2346, allocations: 12.17 kB / 0.6751 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002651/0.2348, allocations: 109.4 kB / 0.6752 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.2351, allocations: 0.6847 MB / 0.6759 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.183e-05/0.2351, allocations: 0 / 0.6759 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.834e-05/0.2351, allocations: 7.438 kB / 0.6759 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of SimCode: time 1.753e-06/0.2351, allocations: 0 / 0.6759 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of Templates: time 0.002766/0.2379, allocations: 0.6484 MB / 0.6765 GB, free: 11.51 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)