Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.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.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001777/0.001777, allocations: 193.2 kB / 16.25 MB, free: 6.641 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.388/1.388, allocations: 222.9 MB / 239.9 MB, free: 4.531 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 1.077/1.077, allocations: 143 MB / 433.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 68.08 kB / 0.5137 GB, free: 12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1862, allocations: 82.03 MB / 0.5938 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001916/0.1881, allocations: 0.6387 MB / 0.5944 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000231/0.1884, allocations: 51.84 kB / 0.5945 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.235e-05/0.1884, allocations: 4 kB / 0.5945 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.342e-05/0.1884, allocations: 0 / 0.5945 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.629e-06/0.1884, allocations: 0 / 0.5945 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.1887, allocations: 15.92 kB / 0.5945 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.935e-05/0.1887, allocations: 4 kB / 0.5945 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.427e-05/0.1888, allocations: 3.984 kB / 0.5945 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.383e-05/0.1888, allocations: 0 / 0.5945 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.062e-05/0.1888, allocations: 0 / 0.5945 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.1888, allocations: 0 / 0.5945 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.624e-05/0.1889, allocations: 23.92 kB / 0.5945 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.177e-06/0.189, allocations: 4 kB / 0.5945 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.543e-05/0.189, allocations: 4 kB / 0.5945 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.569e-05/0.1891, allocations: 15.97 kB / 0.5945 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1891, allocations: 0 / 0.5945 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1891, allocations: 0 / 0.5945 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.1891, allocations: 0 / 0.5945 GB, free: 9.172 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002711/0.1894, allocations: 315.6 kB / 0.5948 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.1894, allocations: 8.031 kB / 0.5948 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002482/0.1896, allocations: 20.91 kB / 0.5949 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.1898, allocations: 168.4 kB / 0.595 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.1898, allocations: 4.359 kB / 0.595 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.1898, allocations: 384 / 0.595 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.1899, allocations: 38.19 kB / 0.5951 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1899, allocations: 192 / 0.5951 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.899e-05/0.19, allocations: 3.938 kB / 0.5951 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.19, allocations: 0 / 0.5951 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.449e-05/0.1901, allocations: 19.92 kB / 0.5951 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.1902, allocations: 149.7 kB / 0.5952 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.39e-05/0.1903, allocations: 22.59 kB / 0.5953 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.061e-05/0.1904, allocations: 8.922 kB / 0.5953 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.1904, allocations: 3.984 kB / 0.5953 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.1904, allocations: 34.5 kB / 0.5953 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.1904, allocations: 4 kB / 0.5953 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002245/0.1907, allocations: 49.62 kB / 0.5954 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.1907, allocations: 55.41 kB / 0.5954 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.904e-05/0.1908, allocations: 93.8 kB / 0.5955 GB, free: 8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.1908, allocations: 29.69 kB / 0.5955 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.545e-05/0.1908, allocations: 80.14 kB / 0.5956 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.1908, allocations: 3.906 kB / 0.5956 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.1909, allocations: 17.84 kB / 0.5956 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.191, allocations: 310.8 kB / 0.5959 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.66e-05/0.1911, allocations: 4 kB / 0.5959 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.653e-05/0.1911, allocations: 7.984 kB / 0.5959 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.04e-05/0.1912, allocations: 20.78 kB / 0.5959 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1912, allocations: 64 / 0.5959 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001339/0.1913, allocations: 45.69 kB / 0.596 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1914, allocations: 4 kB / 0.596 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1914, allocations: 0 / 0.596 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1914, allocations: 3.938 kB / 0.596 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.102e-05/0.1915, allocations: 7.984 kB / 0.596 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1915, allocations: 4 kB / 0.596 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.178e-05/0.1915, allocations: 0 / 0.596 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.1915, allocations: 4 kB / 0.596 GB, free: 7.434 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 (1): * Single equations (assignments): 1 * 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.271e-05/0.1916, allocations: 109.9 kB / 0.5961 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-06/0.1916, allocations: 0 / 0.5961 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.1917, allocations: 11.05 kB / 0.5961 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1917, allocations: 0 / 0.5961 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1917, allocations: 0 / 0.5961 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1917, allocations: 4 kB / 0.5961 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.1918, allocations: 145.7 kB / 0.5963 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1918, allocations: 3.938 kB / 0.5963 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.506e-05/0.1918, allocations: 7.984 kB / 0.5963 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1918, allocations: 4 kB / 0.5963 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.1919, allocations: 3.938 kB / 0.5963 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1919, allocations: 0 / 0.5963 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1919, allocations: 0 / 0.5963 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.192, allocations: 65.12 kB / 0.5964 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.073e-05/0.192, allocations: 81.09 kB / 0.5964 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.1921, allocations: 11.91 kB / 0.5964 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.931e-05/0.1921, allocations: 0 / 0.5964 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.1921, allocations: 4 kB / 0.5964 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.1921, allocations: 3.938 kB / 0.5964 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.371e-05/0.1922, allocations: 75.28 kB / 0.5965 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1922, allocations: 0 / 0.5965 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000168/0.1923, allocations: 0 / 0.5965 GB, free: 6.82 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 (1): * Single equations (assignments): 1 * 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.0001303/0.1925, allocations: 95.25 kB / 0.5966 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.1926, allocations: 23.91 kB / 0.5966 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1926, allocations: 4 kB / 0.5966 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.007e-05/0.1927, allocations: 4 kB / 0.5966 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.1928, allocations: 288 / 0.5966 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002259/0.193, allocations: 84.92 kB / 0.5967 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.1933, allocations: 0.6691 MB / 0.5974 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.181e-05/0.1933, allocations: 15.97 kB / 0.5974 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.1933, allocations: 7.438 kB / 0.5974 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1933, allocations: 0 / 0.5974 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of Templates: time 0.002141/0.1955, allocations: 224.8 kB / 0.5976 GB, free: 5.637 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)