Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9946/0.9946, allocations: 143 MB / 433.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 59.91 kB / 0.5141 GB, free: 11.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.184, allocations: 82.04 MB / 0.5943 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.00335/0.1874, allocations: 1.459 MB / 0.5957 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000978/0.1884, allocations: 0.554 MB / 0.5962 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.234e-05/0.1885, allocations: 4 kB / 0.5962 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.314e-05/0.1885, allocations: 3.938 kB / 0.5962 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.271e-05/0.1886, allocations: 3.938 kB / 0.5962 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.1889, allocations: 55.81 kB / 0.5963 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.361e-05/0.189, allocations: 31.91 kB / 0.5963 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1891, allocations: 0 / 0.5963 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.823e-05/0.1892, allocations: 19.92 kB / 0.5963 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.022e-05/0.1892, allocations: 7.938 kB / 0.5964 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.1892, allocations: 3.938 kB / 0.5964 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.1894, allocations: 59.95 kB / 0.5964 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.1894, allocations: 3.984 kB / 0.5964 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.164e-05/0.1894, allocations: 19.86 kB / 0.5964 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.1896, allocations: 67.86 kB / 0.5965 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1896, allocations: 0 / 0.5965 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1896, allocations: 0 / 0.5965 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.1896, allocations: 0 / 0.5965 GB, free: 7.293 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00041/0.1901, allocations: 351.6 kB / 0.5968 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.1901, allocations: 12.03 kB / 0.5968 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.1901, allocations: 4.844 kB / 0.5969 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.1903, allocations: 168.3 kB / 0.597 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.1903, allocations: 384 / 0.597 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.1903, allocations: 4.375 kB / 0.597 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.1904, allocations: 46 kB / 0.5971 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1905, allocations: 0 / 0.5971 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.1905, allocations: 0 / 0.5971 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.1905, allocations: 4 kB / 0.5971 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.549e-05/0.1906, allocations: 19.97 kB / 0.5971 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.1909, allocations: 260.8 kB / 0.5973 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.459e-05/0.191, allocations: 34.56 kB / 0.5974 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.778e-05/0.1911, allocations: 16.92 kB / 0.5974 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007933/0.1919, allocations: 477.4 kB / 0.5978 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.1919, allocations: 30.56 kB / 0.5979 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 2.816e-06/0.1919, allocations: 3.984 kB / 0.5979 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002313/0.1921, allocations: 65.61 kB / 0.5979 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.1922, allocations: 55.41 kB / 0.598 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.483e-05/0.1923, allocations: 105.8 kB / 0.5981 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.1923, allocations: 25.7 kB / 0.5981 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.1923, allocations: 92.25 kB / 0.5982 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.1924, allocations: 15.83 kB / 0.5982 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.1924, allocations: 13.72 kB / 0.5982 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1925, allocations: 314.8 kB / 0.5985 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.162e-05/0.1926, allocations: 7.984 kB / 0.5985 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.422e-05/0.1926, allocations: 12 kB / 0.5985 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.965e-05/0.1927, allocations: 32.84 kB / 0.5986 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.1927, allocations: 0 / 0.5986 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001161/0.1928, allocations: 61.52 kB / 0.5986 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1928, allocations: 4 kB / 0.5986 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1929, allocations: 0 / 0.5986 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1929, allocations: 4 kB / 0.5986 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.953e-05/0.1929, allocations: 4 kB / 0.5986 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.193, allocations: 3.938 kB / 0.5987 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.078e-05/0.193, allocations: 4 kB / 0.5987 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.193, allocations: 8.016 kB / 0.5987 GB, free: 4.762 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 7.163e-05/0.1931, allocations: 117.8 kB / 0.5988 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.1931, allocations: 0 / 0.5988 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.1933, allocations: 65.14 kB / 0.5988 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1933, allocations: 4 kB / 0.5988 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1933, allocations: 0 / 0.5988 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1933, allocations: 0 / 0.5988 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.1935, allocations: 157.6 kB / 0.599 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1935, allocations: 4.031 kB / 0.599 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.1935, allocations: 11.98 kB / 0.599 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.1935, allocations: 0 / 0.599 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.1935, allocations: 0 / 0.599 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1935, allocations: 0 / 0.599 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1935, allocations: 0 / 0.599 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.1937, allocations: 159.4 kB / 0.5992 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.1938, allocations: 81.14 kB / 0.5992 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.1938, allocations: 0 / 0.5992 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.691e-05/0.1939, allocations: 0 / 0.5992 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.1939, allocations: 11.92 kB / 0.5992 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.1939, allocations: 0 / 0.5992 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.207e-05/0.194, allocations: 87.28 kB / 0.5993 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.763e-06/0.194, allocations: 0 / 0.5993 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002291/0.1942, allocations: 15.94 kB / 0.5993 GB, free: 3.957 MB / 0.4981 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 (2): * Single equations (assignments): 2 * 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.0001743/0.1944, allocations: 115.2 kB / 0.5995 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001386/0.1945, allocations: 19.98 kB / 0.5995 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1945, allocations: 0 / 0.5995 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.53e-05/0.1946, allocations: 15.98 kB / 0.5995 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.1948, allocations: 10.44 kB / 0.5995 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/0.1951, allocations: 142.5 kB / 0.5996 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.1954, allocations: 0.6768 MB / 0.6003 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.211e-05/0.1954, allocations: 4 kB / 0.6003 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.802e-05/0.1954, allocations: 7.438 kB / 0.6003 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1954, allocations: 0 / 0.6003 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of Templates: time 0.002694/0.1981, allocations: 0.6922 MB / 0.601 GB, free: 2.223 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)