Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") [/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.1976/0.2006, allocations: 80.84 MB / 0.6706 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003864/0.2045, allocations: 1.749 MB / 0.6723 GB, free: 260 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.2061, allocations: 0.6866 MB / 0.673 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.2062, allocations: 0 / 0.673 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.554e-05/0.2063, allocations: 7.875 kB / 0.673 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.2064, allocations: 23.78 kB / 0.673 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007447/0.2072, allocations: 167.1 kB / 0.6732 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.2075, allocations: 119.6 kB / 0.6733 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.2076, allocations: 60.95 kB / 0.6734 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.2078, allocations: 51.84 kB / 0.6734 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.208, allocations: 55.75 kB / 0.6735 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.526e-05/0.208, allocations: 12 kB / 0.6735 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.2082, allocations: 43.97 kB / 0.6735 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.416e-05/0.2082, allocations: 31.89 kB / 0.6735 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.792e-05/0.2083, allocations: 51.73 kB / 0.6736 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.2086, allocations: 147.5 kB / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2086, allocations: 0 / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2086, allocations: 4 kB / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.2086, allocations: 0 / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007384/0.2094, allocations: 438.9 kB / 0.6742 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.2094, allocations: 11.97 kB / 0.6742 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008878/0.2103, allocations: 112.7 kB / 0.6743 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.2105, allocations: 188.1 kB / 0.6745 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.2106, allocations: 71.7 kB / 0.6745 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.2107, allocations: 4 kB / 0.6745 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00055/0.2112, allocations: 169.5 kB / 0.6747 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.2112, allocations: 4 kB / 0.6747 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.2113, allocations: 4 kB / 0.6747 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.2113, allocations: 7.922 kB / 0.6747 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006349/0.2119, allocations: 155.8 kB / 0.6749 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.2132, allocations: 493.3 kB / 0.6753 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.2143, allocations: 218.3 kB / 0.6755 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003146/0.2146, allocations: 80.91 kB / 0.6756 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.2147, allocations: 11.97 kB / 0.6756 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.2147, allocations: 42.44 kB / 0.6757 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 2.164e-06/0.2147, allocations: 0 / 0.6757 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.001125/0.2159, allocations: 253.5 kB / 0.6759 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.2159, allocations: 55.41 kB / 0.676 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.2161, allocations: 141.2 kB / 0.6761 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.2161, allocations: 29.7 kB / 0.6761 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.347e-05/0.2162, allocations: 108.1 kB / 0.6762 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.2162, allocations: 19.72 kB / 0.6762 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.076e-05/0.2163, allocations: 21.7 kB / 0.6763 GB, free: 12 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.2165, allocations: 326.8 kB / 0.6766 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/0.2168, allocations: 71.92 kB / 0.6766 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/0.2171, allocations: 98.47 kB / 0.6767 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005963/0.2177, allocations: 170.6 kB / 0.6769 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.2178, allocations: 0 / 0.6769 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006892/0.2185, allocations: 205.3 kB / 0.6771 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.2185, allocations: 4 kB / 0.6771 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.2185, allocations: 4 kB / 0.6771 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.2185, allocations: 0 / 0.6771 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.2188, allocations: 39.95 kB / 0.6771 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.2188, allocations: 4 kB / 0.6771 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.219, allocations: 31.89 kB / 0.6772 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.2191, allocations: 4 kB / 0.6772 GB, free: 11.02 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 0.0001181/0.2192, allocations: 113.8 kB / 0.6773 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.2192, allocations: 11.84 kB / 0.6773 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007502/0.22, allocations: 206.2 kB / 0.6775 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.22, allocations: 3.938 kB / 0.6775 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.22, allocations: 0 / 0.6775 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.22, allocations: 4 kB / 0.6775 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.2203, allocations: 234.4 kB / 0.6777 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2203, allocations: 0 / 0.6777 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.2206, allocations: 39.89 kB / 0.6778 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.2206, allocations: 0 / 0.6778 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.2206, allocations: 3.984 kB / 0.6778 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2206, allocations: 0 / 0.6778 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2206, allocations: 0 / 0.6778 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007641/0.2214, allocations: 287.3 kB / 0.678 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.82e-05/0.2215, allocations: 88.95 kB / 0.6781 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.2215, allocations: 192 / 0.6781 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000306/0.2218, allocations: 39.95 kB / 0.6782 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.2219, allocations: 7.938 kB / 0.6782 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.2219, allocations: 7.984 kB / 0.6782 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.416e-05/0.222, allocations: 103.2 kB / 0.6783 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.222, allocations: 4 kB / 0.6783 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002762/0.2223, allocations: 27.84 kB / 0.6783 GB, free: 9.758 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 (6): * Single equations (assignments): 6 * 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.0001717/0.2225, allocations: 99.23 kB / 0.6784 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007283/0.2232, allocations: 167.8 kB / 0.6786 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.2232, allocations: 4 kB / 0.6786 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003197/0.2236, allocations: 76.05 kB / 0.6786 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.224, allocations: 12.61 kB / 0.6787 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008841/0.2249, allocations: 255.5 kB / 0.6789 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.2253, allocations: 0.6963 MB / 0.6796 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.952e-05/0.2254, allocations: 19.98 kB / 0.6796 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.33e-05/0.2255, allocations: 15.42 kB / 0.6796 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of SimCode: time 4e-07/0.2255, allocations: 4 kB / 0.6796 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of Templates: time 0.004891/0.2304, allocations: 1.513 MB / 0.6811 GB, free: 6.855 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)