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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.008543/0.008543, allocations: 101 kB / 15.73 MB, free: 6.059 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.001988/0.001988, allocations: 194.7 kB / 16.68 MB, free: 5.969 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.523/1.523, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9628/0.9628, allocations: 143.3 MB / 433.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 72.39 kB / 0.5953 GB, free: 12.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1862, allocations: 82.03 MB / 0.6754 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002787/0.189, allocations: 1.468 MB / 0.6769 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004537/0.1895, allocations: 140.4 kB / 0.677 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/0.1896, allocations: 0 / 0.677 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.353e-05/0.1896, allocations: 7.938 kB / 0.677 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.919e-05/0.1897, allocations: 11.86 kB / 0.677 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.19, allocations: 27.91 kB / 0.677 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.1901, allocations: 39.92 kB / 0.6771 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.1902, allocations: 27.97 kB / 0.6771 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.923e-05/0.1903, allocations: 15.94 kB / 0.6771 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.859e-05/0.1903, allocations: 15.92 kB / 0.6771 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.1903, allocations: 4 kB / 0.6771 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.1905, allocations: 35.97 kB / 0.6772 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.19e-05/0.1905, allocations: 11.92 kB / 0.6772 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.645e-05/0.1905, allocations: 15.94 kB / 0.6772 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.1907, allocations: 72 kB / 0.6773 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1907, allocations: 4 kB / 0.6773 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.034e-06/0.1907, allocations: 0 / 0.6773 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.1907, allocations: 4 kB / 0.6773 GB, free: 8.703 MB / 0.5137 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.0005565/0.1913, allocations: 363.2 kB / 0.6776 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1913, allocations: 8.031 kB / 0.6776 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.247e-05/0.1914, allocations: 38.75 kB / 0.6777 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.1925, allocations: 212.5 kB / 0.6779 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.1927, allocations: 176.3 kB / 0.678 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.1927, allocations: 384 / 0.678 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.1927, allocations: 8.359 kB / 0.678 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006111/0.1934, allocations: 190 kB / 0.6782 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1934, allocations: 3.938 kB / 0.6782 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.1934, allocations: 4 kB / 0.6782 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1934, allocations: 0 / 0.6782 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008995/0.1943, allocations: 279.6 kB / 0.6785 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.1953, allocations: 453 kB / 0.6789 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.1966, allocations: 286.2 kB / 0.6792 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003898/0.197, allocations: 96.8 kB / 0.6793 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.197, allocations: 0 / 0.6793 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.1971, allocations: 38.56 kB / 0.6793 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 2.074e-06/0.1971, allocations: 0 / 0.6793 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.00129/0.1984, allocations: 317.2 kB / 0.6796 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.1984, allocations: 51.41 kB / 0.6797 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.1986, allocations: 125.8 kB / 0.6798 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.1986, allocations: 25.7 kB / 0.6798 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.1987, allocations: 84.14 kB / 0.6799 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.1987, allocations: 7.953 kB / 0.6799 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.305e-05/0.1988, allocations: 21.7 kB / 0.6799 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1989, allocations: 314.8 kB / 0.6802 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/0.1993, allocations: 99.88 kB / 0.6803 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003654/0.1997, allocations: 91.88 kB / 0.6804 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006983/0.2004, allocations: 180.6 kB / 0.6806 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2004, allocations: 0 / 0.6806 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007973/0.2012, allocations: 217.4 kB / 0.6808 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.2012, allocations: 4 kB / 0.6808 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2012, allocations: 0 / 0.6808 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.2013, allocations: 0 / 0.6808 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.2015, allocations: 39.94 kB / 0.6808 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.2016, allocations: 0 / 0.6808 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.2018, allocations: 27.95 kB / 0.6809 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.2018, allocations: 0 / 0.6809 GB, free: 4.777 MB / 0.5137 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 0.0001032/0.2019, allocations: 121.8 kB / 0.681 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.2019, allocations: 11.94 kB / 0.681 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.631e-05/0.202, allocations: 3.906 kB / 0.681 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.202, allocations: 0 / 0.681 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.202, allocations: 0 / 0.681 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.202, allocations: 4.328 kB / 0.681 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.2023, allocations: 221.5 kB / 0.6812 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/0.2023, allocations: 4 kB / 0.6812 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.2025, allocations: 39.88 kB / 0.6813 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.2025, allocations: 0 / 0.6813 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.2026, allocations: 4 kB / 0.6813 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2026, allocations: 0 / 0.6813 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2026, allocations: 3.984 kB / 0.6813 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008437/0.2034, allocations: 315.2 kB / 0.6816 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.2035, allocations: 81.11 kB / 0.6816 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.2035, allocations: 0 / 0.6816 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.2038, allocations: 32.31 kB / 0.6817 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.2038, allocations: 0 / 0.6817 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.2038, allocations: 8 kB / 0.6817 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.823e-05/0.2039, allocations: 95.2 kB / 0.6818 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.934e-06/0.2039, allocations: 0 / 0.6818 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000237/0.2041, allocations: 23.88 kB / 0.6818 GB, free: 3.73 MB / 0.5137 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.001219/0.2054, allocations: 0.8372 MB / 0.6826 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008358/0.2062, allocations: 195.8 kB / 0.6828 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2062, allocations: 0 / 0.6828 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003922/0.2066, allocations: 107.8 kB / 0.6829 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.2069, allocations: 2.656 kB / 0.6829 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003882/0.2108, allocations: 1.834 MB / 0.6847 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.2112, allocations: 0.6885 MB / 0.6854 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.946e-05/0.2113, allocations: 19.98 kB / 0.6854 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.676e-05/0.2114, allocations: 15.42 kB / 0.6854 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of SimCode: time 4.31e-07/0.2114, allocations: 0 / 0.6854 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.2359, allocations: 1.969 MB / 0.6873 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.118, allocations: 11.31 kB / 0.6873 GB, free: 14.02 MB / 0.5294 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)