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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 108.9 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9118/0.9118, allocations: 145 MB / 453.8 MB, free: 0.7188 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 67.91 kB / 0.628 GB, free: 10.64 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1809, allocations: 87.82 MB / 0.7138 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002646/0.1836, allocations: 1.482 MB / 0.7153 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003666/0.1839, allocations: 144.4 kB / 0.7154 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.146e-05/0.184, allocations: 0 / 0.7154 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.832e-05/0.184, allocations: 4 kB / 0.7154 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.733e-05/0.1841, allocations: 3.938 kB / 0.7154 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.1843, allocations: 31.89 kB / 0.7154 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.774e-05/0.1844, allocations: 43.91 kB / 0.7155 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1845, allocations: 16.22 kB / 0.7155 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.963e-05/0.1845, allocations: 15.98 kB / 0.7155 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.547e-05/0.1846, allocations: 27.86 kB / 0.7155 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.1846, allocations: 4 kB / 0.7155 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.24e-05/0.1847, allocations: 31.91 kB / 0.7156 GB, free: 1 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.1847, allocations: 7.984 kB / 0.7156 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.1847, allocations: 27.86 kB / 0.7156 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.1849, allocations: 63.8 kB / 0.7157 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.1849, allocations: 7.984 kB / 0.7157 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1849, allocations: 0 / 0.7157 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.1849, allocations: 0 / 0.7157 GB, free: 0.8945 MB / 0.5294 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.0004916/0.1854, allocations: 365.1 kB / 0.716 GB, free: 500 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1854, allocations: 8.031 kB / 0.716 GB, free: 492 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.434e-05/0.1854, allocations: 34.75 kB / 0.7161 GB, free: 448 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.1865, allocations: 216.5 kB / 0.7163 GB, free: 232 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.1867, allocations: 168.3 kB / 0.7164 GB, free: 24 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1867, allocations: 384 / 0.7164 GB, free: 24 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.1867, allocations: 8.359 kB / 0.7164 GB, free: 16 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005868/0.1873, allocations: 194 kB / 0.7166 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1873, allocations: 7.938 kB / 0.7166 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.1873, allocations: 3.938 kB / 0.7166 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1873, allocations: 4 kB / 0.7166 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008824/0.1882, allocations: 275.6 kB / 0.7169 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009485/0.1891, allocations: 441.2 kB / 0.7173 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.1903, allocations: 290.1 kB / 0.7176 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003794/0.1907, allocations: 100.8 kB / 0.7177 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.1907, allocations: 8.047 kB / 0.7177 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.1907, allocations: 38.56 kB / 0.7177 GB, free: 14.61 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 2.785e-06/0.1908, allocations: 3.984 kB / 0.7177 GB, free: 14.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.001232/0.192, allocations: 309.3 kB / 0.718 GB, free: 14.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.192, allocations: 55.41 kB / 0.7181 GB, free: 14.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.655e-05/0.1921, allocations: 113.8 kB / 0.7182 GB, free: 14.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.1921, allocations: 29.7 kB / 0.7182 GB, free: 14.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.959e-05/0.1922, allocations: 88.12 kB / 0.7183 GB, free: 13.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.1922, allocations: 7.906 kB / 0.7183 GB, free: 13.97 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.432e-05/0.1923, allocations: 21.72 kB / 0.7183 GB, free: 13.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1924, allocations: 322.8 kB / 0.7186 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/0.1928, allocations: 95.88 kB / 0.7187 GB, free: 13.53 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000384/0.1932, allocations: 91.88 kB / 0.7188 GB, free: 13.44 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007089/0.1939, allocations: 172.6 kB / 0.719 GB, free: 13.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1939, allocations: 3.938 kB / 0.719 GB, free: 13.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007886/0.1947, allocations: 213.4 kB / 0.7192 GB, free: 13.05 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1947, allocations: 8 kB / 0.7192 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.1947, allocations: 0 / 0.7192 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1947, allocations: 3.984 kB / 0.7192 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.195, allocations: 31.95 kB / 0.7192 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.195, allocations: 4 kB / 0.7192 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.1952, allocations: 35.84 kB / 0.7193 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.1952, allocations: 7.984 kB / 0.7193 GB, free: 12.96 MB / 0.545 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.268e-05/0.1953, allocations: 117.8 kB / 0.7194 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.1953, allocations: 0 / 0.7194 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.188e-05/0.1954, allocations: 7.906 kB / 0.7194 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.1954, allocations: 384 / 0.7194 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1954, allocations: 0 / 0.7194 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1954, allocations: 3.984 kB / 0.7194 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.1956, allocations: 213.5 kB / 0.7196 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1956, allocations: 3.938 kB / 0.7196 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.1959, allocations: 35.95 kB / 0.7196 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1959, allocations: 0 / 0.7196 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1959, allocations: 0 / 0.7196 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1959, allocations: 0 / 0.7196 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.1959, allocations: 11.92 kB / 0.7197 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008442/0.1967, allocations: 311.2 kB / 0.7199 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/0.1968, allocations: 85.06 kB / 0.72 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.1968, allocations: 0 / 0.72 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.197, allocations: 31.95 kB / 0.7201 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.1971, allocations: 3.984 kB / 0.7201 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.1971, allocations: 0 / 0.7201 GB, free: 12.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.259e-05/0.1971, allocations: 99.27 kB / 0.7202 GB, free: 11.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1971, allocations: 0 / 0.7202 GB, free: 11.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002363/0.1974, allocations: 15.94 kB / 0.7202 GB, free: 11.94 MB / 0.545 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.00113/0.1985, allocations: 0.8337 MB / 0.721 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007973/0.1993, allocations: 203.8 kB / 0.7212 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1993, allocations: 0 / 0.7212 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003786/0.1997, allocations: 103.8 kB / 0.7213 GB, free: 10.78 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.1999, allocations: 4 kB / 0.7213 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00369/0.2036, allocations: 1.85 MB / 0.7231 GB, free: 8.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.2039, allocations: 0.6885 MB / 0.7238 GB, free: 8.125 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.748e-05/0.204, allocations: 19.98 kB / 0.7238 GB, free: 8.105 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.324e-05/0.2041, allocations: 11.44 kB / 0.7238 GB, free: 8.094 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.2041, allocations: 0 / 0.7238 GB, free: 8.094 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/0.2272, allocations: 1.973 MB / 0.7257 GB, free: 6.215 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.795/8.022, allocations: 2.75 kB / 0.7257 GB, free: 6.215 MB / 0.545 GB " [Timeout remaining time 652] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.788878763996763] Failed to read output from testmodel.py, exit status != 0: 8.103816261995235 8.124702419 7.9362207190000005 Calling exit ...