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.005826/0.005826, allocations: 97.95 kB / 15.73 MB, free: 6.062 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.001312/0.001312, allocations: 192.8 kB / 16.67 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.188 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.027/1.027, allocations: 143 MB / 433.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 67.89 kB / 0.5951 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4262, allocations: 82.02 MB / 0.6752 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002235/0.4284, allocations: 1.47 MB / 0.6766 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003911/0.4288, allocations: 145.3 kB / 0.6767 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.173e-05/0.4289, allocations: 0 / 0.6767 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.96e-05/0.4289, allocations: 8.922 kB / 0.6767 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.093e-05/0.429, allocations: 4.969 kB / 0.6767 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.4292, allocations: 32.33 kB / 0.6768 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.023e-05/0.4293, allocations: 36.89 kB / 0.6768 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.4295, allocations: 22.89 kB / 0.6768 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.621e-05/0.4295, allocations: 18.42 kB / 0.6769 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.997e-05/0.4296, allocations: 21.83 kB / 0.6769 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.4296, allocations: 3.312 kB / 0.6769 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.011e-05/0.4297, allocations: 34 kB / 0.6769 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.4297, allocations: 13.3 kB / 0.6769 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.158e-05/0.4298, allocations: 21.41 kB / 0.6769 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.4299, allocations: 62.77 kB / 0.677 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4299, allocations: 0.875 kB / 0.677 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4299, allocations: 0 / 0.677 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.4299, allocations: 0 / 0.677 GB, free: 15.73 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.0004877/0.4304, allocations: 369.5 kB / 0.6774 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.4305, allocations: 9.344 kB / 0.6774 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.481e-05/0.4305, allocations: 35.75 kB / 0.6774 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.4316, allocations: 210.3 kB / 0.6776 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.4318, allocations: 170.5 kB / 0.6778 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-06/0.4318, allocations: 7.094 kB / 0.6778 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.4318, allocations: 6.25 kB / 0.6778 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005928/0.4324, allocations: 191.8 kB / 0.678 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.4324, allocations: 7.875 kB / 0.678 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.4324, allocations: 4 kB / 0.678 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.4325, allocations: 1.062 kB / 0.678 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008579/0.4333, allocations: 280.8 kB / 0.6782 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009206/0.4342, allocations: 446.8 kB / 0.6787 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.4354, allocations: 289.8 kB / 0.6789 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000378/0.4358, allocations: 104.2 kB / 0.679 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.4359, allocations: 1.125 kB / 0.679 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.4359, allocations: 31.72 kB / 0.6791 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-05/0.4359, allocations: 0 / 0.6791 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.001226/0.4371, allocations: 314.8 kB / 0.6794 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.4372, allocations: 51.41 kB / 0.6794 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.4373, allocations: 121.4 kB / 0.6795 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.4373, allocations: 26.7 kB / 0.6796 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.934e-05/0.4374, allocations: 98.73 kB / 0.6797 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.4374, allocations: 4.859 kB / 0.6797 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.4375, allocations: 22.05 kB / 0.6797 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4376, allocations: 319.8 kB / 0.68 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/0.438, allocations: 91.84 kB / 0.6801 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.4383, allocations: 99.86 kB / 0.6802 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000684/0.439, allocations: 171.5 kB / 0.6803 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.439, allocations: 0 / 0.6803 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007747/0.4398, allocations: 219.8 kB / 0.6805 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.4398, allocations: 5.75 kB / 0.6805 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.4398, allocations: 0 / 0.6805 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.4399, allocations: 1.344 kB / 0.6805 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.4401, allocations: 37.78 kB / 0.6806 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.4402, allocations: 1.188 kB / 0.6806 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.4404, allocations: 26.2 kB / 0.6806 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.4404, allocations: 1.906 kB / 0.6806 GB, free: 12.89 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 9.068e-05/0.4405, allocations: 121.6 kB / 0.6807 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.4405, allocations: 10.58 kB / 0.6807 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.724e-05/0.4406, allocations: 18.47 kB / 0.6808 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4406, allocations: 4.469 kB / 0.6808 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.4406, allocations: 5.344 kB / 0.6808 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4406, allocations: 0 / 0.6808 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.4408, allocations: 208.5 kB / 0.681 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4408, allocations: 0 / 0.681 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.4411, allocations: 35.47 kB / 0.681 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4411, allocations: 0 / 0.681 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.4411, allocations: 1.312 kB / 0.681 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4411, allocations: 4 kB / 0.681 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4411, allocations: 0 / 0.681 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008087/0.4419, allocations: 311.2 kB / 0.6813 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/0.442, allocations: 86.66 kB / 0.6814 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.442, allocations: 1.188 kB / 0.6814 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.4423, allocations: 26.7 kB / 0.6814 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.4423, allocations: 5.156 kB / 0.6814 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.4423, allocations: 1.188 kB / 0.6814 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.477e-05/0.4424, allocations: 97.86 kB / 0.6815 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4424, allocations: 0 / 0.6815 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002445/0.4426, allocations: 16.88 kB / 0.6815 GB, free: 12.04 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.001069/0.4437, allocations: 0.8487 MB / 0.6824 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008159/0.4445, allocations: 197.7 kB / 0.6825 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4445, allocations: 5.031 kB / 0.6825 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003808/0.4449, allocations: 97.88 kB / 0.6826 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.4452, allocations: 6.75 kB / 0.6826 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/0.4488, allocations: 1.834 MB / 0.6844 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.4491, allocations: 0.6922 MB / 0.6851 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.571e-05/0.4491, allocations: 16.69 kB / 0.6851 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.344e-05/0.4492, allocations: 18.39 kB / 0.6851 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of SimCode: time 1.843e-06/0.4492, allocations: 0 / 0.6851 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01643/0.4657, allocations: 1.97 MB / 0.6871 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.687/8.153, allocations: 10.16 kB / 0.6871 GB, free: 7.793 MB / 0.5137 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)