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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, 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.002085/0.002085, allocations: 193 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.574/1.574, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.9534/0.9534, allocations: 143.1 MB / 433.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 67.89 kB / 0.5143 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1798, allocations: 82.04 MB / 0.5944 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.003041/0.1829, allocations: 1.453 MB / 0.5958 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.1839, allocations: 0.5579 MB / 0.5964 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.422e-05/0.184, allocations: 0 / 0.5964 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.1841, allocations: 11.88 kB / 0.5964 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.386e-05/0.1841, allocations: 3.938 kB / 0.5964 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.1845, allocations: 55.81 kB / 0.5964 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.965e-05/0.1845, allocations: 27.92 kB / 0.5965 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.117e-05/0.1846, allocations: 4 kB / 0.5965 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.561e-05/0.1847, allocations: 19.86 kB / 0.5965 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.964e-05/0.1848, allocations: 15.92 kB / 0.5965 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.1848, allocations: 4 kB / 0.5965 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.1849, allocations: 55.95 kB / 0.5966 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.185, allocations: 0 / 0.5966 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.185, allocations: 19.86 kB / 0.5966 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.1851, allocations: 59.86 kB / 0.5966 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1851, allocations: 0 / 0.5966 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1852, allocations: 0 / 0.5966 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.1852, allocations: 0 / 0.5966 GB, free: 7.145 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.0003863/0.1856, allocations: 355.6 kB / 0.597 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.1856, allocations: 8.031 kB / 0.597 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.319e-05/0.1856, allocations: 38.75 kB / 0.597 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.486e-05/0.1857, allocations: 4.938 kB / 0.597 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.1858, allocations: 172.2 kB / 0.5972 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.1858, allocations: 4.375 kB / 0.5972 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-06/0.1858, allocations: 384 / 0.5972 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.1859, allocations: 49.8 kB / 0.5972 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.186, allocations: 3.938 kB / 0.5972 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.186, allocations: 0 / 0.5972 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.186, allocations: 0 / 0.5972 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.103e-05/0.1861, allocations: 23.98 kB / 0.5973 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.1864, allocations: 252.9 kB / 0.5975 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.581e-05/0.1865, allocations: 26.56 kB / 0.5975 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.1866, allocations: 20.91 kB / 0.5975 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008116/0.1874, allocations: 473.4 kB / 0.598 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.1874, allocations: 42.48 kB / 0.598 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 3.056e-06/0.1874, allocations: 3.984 kB / 0.598 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002384/0.1877, allocations: 53.69 kB / 0.5981 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.1877, allocations: 55.53 kB / 0.5981 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.165e-05/0.1878, allocations: 113.8 kB / 0.5983 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.1878, allocations: 29.64 kB / 0.5983 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.1879, allocations: 84.12 kB / 0.5984 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.1879, allocations: 7.906 kB / 0.5984 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.1879, allocations: 13.72 kB / 0.5984 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.188, allocations: 314.8 kB / 0.5987 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.377e-05/0.1881, allocations: 15.98 kB / 0.5987 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.471e-05/0.1881, allocations: 15.88 kB / 0.5987 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.098e-05/0.1882, allocations: 28.84 kB / 0.5987 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1882, allocations: 4 kB / 0.5987 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001362/0.1884, allocations: 57.58 kB / 0.5988 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1884, allocations: 4 kB / 0.5988 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.1884, allocations: 0 / 0.5988 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1884, allocations: 96 / 0.5988 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.873e-05/0.1885, allocations: 8 kB / 0.5988 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1885, allocations: 0 / 0.5988 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.385e-05/0.1885, allocations: 7.984 kB / 0.5988 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.1886, allocations: 0 / 0.5988 GB, free: 4.574 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.567e-05/0.1886, allocations: 117.7 kB / 0.5989 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.1887, allocations: 0 / 0.5989 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.1888, allocations: 61.2 kB / 0.599 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1889, allocations: 4.031 kB / 0.599 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1889, allocations: 4 kB / 0.599 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1889, allocations: 4 kB / 0.599 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.189, allocations: 165.6 kB / 0.5992 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.189, allocations: 0 / 0.5992 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.211e-05/0.1891, allocations: 4 kB / 0.5992 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1891, allocations: 0 / 0.5992 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.1891, allocations: 4 kB / 0.5992 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1891, allocations: 0 / 0.5992 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1891, allocations: 0 / 0.5992 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.1893, allocations: 159.3 kB / 0.5993 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-05/0.1894, allocations: 81.11 kB / 0.5994 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.1894, allocations: 0 / 0.5994 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.028e-05/0.1894, allocations: 0 / 0.5994 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.1895, allocations: 11.98 kB / 0.5994 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.1895, allocations: 0 / 0.5994 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.851e-05/0.1895, allocations: 83.25 kB / 0.5995 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1895, allocations: 4 kB / 0.5995 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002511/0.1898, allocations: 23.98 kB / 0.5995 GB, free: 3.758 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.0005131/0.1903, allocations: 0.6967 MB / 0.6002 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.1905, allocations: 28.02 kB / 0.6002 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1905, allocations: 0 / 0.6002 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.592e-05/0.1905, allocations: 11.98 kB / 0.6002 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.1907, allocations: 4 kB / 0.6002 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/0.1912, allocations: 176 kB / 0.6004 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.1915, allocations: 0.6846 MB / 0.6011 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.223e-05/0.1915, allocations: 4 kB / 0.6011 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.1915, allocations: 11.44 kB / 0.6011 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1915, allocations: 0 / 0.6011 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/0.2095, allocations: 1.612 MB / 0.6027 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.542/7.752, allocations: 10.66 kB / 0.6027 GB, free: 0.5 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)