Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.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.SmoothMin,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothMin",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.0008393/0.0008393, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005015/0.005016, allocations: 170.5 kB / 16.27 MB, free: 6.648 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.343/1.343, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.048/1.048, allocations: 143.2 MB / 434.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003021/0.0003021, allocations: 8 kB / 0.5165 GB, free: 11.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1772, allocations: 83.41 MB / 0.598 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.001919/0.1791, allocations: 1.182 MB / 0.5991 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004626/0.1796, allocations: 148.4 kB / 0.5993 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.979e-05/0.1797, allocations: 0 / 0.5993 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.592e-05/0.1797, allocations: 0 / 0.5993 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.938e-05/0.1798, allocations: 11.92 kB / 0.5993 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.1801, allocations: 23.97 kB / 0.5993 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.1802, allocations: 39.92 kB / 0.5993 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.1803, allocations: 19.98 kB / 0.5993 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.799e-05/0.1804, allocations: 11.92 kB / 0.5994 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.608e-05/0.1804, allocations: 19.86 kB / 0.5994 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.1805, allocations: 4 kB / 0.5994 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.839e-05/0.1805, allocations: 39.91 kB / 0.5994 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.1806, allocations: 0 / 0.5994 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.1806, allocations: 45.56 kB / 0.5995 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.1807, allocations: 59.84 kB / 0.5995 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1808, allocations: 0 / 0.5995 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.815e-06/0.1808, allocations: 0 / 0.5995 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.1808, allocations: 0 / 0.5995 GB, free: 5.945 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004811/0.1813, allocations: 351.7 kB / 0.5999 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1813, allocations: 12.03 kB / 0.5999 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.325e-05/0.1814, allocations: 46.67 kB / 0.5999 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.1825, allocations: 236.5 kB / 0.6001 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.1826, allocations: 172.3 kB / 0.6003 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1827, allocations: 4.375 kB / 0.6003 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.1827, allocations: 4.375 kB / 0.6003 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005811/0.1833, allocations: 210 kB / 0.6005 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1833, allocations: 3.938 kB / 0.6005 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.1833, allocations: 8 kB / 0.6005 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1833, allocations: 0 / 0.6005 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009035/0.1842, allocations: 311.6 kB / 0.6008 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000927/0.1852, allocations: 465.2 kB / 0.6013 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.1864, allocations: 338.2 kB / 0.6016 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003869/0.1868, allocations: 124.8 kB / 0.6017 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.1868, allocations: 0 / 0.6017 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.1868, allocations: 34.5 kB / 0.6017 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.1868, allocations: 4 kB / 0.6017 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001246/0.1881, allocations: 365.2 kB / 0.6021 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.1881, allocations: 55.41 kB / 0.6021 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.1882, allocations: 113.8 kB / 0.6023 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1883, allocations: 29.7 kB / 0.6023 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.842e-05/0.1883, allocations: 88.12 kB / 0.6024 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.1884, allocations: 16.12 kB / 0.6024 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.1884, allocations: 17.72 kB / 0.6024 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1885, allocations: 322.8 kB / 0.6027 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/0.1889, allocations: 111.9 kB / 0.6028 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003728/0.1893, allocations: 119.8 kB / 0.6029 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007085/0.19, allocations: 208.6 kB / 0.6031 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.19, allocations: 0 / 0.6031 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007903/0.1908, allocations: 253.5 kB / 0.6034 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1908, allocations: 4 kB / 0.6034 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1908, allocations: 0 / 0.6034 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1909, allocations: 0 / 0.6034 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.1911, allocations: 47.94 kB / 0.6034 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.1911, allocations: 0 / 0.6034 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.1914, allocations: 35.95 kB / 0.6034 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.1914, allocations: 0 / 0.6034 GB, free: 1.684 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 (3): * Single equations (assignments): 3 * 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 8.694e-05/0.1915, allocations: 129.7 kB / 0.6036 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.1915, allocations: 7.906 kB / 0.6036 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.1916, allocations: 11.91 kB / 0.6036 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1916, allocations: 0 / 0.6036 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1916, allocations: 0 / 0.6036 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1916, allocations: 0 / 0.6036 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.1918, allocations: 217.5 kB / 0.6038 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1918, allocations: 0 / 0.6038 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.1921, allocations: 47.94 kB / 0.6038 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1921, allocations: 0 / 0.6038 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.1921, allocations: 0 / 0.6038 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.1921, allocations: 0 / 0.6038 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1921, allocations: 0 / 0.6038 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008758/0.193, allocations: 359.1 kB / 0.6042 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.787e-05/0.1931, allocations: 77.48 kB / 0.6043 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.1931, allocations: 0 / 0.6043 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.1933, allocations: 43.89 kB / 0.6043 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.1934, allocations: 0 / 0.6043 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.1934, allocations: 15.97 kB / 0.6043 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.369e-05/0.1935, allocations: 91.27 kB / 0.6044 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1935, allocations: 0 / 0.6044 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002273/0.1937, allocations: 15.94 kB / 0.6044 GB, free: 0.5859 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 (3): * Single equations (assignments): 3 * 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.2536/0.4473, allocations: 0.8725 MB / 0.6053 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009073/0.4483, allocations: 236.8 kB / 0.6055 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.4483, allocations: 0.5312 kB / 0.6055 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000381/0.4487, allocations: 120.5 kB / 0.6056 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.4489, allocations: 1.438 kB / 0.6056 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003168/0.4521, allocations: 1.973 MB / 0.6075 GB, free: 39.78 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.4522, allocations: 0.6913 MB / 0.6082 GB, free: 39.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.755e-05/0.4523, allocations: 18.86 kB / 0.6082 GB, free: 39.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.229e-05/0.4524, allocations: 17.11 kB / 0.6083 GB, free: 39.08 MB / 0.4981 GB Notification: Performance of SimCode: time 7.61e-07/0.4524, allocations: 3.625 kB / 0.6083 GB, free: 39.08 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01008/0.4625, allocations: 1.677 MB / 0.6099 GB, free: 38.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/0.4627, allocations: 201.2 kB / 0.6101 GB, free: 38.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/2.166, allocations: 0 / 0.6101 GB, free: 38.71 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothMin.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)