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.5117/0.514, allocations: 80.81 MB / 0.5904 GB, free: 22.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003031/0.5171, allocations: 1.743 MB / 0.5921 GB, free: 20.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.5182, allocations: 0.686 MB / 0.5928 GB, free: 20.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.181e-05/0.5183, allocations: 0 / 0.5928 GB, free: 20.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.23e-05/0.5184, allocations: 12.55 kB / 0.5928 GB, free: 20.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.579e-05/0.5184, allocations: 12.91 kB / 0.5928 GB, free: 20.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005574/0.519, allocations: 175.5 kB / 0.593 GB, free: 20.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.5191, allocations: 123.7 kB / 0.5931 GB, free: 20.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.5193, allocations: 47.45 kB / 0.5931 GB, free: 20.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.5194, allocations: 59.83 kB / 0.5932 GB, free: 19.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.351e-05/0.5195, allocations: 56.97 kB / 0.5932 GB, free: 19.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.5196, allocations: 19.88 kB / 0.5933 GB, free: 19.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.5197, allocations: 43.97 kB / 0.5933 GB, free: 19.85 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.405e-05/0.5197, allocations: 28.41 kB / 0.5933 GB, free: 19.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.226e-05/0.5198, allocations: 53.78 kB / 0.5934 GB, free: 19.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.52, allocations: 139.6 kB / 0.5935 GB, free: 19.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.52, allocations: 4 kB / 0.5935 GB, free: 19.63 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.52, allocations: 0 / 0.5935 GB, free: 19.63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.52, allocations: 0 / 0.5935 GB, free: 19.63 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.0005847/0.5206, allocations: 449.8 kB / 0.5939 GB, free: 19.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.5207, allocations: 8.031 kB / 0.594 GB, free: 19.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008215/0.5215, allocations: 107.7 kB / 0.5941 GB, free: 19.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.5216, allocations: 180.1 kB / 0.5942 GB, free: 18.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.904e-05/0.5217, allocations: 67.95 kB / 0.5943 GB, free: 18.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.5217, allocations: 15.94 kB / 0.5943 GB, free: 18.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004697/0.5222, allocations: 169.4 kB / 0.5945 GB, free: 18.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.5222, allocations: 0 / 0.5945 GB, free: 18.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.5222, allocations: 4 kB / 0.5945 GB, free: 18.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.5223, allocations: 4 kB / 0.5945 GB, free: 18.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005627/0.5228, allocations: 159.3 kB / 0.5946 GB, free: 18.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.5238, allocations: 497.2 kB / 0.5951 GB, free: 17.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009256/0.5248, allocations: 218.3 kB / 0.5953 GB, free: 17.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.525, allocations: 80.91 kB / 0.5954 GB, free: 17.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.5251, allocations: 3.984 kB / 0.5954 GB, free: 17.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.5251, allocations: 46.44 kB / 0.5954 GB, free: 17.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.5251, allocations: 0 / 0.5954 GB, free: 17.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009277/0.526, allocations: 249.5 kB / 0.5957 GB, free: 17.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.5261, allocations: 55.41 kB / 0.5957 GB, free: 17.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.162e-05/0.5262, allocations: 143.8 kB / 0.5959 GB, free: 17.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.5262, allocations: 33.7 kB / 0.5959 GB, free: 17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.5262, allocations: 108.2 kB / 0.596 GB, free: 16.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.5263, allocations: 23.66 kB / 0.596 GB, free: 16.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.5263, allocations: 21.7 kB / 0.596 GB, free: 16.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.074e-05/0.5264, allocations: 322.8 kB / 0.5964 GB, free: 16.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.5267, allocations: 75.92 kB / 0.5964 GB, free: 16.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.5269, allocations: 102.4 kB / 0.5965 GB, free: 16.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005225/0.5275, allocations: 162.4 kB / 0.5967 GB, free: 16.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5275, allocations: 0 / 0.5967 GB, free: 16.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000594/0.5281, allocations: 201.4 kB / 0.5969 GB, free: 15.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.5281, allocations: 11.88 kB / 0.5969 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.5281, allocations: 0 / 0.5969 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.5281, allocations: 4 kB / 0.5969 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.5284, allocations: 36.2 kB / 0.5969 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.5284, allocations: 12 kB / 0.5969 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.5286, allocations: 31.95 kB / 0.597 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.5286, allocations: 4 kB / 0.597 GB, free: 15.86 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.004e-05/0.5287, allocations: 113.8 kB / 0.5971 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.5288, allocations: 11.84 kB / 0.5971 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006418/0.5294, allocations: 206.2 kB / 0.5973 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.5294, allocations: 0 / 0.5973 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.5294, allocations: 0 / 0.5973 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.5294, allocations: 0 / 0.5973 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.5296, allocations: 234.3 kB / 0.5975 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5296, allocations: 4 kB / 0.5975 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.5298, allocations: 31.95 kB / 0.5975 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.5299, allocations: 7.938 kB / 0.5975 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.5299, allocations: 3.984 kB / 0.5976 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.5299, allocations: 0 / 0.5976 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5299, allocations: 0 / 0.5976 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005905/0.5305, allocations: 283.3 kB / 0.5978 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.437e-05/0.5305, allocations: 92.89 kB / 0.5979 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.5305, allocations: 4 kB / 0.5979 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.5308, allocations: 31.89 kB / 0.5979 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.5309, allocations: 4 kB / 0.5979 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.5309, allocations: 11.98 kB / 0.598 GB, free: 14.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.097e-05/0.531, allocations: 110.5 kB / 0.5981 GB, free: 14.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.531, allocations: 0 / 0.5981 GB, free: 14.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.5312, allocations: 24 kB / 0.5981 GB, free: 14.62 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 (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.000115/0.5313, allocations: 95.25 kB / 0.5982 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006213/0.532, allocations: 167.8 kB / 0.5983 GB, free: 14.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.532, allocations: 0 / 0.5983 GB, free: 14.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002771/0.5323, allocations: 83.91 kB / 0.5984 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.5326, allocations: 10.41 kB / 0.5984 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006503/0.5333, allocations: 255.6 kB / 0.5987 GB, free: 13.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.5335, allocations: 0.7079 MB / 0.5994 GB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.773e-05/0.5336, allocations: 27.91 kB / 0.5994 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.953e-05/0.5336, allocations: 15.44 kB / 0.5994 GB, free: 13.21 MB / 446.1 MB Notification: Performance of SimCode: time 4.6e-07/0.5336, allocations: 0 / 0.5994 GB, free: 13.21 MB / 446.1 MB Notification: Performance of Templates: time 0.00374/0.5374, allocations: 1.464 MB / 0.6008 GB, free: 11.75 MB / 446.1 MB 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)