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.203/0.2038, allocations: 82.21 MB / 0.5935 GB, free: 6.023 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002569/0.2064, allocations: 1.434 MB / 0.5949 GB, free: 4.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.2077, allocations: 0.6287 MB / 0.5955 GB, free: 3.938 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.2079, allocations: 4 kB / 0.5955 GB, free: 3.934 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.537e-05/0.2079, allocations: 11.86 kB / 0.5955 GB, free: 3.922 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.545e-05/0.208, allocations: 11.81 kB / 0.5955 GB, free: 3.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006826/0.2087, allocations: 150.5 kB / 0.5956 GB, free: 3.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.2089, allocations: 107.7 kB / 0.5957 GB, free: 3.664 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.209, allocations: 41.2 kB / 0.5958 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.2092, allocations: 43.84 kB / 0.5958 GB, free: 3.578 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.799e-05/0.2093, allocations: 39.83 kB / 0.5959 GB, free: 3.539 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.2093, allocations: 7.938 kB / 0.5959 GB, free: 3.531 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.2094, allocations: 43.95 kB / 0.5959 GB, free: 3.488 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.827e-05/0.2094, allocations: 19.92 kB / 0.5959 GB, free: 3.469 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.302e-05/0.2095, allocations: 37.64 kB / 0.596 GB, free: 3.426 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.2096, allocations: 96.03 kB / 0.5961 GB, free: 3.332 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2096, allocations: 4 kB / 0.5961 GB, free: 3.328 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2096, allocations: 0 / 0.5961 GB, free: 3.328 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.2096, allocations: 0 / 0.5961 GB, free: 3.328 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000526/0.2102, allocations: 415 kB / 0.5965 GB, free: 2.875 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.2102, allocations: 8.031 kB / 0.5965 GB, free: 2.867 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008258/0.211, allocations: 147.6 kB / 0.5966 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.2112, allocations: 186.8 kB / 0.5968 GB, free: 2.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.519e-05/0.2113, allocations: 63.41 kB / 0.5968 GB, free: 2.426 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.2114, allocations: 11.98 kB / 0.5969 GB, free: 2.414 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004769/0.2118, allocations: 181.5 kB / 0.597 GB, free: 2.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.2119, allocations: 4 kB / 0.597 GB, free: 2.227 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.2119, allocations: 12 kB / 0.597 GB, free: 2.215 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2119, allocations: 0 / 0.597 GB, free: 2.215 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005602/0.2125, allocations: 191.8 kB / 0.5972 GB, free: 2.027 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.2135, allocations: 0.5129 MB / 0.5977 GB, free: 1.461 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009274/0.2145, allocations: 274.3 kB / 0.598 GB, free: 1.184 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/0.2148, allocations: 100.9 kB / 0.5981 GB, free: 1.082 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.2148, allocations: 0 / 0.5981 GB, free: 1.082 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.2148, allocations: 34.56 kB / 0.5981 GB, free: 1.039 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.2148, allocations: 0 / 0.5981 GB, free: 1.039 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.000947/0.2158, allocations: 313.5 kB / 0.5984 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.2158, allocations: 55.41 kB / 0.5985 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.216, allocations: 139.8 kB / 0.5986 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.216, allocations: 29.7 kB / 0.5986 GB, free: 492 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.288e-05/0.2161, allocations: 108.2 kB / 0.5987 GB, free: 380 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.2161, allocations: 23.73 kB / 0.5988 GB, free: 356 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.2161, allocations: 0 / 0.5988 GB, free: 356 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.2163, allocations: 322.8 kB / 0.5991 GB, free: 24 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.2166, allocations: 95.91 kB / 0.5992 GB, free: 15.93 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.2169, allocations: 110.5 kB / 0.5993 GB, free: 15.81 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/0.2172, allocations: 95.88 kB / 0.5994 GB, free: 15.72 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2172, allocations: 0 / 0.5994 GB, free: 15.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006518/0.2179, allocations: 237.4 kB / 0.5996 GB, free: 15.48 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.2179, allocations: 6.031 kB / 0.5996 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.2179, allocations: 0 / 0.5996 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.2179, allocations: 7.938 kB / 0.5996 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.2182, allocations: 39.95 kB / 0.5996 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.2182, allocations: 8.094 kB / 0.5996 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.2184, allocations: 43.86 kB / 0.5997 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.2184, allocations: 3.984 kB / 0.5997 GB, free: 15.38 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001399/0.2186, allocations: 121.7 kB / 0.5998 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.2186, allocations: 11.91 kB / 0.5998 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006759/0.2193, allocations: 242.2 kB / 0.6 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2193, allocations: 0 / 0.6 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2193, allocations: 0 / 0.6 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.2193, allocations: 3.984 kB / 0.6 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.2196, allocations: 238.3 kB / 0.6003 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2196, allocations: 384 / 0.6003 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.2199, allocations: 39.95 kB / 0.6003 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.2199, allocations: 4 kB / 0.6003 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.2199, allocations: 3.984 kB / 0.6003 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.2199, allocations: 4 kB / 0.6003 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2199, allocations: 0 / 0.6003 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006712/0.2206, allocations: 319.2 kB / 0.6006 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.2206, allocations: 96.95 kB / 0.6007 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.2207, allocations: 0 / 0.6007 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.221, allocations: 43.95 kB / 0.6008 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.221, allocations: 7.984 kB / 0.6008 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.221, allocations: 4 kB / 0.6008 GB, free: 14.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.898e-05/0.2211, allocations: 107.2 kB / 0.6009 GB, free: 14.06 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2212, allocations: 4 kB / 0.6009 GB, free: 14.05 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.2214, allocations: 23.91 kB / 0.6009 GB, free: 14.03 MB / 462.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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001543/0.2216, allocations: 99.23 kB / 0.601 GB, free: 13.92 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006275/0.2222, allocations: 207.8 kB / 0.6012 GB, free: 13.72 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.2222, allocations: 0 / 0.6012 GB, free: 13.72 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003143/0.2226, allocations: 104 kB / 0.6013 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.2229, allocations: 15.89 kB / 0.6013 GB, free: 13.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007015/0.2236, allocations: 297.4 kB / 0.6016 GB, free: 13.28 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005179/0.2242, allocations: 0.7033 MB / 0.6023 GB, free: 12.55 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.2243, allocations: 12.17 kB / 0.6023 GB, free: 12.54 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.675e-05/0.2244, allocations: 19.38 kB / 0.6023 GB, free: 12.52 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2244, allocations: 0 / 0.6023 GB, free: 12.52 MB / 462.1 MB Notification: Performance of Templates: time 0.003962/0.2283, allocations: 1.311 MB / 0.6036 GB, free: 11.23 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: