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.001068/0.001068, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00115/0.00115, allocations: 194.5 kB / 16.25 MB, free: 6.625 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.39/1.39, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.9936/0.9936, allocations: 143.1 MB / 433.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 67.89 kB / 0.5138 GB, free: 11.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1811, allocations: 82.04 MB / 0.5939 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.00282/0.184, allocations: 1.517 MB / 0.5954 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003838/0.1844, allocations: 140.4 kB / 0.5955 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.388e-05/0.1844, allocations: 4 kB / 0.5955 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.644e-05/0.1845, allocations: 0 / 0.5955 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.862e-05/0.1846, allocations: 7.922 kB / 0.5955 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.1848, allocations: 19.98 kB / 0.5956 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.493e-05/0.1849, allocations: 43.91 kB / 0.5956 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.185, allocations: 20 kB / 0.5956 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.946e-05/0.1851, allocations: 23.91 kB / 0.5956 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.63e-05/0.1852, allocations: 19.86 kB / 0.5957 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.1852, allocations: 4 kB / 0.5957 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-05/0.1853, allocations: 39.97 kB / 0.5957 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.1853, allocations: 8 kB / 0.5957 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.1853, allocations: 23.86 kB / 0.5957 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.1855, allocations: 59.84 kB / 0.5958 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.1855, allocations: 0 / 0.5958 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1855, allocations: 3.938 kB / 0.5958 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.1855, allocations: 3.938 kB / 0.5958 GB, free: 7.859 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.0004617/0.186, allocations: 359.7 kB / 0.5961 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.186, allocations: 8.031 kB / 0.5961 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.334e-05/0.1861, allocations: 38.73 kB / 0.5962 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.1871, allocations: 216.5 kB / 0.5964 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.1873, allocations: 176.2 kB / 0.5966 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1873, allocations: 4.375 kB / 0.5966 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.1873, allocations: 384 / 0.5966 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005421/0.1878, allocations: 198 kB / 0.5968 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1879, allocations: 3.938 kB / 0.5968 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1879, allocations: 0 / 0.5968 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1879, allocations: 0 / 0.5968 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008043/0.1887, allocations: 287.5 kB / 0.597 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009084/0.1896, allocations: 433.4 kB / 0.5974 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.1907, allocations: 294.2 kB / 0.5977 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003464/0.191, allocations: 100.7 kB / 0.5978 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.1911, allocations: 7.984 kB / 0.5978 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.1911, allocations: 30.56 kB / 0.5979 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.1911, allocations: 0 / 0.5979 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001113/0.1922, allocations: 305.3 kB / 0.5981 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.1923, allocations: 55.41 kB / 0.5982 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.1924, allocations: 113.8 kB / 0.5983 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.1924, allocations: 29.7 kB / 0.5983 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.95e-05/0.1925, allocations: 96.06 kB / 0.5984 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.1925, allocations: 15.75 kB / 0.5984 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/0.1926, allocations: 17.72 kB / 0.5985 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1927, allocations: 318.8 kB / 0.5988 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003441/0.1931, allocations: 95.88 kB / 0.5989 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.1934, allocations: 95.88 kB / 0.5989 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006076/0.194, allocations: 168.6 kB / 0.5991 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.194, allocations: 0 / 0.5991 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006929/0.1947, allocations: 209.5 kB / 0.5993 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.1948, allocations: 12.36 kB / 0.5993 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1948, allocations: 0 / 0.5993 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1948, allocations: 0 / 0.5993 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.1951, allocations: 39.89 kB / 0.5994 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1951, allocations: 7.938 kB / 0.5994 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.1953, allocations: 27.86 kB / 0.5994 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.1953, allocations: 11.98 kB / 0.5994 GB, free: 3.926 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 9.231e-05/0.1954, allocations: 117.8 kB / 0.5995 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.1954, allocations: 0 / 0.5995 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.694e-05/0.1955, allocations: 11.91 kB / 0.5995 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.1955, allocations: 3.984 kB / 0.5995 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1955, allocations: 3.938 kB / 0.5995 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1955, allocations: 0 / 0.5995 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.1957, allocations: 209.5 kB / 0.5997 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1957, allocations: 0 / 0.5997 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.196, allocations: 31.95 kB / 0.5998 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.196, allocations: 0 / 0.5998 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.196, allocations: 3.984 kB / 0.5998 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.196, allocations: 4 kB / 0.5998 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.196, allocations: 4 kB / 0.5998 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000749/0.1968, allocations: 315.1 kB / 0.6001 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.1968, allocations: 85.48 kB / 0.6002 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.1969, allocations: 0 / 0.6002 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.1971, allocations: 27.95 kB / 0.6002 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.1971, allocations: 3.984 kB / 0.6002 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.1971, allocations: 0 / 0.6002 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.043e-05/0.1972, allocations: 99.27 kB / 0.6003 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1972, allocations: 0 / 0.6003 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002339/0.1975, allocations: 15.94 kB / 0.6003 GB, free: 2.906 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.001063/0.1985, allocations: 0.8449 MB / 0.6011 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007105/0.1992, allocations: 195.7 kB / 0.6013 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1993, allocations: 0 / 0.6013 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003346/0.1996, allocations: 103.9 kB / 0.6014 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.1999, allocations: 8.203 kB / 0.6014 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2715/0.4713, allocations: 1.848 MB / 0.6032 GB, free: 43.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.4715, allocations: 0.6868 MB / 0.6039 GB, free: 42.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001272/0.4717, allocations: 17.73 kB / 0.6039 GB, free: 42.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.507e-05/0.4717, allocations: 20.77 kB / 0.6039 GB, free: 42.87 MB / 0.4981 GB Notification: Performance of SimCode: time 1.001e-06/0.4718, allocations: 0 / 0.6039 GB, free: 42.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01199/0.4838, allocations: 1.792 MB / 0.6057 GB, free: 42.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000139/0.4839, allocations: 205.2 kB / 0.6059 GB, free: 42.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.911/2.395, allocations: 2.078 kB / 0.6059 GB, free: 42.45 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)