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.2089/0.211, allocations: 80.83 MB / 0.6706 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002696/0.2137, allocations: 1.416 MB / 0.672 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003721/0.2141, allocations: 115.9 kB / 0.6721 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.767e-05/0.2142, allocations: 4 kB / 0.6721 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.793e-05/0.2142, allocations: 3.938 kB / 0.6721 GB, free: 476 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.696e-05/0.2143, allocations: 3.938 kB / 0.6721 GB, free: 472 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.2145, allocations: 19.97 kB / 0.6721 GB, free: 452 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.841e-05/0.2146, allocations: 27.92 kB / 0.6722 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.2147, allocations: 7.984 kB / 0.6722 GB, free: 416 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.751e-05/0.2148, allocations: 7.938 kB / 0.6722 GB, free: 408 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.485e-05/0.2148, allocations: 11.98 kB / 0.6722 GB, free: 396 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.2149, allocations: 4 kB / 0.6722 GB, free: 392 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.613e-05/0.215, allocations: 35.97 kB / 0.6722 GB, free: 356 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.215, allocations: 11.92 kB / 0.6722 GB, free: 344 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.194e-05/0.215, allocations: 4 kB / 0.6722 GB, free: 340 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.2152, allocations: 43.77 kB / 0.6723 GB, free: 296 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2152, allocations: 4 kB / 0.6723 GB, free: 292 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.354e-06/0.2152, allocations: 0 / 0.6723 GB, free: 292 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.2152, allocations: 0 / 0.6723 GB, free: 292 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.0004807/0.2157, allocations: 339.5 kB / 0.6726 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.2157, allocations: 12.03 kB / 0.6726 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.2158, allocations: 8.875 kB / 0.6726 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.2159, allocations: 176.3 kB / 0.6728 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.2159, allocations: 384 / 0.6728 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.2159, allocations: 384 / 0.6728 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.2161, allocations: 49.62 kB / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2161, allocations: 3.984 kB / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.2162, allocations: 0 / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.2162, allocations: 0 / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.2163, allocations: 39.91 kB / 0.6729 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.2167, allocations: 252.9 kB / 0.6731 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.2168, allocations: 34.56 kB / 0.6732 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.877e-05/0.2169, allocations: 24.91 kB / 0.6732 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004039/0.2173, allocations: 202.1 kB / 0.6734 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.2174, allocations: 38.56 kB / 0.6734 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2174, allocations: 3.938 kB / 0.6734 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003622/0.2178, allocations: 81.58 kB / 0.6735 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.2178, allocations: 55.53 kB / 0.6736 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.705e-05/0.2179, allocations: 101.8 kB / 0.6737 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.2179, allocations: 25.7 kB / 0.6737 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.558e-05/0.218, allocations: 92.08 kB / 0.6738 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.218, allocations: 3.906 kB / 0.6738 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.218, allocations: 13.72 kB / 0.6738 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.2181, allocations: 322.8 kB / 0.6741 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.081e-05/0.2182, allocations: 15.98 kB / 0.6741 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.287e-05/0.2183, allocations: 19.98 kB / 0.6741 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.2185, allocations: 32.83 kB / 0.6742 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2185, allocations: 3.938 kB / 0.6742 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00019/0.2187, allocations: 69.72 kB / 0.6742 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.2187, allocations: 4 kB / 0.6742 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.2187, allocations: 4 kB / 0.6742 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.2187, allocations: 0 / 0.6742 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.703e-05/0.2188, allocations: 7.984 kB / 0.6742 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2188, allocations: 0 / 0.6742 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.718e-05/0.2189, allocations: 7.984 kB / 0.6742 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.2189, allocations: 4 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.944e-05/0.219, allocations: 117.8 kB / 0.6744 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.219, allocations: 7.906 kB / 0.6744 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.2193, allocations: 76.72 kB / 0.6744 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2193, allocations: 0 / 0.6744 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2193, allocations: 0 / 0.6744 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.2193, allocations: 0 / 0.6744 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.2195, allocations: 161.6 kB / 0.6746 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2195, allocations: 4 kB / 0.6746 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.554e-05/0.2195, allocations: 12.02 kB / 0.6746 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2195, allocations: 0 / 0.6746 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.2195, allocations: 3.984 kB / 0.6746 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2195, allocations: 0 / 0.6746 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2196, allocations: 4 kB / 0.6746 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.2198, allocations: 167.4 kB / 0.6748 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.2198, allocations: 81.14 kB / 0.6749 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.2199, allocations: 256 / 0.6749 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/0.2199, allocations: 11.98 kB / 0.6749 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.22, allocations: 0 / 0.6749 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.22, allocations: 0 / 0.6749 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.141e-05/0.22, allocations: 83.28 kB / 0.675 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.8e-07/0.2201, allocations: 4 kB / 0.675 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002533/0.2203, allocations: 11.92 kB / 0.675 GB, free: 13.18 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.0001606/0.2205, allocations: 107.2 kB / 0.6751 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.2207, allocations: 39.89 kB / 0.6751 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2207, allocations: 0 / 0.6751 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.478e-05/0.2208, allocations: 19.98 kB / 0.6751 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.2211, allocations: 9.812 kB / 0.6751 GB, free: 13 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002899/0.2214, allocations: 113.5 kB / 0.6752 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.2217, allocations: 0.6807 MB / 0.6759 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.45e-05/0.2217, allocations: 0 / 0.6759 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.098e-05/0.2217, allocations: 7.438 kB / 0.6759 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.2217, allocations: 0 / 0.6759 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of Templates: time 0.002925/0.2247, allocations: 0.6329 MB / 0.6765 GB, free: 11.52 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)