Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009127/0.0009127, allocations: 91.14 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005774/0.005774, allocations: 173.3 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005087/0.0005087, allocations: 12.25 kB / 0.6743 GB, free: 25.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2077, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.001787/0.2095, allocations: 1.482 MB / 0.7893 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000981/0.2105, allocations: 0.6875 MB / 0.79 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.2105, allocations: 4 kB / 0.79 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.2106, allocations: 3.938 kB / 0.79 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.918e-05/0.2106, allocations: 15.84 kB / 0.79 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004977/0.2111, allocations: 151.1 kB / 0.7902 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.2113, allocations: 123.7 kB / 0.7903 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.2114, allocations: 37.11 kB / 0.7903 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.2115, allocations: 55.7 kB / 0.7904 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.023e-05/0.2116, allocations: 35.78 kB / 0.7904 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.2117, allocations: 7.938 kB / 0.7904 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.629e-05/0.2118, allocations: 43.97 kB / 0.7904 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.05e-05/0.2118, allocations: 27.89 kB / 0.7905 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.542e-05/0.2119, allocations: 69.42 kB / 0.7905 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.212, allocations: 135.8 kB / 0.7907 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.212, allocations: 0 / 0.7907 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2121, allocations: 0 / 0.7907 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.2121, allocations: 0 / 0.7907 GB, free: 8.688 MB / 0.6075 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.0005131/0.2126, allocations: 411.2 kB / 0.7911 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.2126, allocations: 12.03 kB / 0.7911 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008488/0.2135, allocations: 148.6 kB / 0.7912 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.2136, allocations: 184.1 kB / 0.7914 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.453e-05/0.2137, allocations: 67.95 kB / 0.7915 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.2137, allocations: 4.375 kB / 0.7915 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000514/0.2143, allocations: 197.6 kB / 0.7916 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.2143, allocations: 4 kB / 0.7917 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.2143, allocations: 3.984 kB / 0.7917 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.2143, allocations: 4 kB / 0.7917 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006574/0.215, allocations: 195.7 kB / 0.7918 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.2161, allocations: 0.5016 MB / 0.7923 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.2171, allocations: 274.3 kB / 0.7926 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.2175, allocations: 96.91 kB / 0.7927 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.2175, allocations: 8 kB / 0.7927 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.2175, allocations: 34.56 kB / 0.7927 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.2175, allocations: 0 / 0.7927 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.001054/0.2186, allocations: 313.5 kB / 0.793 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.2186, allocations: 51.41 kB / 0.7931 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.2188, allocations: 140.4 kB / 0.7932 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.2188, allocations: 33.7 kB / 0.7932 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/0.2189, allocations: 112.2 kB / 0.7933 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.2189, allocations: 27.59 kB / 0.7934 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.2189, allocations: 9.719 kB / 0.7934 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.219, allocations: 322.8 kB / 0.7937 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003376/0.2194, allocations: 91.92 kB / 0.7938 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.2197, allocations: 114.5 kB / 0.7939 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006347/0.2204, allocations: 194.4 kB / 0.7941 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2204, allocations: 0 / 0.7941 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007153/0.2211, allocations: 241.4 kB / 0.7943 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.2211, allocations: 8 kB / 0.7943 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2211, allocations: 0 / 0.7943 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2212, allocations: 7.875 kB / 0.7943 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.2214, allocations: 43.95 kB / 0.7944 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2214, allocations: 0 / 0.7944 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.2216, allocations: 39.95 kB / 0.7944 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.2217, allocations: 7.938 kB / 0.7944 GB, free: 4.602 MB / 0.6075 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 9.246e-05/0.2218, allocations: 113.8 kB / 0.7945 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.2218, allocations: 7.906 kB / 0.7945 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007533/0.2226, allocations: 250 kB / 0.7948 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2226, allocations: 4 kB / 0.7948 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.2226, allocations: 0 / 0.7948 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2226, allocations: 0 / 0.7948 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.2228, allocations: 238.3 kB / 0.795 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2228, allocations: 4 kB / 0.795 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.2231, allocations: 39.95 kB / 0.795 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2231, allocations: 384 / 0.795 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.2231, allocations: 7.922 kB / 0.795 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2231, allocations: 4.156 kB / 0.795 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2231, allocations: 0 / 0.795 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007401/0.2239, allocations: 323.2 kB / 0.7954 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.2239, allocations: 89.02 kB / 0.7954 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.224, allocations: 3.938 kB / 0.7954 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/0.2243, allocations: 43.95 kB / 0.7955 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.2243, allocations: 7.984 kB / 0.7955 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.2244, allocations: 4 kB / 0.7955 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.291e-05/0.2244, allocations: 103.2 kB / 0.7956 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2244, allocations: 8 kB / 0.7956 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002512/0.2247, allocations: 20 kB / 0.7956 GB, free: 3.254 MB / 0.6075 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.0001218/0.2248, allocations: 99.25 kB / 0.7957 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006856/0.2255, allocations: 203.8 kB / 0.7959 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2255, allocations: 0 / 0.7959 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003359/0.2259, allocations: 96.05 kB / 0.796 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.2261, allocations: 11.98 kB / 0.796 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006189/0.2268, allocations: 313.2 kB / 0.7963 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.227, allocations: 0.7004 MB / 0.797 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001056/0.2271, allocations: 23.72 kB / 0.797 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.132e-05/0.2272, allocations: 11.44 kB / 0.797 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.2272, allocations: 4 kB / 0.797 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of Templates: time 0.003255/0.2305, allocations: 1.366 MB / 0.7984 GB, free: 396 kB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) Environment - environmentSimulation: