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.001166/0.001166, allocations: 108 kB / 15.61 MB, free: 152 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.001219/0.001219, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.457/1.457, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.052/1.052, allocations: 143 MB / 433.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001432, allocations: 67.88 kB / 0.5143 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1783, allocations: 82.04 MB / 0.5944 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002931/0.1812, allocations: 1.459 MB / 0.5958 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004213/0.1817, allocations: 144.4 kB / 0.596 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.171e-05/0.1818, allocations: 0 / 0.596 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.658e-05/0.1818, allocations: 3.938 kB / 0.596 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.308e-05/0.1819, allocations: 0 / 0.596 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.1821, allocations: 39.89 kB / 0.596 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.1823, allocations: 35.92 kB / 0.596 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.1824, allocations: 27.98 kB / 0.5961 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.044e-05/0.1824, allocations: 15.88 kB / 0.5961 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.627e-05/0.1825, allocations: 31.83 kB / 0.5961 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.1825, allocations: 4 kB / 0.5961 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.985e-05/0.1826, allocations: 27.98 kB / 0.5961 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.1826, allocations: 11.98 kB / 0.5961 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/0.1827, allocations: 19.88 kB / 0.5962 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.1828, allocations: 67.84 kB / 0.5962 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1828, allocations: 0 / 0.5962 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1828, allocations: 0 / 0.5962 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.1829, allocations: 0 / 0.5962 GB, free: 7.598 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.0004301/0.1833, allocations: 355.7 kB / 0.5966 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1833, allocations: 8.031 kB / 0.5966 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.67e-05/0.1834, allocations: 38.75 kB / 0.5966 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.1845, allocations: 216.5 kB / 0.5968 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.1847, allocations: 172.2 kB / 0.597 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.1847, allocations: 384 / 0.597 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.1848, allocations: 4.375 kB / 0.597 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005987/0.1854, allocations: 201.9 kB / 0.5972 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1854, allocations: 3.938 kB / 0.5972 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.1854, allocations: 0 / 0.5972 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.1854, allocations: 4 kB / 0.5972 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009078/0.1863, allocations: 279.6 kB / 0.5975 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009645/0.1873, allocations: 433.4 kB / 0.5979 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.1885, allocations: 290.1 kB / 0.5981 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003847/0.1889, allocations: 96.8 kB / 0.5982 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.1889, allocations: 8 kB / 0.5982 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.189, allocations: 34.56 kB / 0.5983 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.189, allocations: 0 / 0.5983 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001247/0.1902, allocations: 305.3 kB / 0.5986 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.1903, allocations: 59.28 kB / 0.5986 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.1904, allocations: 121.8 kB / 0.5987 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.1904, allocations: 25.7 kB / 0.5988 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/0.1905, allocations: 88.14 kB / 0.5988 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.1905, allocations: 11.75 kB / 0.5989 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.1906, allocations: 25.7 kB / 0.5989 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1907, allocations: 314.8 kB / 0.5992 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.1911, allocations: 95.88 kB / 0.5993 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000364/0.1914, allocations: 95.86 kB / 0.5994 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006809/0.1921, allocations: 176.9 kB / 0.5995 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1921, allocations: 0 / 0.5995 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007624/0.1929, allocations: 217.4 kB / 0.5997 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1929, allocations: 6.656 kB / 0.5997 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1929, allocations: 0 / 0.5997 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.193, allocations: 0 / 0.5997 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.1932, allocations: 39.94 kB / 0.5998 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.1932, allocations: 0 / 0.5998 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.1935, allocations: 35.86 kB / 0.5998 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.1935, allocations: 0 / 0.5998 GB, free: 3.68 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.848e-05/0.1936, allocations: 125.7 kB / 0.5999 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.1936, allocations: 4 kB / 0.5999 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.234e-05/0.1937, allocations: 3.906 kB / 0.5999 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1937, allocations: 4 kB / 0.6 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1937, allocations: 0 / 0.6 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1937, allocations: 4 kB / 0.6 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.1939, allocations: 209.5 kB / 0.6002 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1939, allocations: 0 / 0.6002 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002348/0.1942, allocations: 35.94 kB / 0.6002 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1942, allocations: 0 / 0.6002 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1942, allocations: 4 kB / 0.6002 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1942, allocations: 0 / 0.6002 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1942, allocations: 0 / 0.6002 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008232/0.195, allocations: 323.5 kB / 0.6005 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.549e-05/0.1951, allocations: 77.11 kB / 0.6006 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.1951, allocations: 3.984 kB / 0.6006 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.1953, allocations: 31.95 kB / 0.6006 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.1954, allocations: 3.938 kB / 0.6006 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.1954, allocations: 4 kB / 0.6006 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.706e-05/0.1955, allocations: 95.27 kB / 0.6007 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1955, allocations: 0 / 0.6007 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002429/0.1957, allocations: 15.94 kB / 0.6007 GB, free: 2.652 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.001077/0.1968, allocations: 0.841 MB / 0.6015 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007952/0.1976, allocations: 195.8 kB / 0.6017 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1976, allocations: 0 / 0.6017 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003825/0.198, allocations: 103.9 kB / 0.6018 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.1983, allocations: 11.94 kB / 0.6018 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2525/0.4508, allocations: 1.847 MB / 0.6036 GB, free: 43.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.451, allocations: 0.6866 MB / 0.6043 GB, free: 42.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001237/0.4512, allocations: 18.5 kB / 0.6043 GB, free: 42.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.088e-05/0.4512, allocations: 20.05 kB / 0.6044 GB, free: 42.87 MB / 0.4981 GB Notification: Performance of SimCode: time 1.422e-06/0.4513, allocations: 0.7812 kB / 0.6044 GB, free: 42.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.4687, allocations: 1.921 MB / 0.6062 GB, free: 42.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.526/7.995, allocations: 11.89 kB / 0.6062 GB, free: 42.58 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin_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_SmoothMin.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)