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.2093/0.2114, allocations: 80.83 MB / 0.6706 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.00308/0.2146, allocations: 1.752 MB / 0.6723 GB, free: 384 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.2158, allocations: 0.6827 MB / 0.673 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.129e-05/0.2159, allocations: 4 kB / 0.673 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.913e-05/0.2159, allocations: 7.875 kB / 0.673 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.205e-05/0.216, allocations: 23.78 kB / 0.673 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006043/0.2166, allocations: 166.8 kB / 0.6732 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.2168, allocations: 127.6 kB / 0.6733 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.217, allocations: 49.05 kB / 0.6734 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.2171, allocations: 59.77 kB / 0.6734 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.2172, allocations: 55.77 kB / 0.6735 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.318e-05/0.2173, allocations: 12 kB / 0.6735 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.2174, allocations: 47.97 kB / 0.6735 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.145e-05/0.2175, allocations: 31.89 kB / 0.6736 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.116e-05/0.2176, allocations: 55.72 kB / 0.6736 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.2178, allocations: 147.4 kB / 0.6738 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2178, allocations: 0 / 0.6738 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2178, allocations: 0 / 0.6738 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.2178, allocations: 0 / 0.6738 GB, free: 14.91 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.0006426/0.2185, allocations: 446.8 kB / 0.6742 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.2185, allocations: 15.97 kB / 0.6742 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008253/0.2194, allocations: 108.7 kB / 0.6743 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.2195, allocations: 176.2 kB / 0.6745 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.2196, allocations: 75.7 kB / 0.6745 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.2197, allocations: 4 kB / 0.6745 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005207/0.2202, allocations: 169.5 kB / 0.6747 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.2202, allocations: 3.938 kB / 0.6747 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.2202, allocations: 0 / 0.6747 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2202, allocations: 3.938 kB / 0.6747 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005999/0.2208, allocations: 163.8 kB / 0.6749 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.222, allocations: 497.2 kB / 0.6753 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009945/0.223, allocations: 222.3 kB / 0.6756 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.2233, allocations: 76.91 kB / 0.6756 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.2233, allocations: 7.984 kB / 0.6756 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.2234, allocations: 34.5 kB / 0.6757 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.2234, allocations: 3.938 kB / 0.6757 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.001018/0.2244, allocations: 261.4 kB / 0.6759 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.2245, allocations: 55.39 kB / 0.676 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.2246, allocations: 141.3 kB / 0.6761 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.2246, allocations: 29.7 kB / 0.6761 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.264e-05/0.2247, allocations: 108.2 kB / 0.6762 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.2248, allocations: 19.86 kB / 0.6763 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-05/0.2248, allocations: 25.7 kB / 0.6763 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.225, allocations: 318.8 kB / 0.6766 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/0.2253, allocations: 79.92 kB / 0.6767 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/0.2257, allocations: 94.48 kB / 0.6768 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000591/0.2263, allocations: 162.4 kB / 0.6769 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2263, allocations: 0 / 0.6769 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006916/0.227, allocations: 205.4 kB / 0.6771 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.423e-05/0.227, allocations: 8 kB / 0.6771 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.227, allocations: 0 / 0.6771 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.2271, allocations: 0 / 0.6771 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.2274, allocations: 35.95 kB / 0.6771 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.2274, allocations: 320 / 0.6771 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.2276, allocations: 39.83 kB / 0.6772 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.2276, allocations: 8 kB / 0.6772 GB, free: 11.14 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.0001141/0.2278, allocations: 117.8 kB / 0.6773 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.2278, allocations: 15.84 kB / 0.6773 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007271/0.2285, allocations: 202.2 kB / 0.6775 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.2286, allocations: 4 kB / 0.6775 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2286, allocations: 0 / 0.6775 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2286, allocations: 0 / 0.6775 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.2289, allocations: 234.4 kB / 0.6777 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2289, allocations: 0 / 0.6777 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.2291, allocations: 43.81 kB / 0.6778 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.2291, allocations: 4 kB / 0.6778 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.2291, allocations: 3.984 kB / 0.6778 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.2291, allocations: 0 / 0.6778 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.2292, allocations: 4 kB / 0.6778 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006841/0.2298, allocations: 279.3 kB / 0.6781 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.2299, allocations: 89 kB / 0.6781 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.2299, allocations: 0 / 0.6781 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002764/0.2302, allocations: 31.95 kB / 0.6782 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.2303, allocations: 7.984 kB / 0.6782 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.2303, allocations: 4 kB / 0.6782 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.149e-05/0.2304, allocations: 111.2 kB / 0.6783 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2304, allocations: 0 / 0.6783 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002597/0.2307, allocations: 35.83 kB / 0.6783 GB, free: 9.867 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.0001634/0.2308, allocations: 99.17 kB / 0.6784 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006524/0.2315, allocations: 167.8 kB / 0.6786 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2315, allocations: 0 / 0.6786 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.2318, allocations: 83.84 kB / 0.6787 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.2321, allocations: 5 kB / 0.6787 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006911/0.2329, allocations: 259.4 kB / 0.6789 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.2331, allocations: 0.7002 MB / 0.6796 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.191e-05/0.2332, allocations: 19.98 kB / 0.6796 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.404e-05/0.2333, allocations: 11.44 kB / 0.6796 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.2333, allocations: 0 / 0.6796 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of Templates: time 0.00401/0.2374, allocations: 1.472 MB / 0.6811 GB, free: 7.008 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)