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.5546/0.5584, allocations: 80.82 MB / 0.5904 GB, free: 22.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.003025/0.5614, allocations: 1.406 MB / 0.5918 GB, free: 21.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003624/0.5618, allocations: 124 kB / 0.5919 GB, free: 21.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.948e-05/0.5619, allocations: 1.75 kB / 0.5919 GB, free: 21.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.212e-05/0.5619, allocations: 0 / 0.5919 GB, free: 21.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.494e-05/0.562, allocations: 5.344 kB / 0.5919 GB, free: 21.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.5622, allocations: 27.88 kB / 0.5919 GB, free: 21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.146e-05/0.5623, allocations: 21.84 kB / 0.592 GB, free: 20.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.5625, allocations: 16.09 kB / 0.592 GB, free: 20.97 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.974e-05/0.5625, allocations: 2.594 kB / 0.592 GB, free: 20.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.516e-05/0.5626, allocations: 17.17 kB / 0.592 GB, free: 20.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.5626, allocations: 1.5 kB / 0.592 GB, free: 20.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.539e-05/0.5627, allocations: 31.91 kB / 0.592 GB, free: 20.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.5627, allocations: 1.656 kB / 0.592 GB, free: 20.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.5627, allocations: 10.81 kB / 0.592 GB, free: 20.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.5629, allocations: 44.09 kB / 0.5921 GB, free: 20.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.5629, allocations: 0 / 0.5921 GB, free: 20.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5629, allocations: 1.031 kB / 0.5921 GB, free: 20.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.5629, allocations: 0 / 0.5921 GB, free: 20.91 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.0004461/0.5634, allocations: 342.1 kB / 0.5924 GB, free: 20.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.5634, allocations: 9.875 kB / 0.5924 GB, free: 20.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.5635, allocations: 3.375 kB / 0.5924 GB, free: 20.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.024e-05/0.5635, allocations: 177.4 kB / 0.5926 GB, free: 20.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.5636, allocations: 3.625 kB / 0.5926 GB, free: 20.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.5636, allocations: 9.531 kB / 0.5926 GB, free: 20.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.5638, allocations: 53.56 kB / 0.5926 GB, free: 20.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.5638, allocations: 0 / 0.5926 GB, free: 20.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.5638, allocations: 5.281 kB / 0.5926 GB, free: 20.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.5638, allocations: 1.219 kB / 0.5927 GB, free: 20.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.564, allocations: 30.88 kB / 0.5927 GB, free: 20.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.5643, allocations: 251.8 kB / 0.5929 GB, free: 19.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.5645, allocations: 45.44 kB / 0.593 GB, free: 19.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.571e-05/0.5645, allocations: 23.91 kB / 0.593 GB, free: 19.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003914/0.5649, allocations: 200.2 kB / 0.5932 GB, free: 19.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.565, allocations: 35.09 kB / 0.5932 GB, free: 19.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 2.034e-06/0.565, allocations: 0 / 0.5932 GB, free: 19.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003767/0.5654, allocations: 84.7 kB / 0.5933 GB, free: 19.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.5654, allocations: 52.66 kB / 0.5933 GB, free: 19.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.79e-05/0.5655, allocations: 110.8 kB / 0.5934 GB, free: 19.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.5655, allocations: 26.83 kB / 0.5935 GB, free: 19.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.5655, allocations: 81.23 kB / 0.5936 GB, free: 19.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.5656, allocations: 5.062 kB / 0.5936 GB, free: 19.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/0.5656, allocations: 16.03 kB / 0.5936 GB, free: 19.31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.69e-05/0.5657, allocations: 319.9 kB / 0.5939 GB, free: 18.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.888e-05/0.5657, allocations: 21.02 kB / 0.5939 GB, free: 18.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.499e-05/0.5658, allocations: 15.98 kB / 0.5939 GB, free: 18.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.566, allocations: 36.81 kB / 0.5939 GB, free: 18.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.566, allocations: 4 kB / 0.5939 GB, free: 18.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001725/0.5661, allocations: 69.77 kB / 0.594 GB, free: 18.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.5662, allocations: 8 kB / 0.594 GB, free: 18.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.5662, allocations: 0 / 0.594 GB, free: 18.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.5662, allocations: 3.938 kB / 0.594 GB, free: 18.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.434e-05/0.5663, allocations: 7.984 kB / 0.594 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.5663, allocations: 0 / 0.594 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.24e-05/0.5663, allocations: 7.984 kB / 0.594 GB, free: 18.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.5664, allocations: 4 kB / 0.594 GB, free: 18.81 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 4.772e-05/0.5664, allocations: 109.8 kB / 0.5942 GB, free: 18.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.5665, allocations: 4.031 kB / 0.5942 GB, free: 18.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.5667, allocations: 72.78 kB / 0.5942 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.5667, allocations: 0 / 0.5942 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.5667, allocations: 0 / 0.5942 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.5667, allocations: 0 / 0.5942 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.5668, allocations: 165.6 kB / 0.5944 GB, free: 18.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.5668, allocations: 0 / 0.5944 GB, free: 18.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.328e-05/0.5669, allocations: 11.95 kB / 0.5944 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5669, allocations: 4.25 kB / 0.5944 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.5669, allocations: 0 / 0.5944 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.5669, allocations: 8 kB / 0.5944 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5669, allocations: 0 / 0.5944 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.5671, allocations: 163.5 kB / 0.5946 GB, free: 18.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.5672, allocations: 81.05 kB / 0.5946 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.5672, allocations: 7.938 kB / 0.5946 GB, free: 18.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.017e-05/0.5673, allocations: 7.984 kB / 0.5947 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.5673, allocations: 3.938 kB / 0.5947 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.5673, allocations: 4 kB / 0.5947 GB, free: 18.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.441e-05/0.5673, allocations: 83.28 kB / 0.5947 GB, free: 18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5673, allocations: 0 / 0.5947 GB, free: 18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002237/0.5676, allocations: 11.98 kB / 0.5948 GB, free: 17.99 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.0001378/0.5677, allocations: 111.2 kB / 0.5949 GB, free: 17.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.5679, allocations: 43.89 kB / 0.5949 GB, free: 17.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.5679, allocations: 4 kB / 0.5949 GB, free: 17.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.547e-05/0.568, allocations: 11.98 kB / 0.5949 GB, free: 17.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.5683, allocations: 10.12 kB / 0.5949 GB, free: 17.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002768/0.5686, allocations: 113.6 kB / 0.595 GB, free: 17.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.5687, allocations: 0.6768 MB / 0.5957 GB, free: 16.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.614e-05/0.5687, allocations: 0 / 0.5957 GB, free: 16.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.951e-05/0.5688, allocations: 7.438 kB / 0.5957 GB, free: 16.96 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5688, allocations: 0 / 0.5957 GB, free: 16.96 MB / 446.1 MB Notification: Performance of Templates: time 0.003511/0.5723, allocations: 0.6312 MB / 0.5963 GB, free: 16.33 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)