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.001428/0.001428, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.001473/0.001473, allocations: 211 kB / 20.13 MB, free: 2.969 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.477/1.477, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.9597/0.9597, allocations: 144.9 MB / 454.5 MB, free: 10.01 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="cs",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.002569/0.002569, allocations: 73.16 kB / 0.6287 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.192, allocations: 87.83 MB / 0.7145 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002948/0.195, allocations: 1.485 MB / 0.7159 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004625/0.1954, allocations: 140.4 kB / 0.7161 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.834e-05/0.1955, allocations: 0 / 0.7161 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.415e-05/0.1955, allocations: 3.938 kB / 0.7161 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.848e-05/0.1956, allocations: 7.938 kB / 0.7161 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.1959, allocations: 27.91 kB / 0.7161 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.196, allocations: 47.89 kB / 0.7162 GB, free: 10 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.1961, allocations: 16.28 kB / 0.7162 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.959e-05/0.1962, allocations: 15.92 kB / 0.7162 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.613e-05/0.1962, allocations: 27.86 kB / 0.7162 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.1962, allocations: 7.938 kB / 0.7162 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.734e-05/0.1963, allocations: 27.97 kB / 0.7162 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.1964, allocations: 8 kB / 0.7162 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/0.1964, allocations: 27.84 kB / 0.7163 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.1966, allocations: 59.81 kB / 0.7163 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1966, allocations: 0 / 0.7163 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.575e-06/0.1966, allocations: 4 kB / 0.7163 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.1966, allocations: 0 / 0.7163 GB, free: 9.809 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.000603/0.1972, allocations: 363.2 kB / 0.7167 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.1972, allocations: 15.97 kB / 0.7167 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.111e-05/0.1973, allocations: 192 / 0.7167 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.56e-05/0.1973, allocations: 30.75 kB / 0.7167 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.1985, allocations: 220.5 kB / 0.7169 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.1987, allocations: 168.3 kB / 0.7171 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.1987, allocations: 4.375 kB / 0.7171 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.1987, allocations: 4.375 kB / 0.7171 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006803/0.1994, allocations: 201.8 kB / 0.7173 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1994, allocations: 0 / 0.7173 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.1994, allocations: 4 kB / 0.7173 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1994, allocations: 0 / 0.7173 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009159/0.2003, allocations: 271.6 kB / 0.7176 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.2014, allocations: 453 kB / 0.718 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.2026, allocations: 282.2 kB / 0.7183 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003973/0.203, allocations: 100.8 kB / 0.7184 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.203, allocations: 8 kB / 0.7184 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.2031, allocations: 38.55 kB / 0.7184 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.2031, allocations: 0 / 0.7184 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.001325/0.2044, allocations: 313.2 kB / 0.7187 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.961e-05/0.2045, allocations: 51.41 kB / 0.7188 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.2046, allocations: 117.8 kB / 0.7189 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.2046, allocations: 25.7 kB / 0.7189 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.281e-05/0.2047, allocations: 88.14 kB / 0.719 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.2048, allocations: 16.33 kB / 0.719 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.49e-05/0.2048, allocations: 17.72 kB / 0.719 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002144/0.205, allocations: 326.8 kB / 0.7193 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003876/0.2054, allocations: 91.88 kB / 0.7194 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/0.2058, allocations: 95.81 kB / 0.7195 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007202/0.2065, allocations: 176.6 kB / 0.7197 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2065, allocations: 0 / 0.7197 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008057/0.2073, allocations: 217.5 kB / 0.7199 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.2073, allocations: 9.969 kB / 0.7199 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2074, allocations: 0 / 0.7199 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.2074, allocations: 0 / 0.7199 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.2076, allocations: 35.94 kB / 0.7199 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.2076, allocations: 0 / 0.7199 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.2079, allocations: 39.84 kB / 0.72 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.2079, allocations: 3.938 kB / 0.72 GB, free: 5.859 MB / 0.5294 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.0001205/0.208, allocations: 117.8 kB / 0.7201 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.269e-05/0.208, allocations: 4 kB / 0.7201 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.747e-05/0.2081, allocations: 7.906 kB / 0.7201 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2081, allocations: 0 / 0.7201 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.2081, allocations: 0 / 0.7201 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.2081, allocations: 7.922 kB / 0.7201 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.2084, allocations: 209.5 kB / 0.7203 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2084, allocations: 3.984 kB / 0.7203 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.2086, allocations: 35.95 kB / 0.7203 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2086, allocations: 0 / 0.7203 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.2086, allocations: 0 / 0.7203 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2086, allocations: 0 / 0.7203 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2086, allocations: 0 / 0.7203 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009003/0.2095, allocations: 319.2 kB / 0.7206 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.797e-05/0.2096, allocations: 81.06 kB / 0.7207 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.2096, allocations: 4 kB / 0.7207 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.2099, allocations: 27.95 kB / 0.7207 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.2099, allocations: 7.984 kB / 0.7207 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.2099, allocations: 0 / 0.7207 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.668e-05/0.21, allocations: 107.1 kB / 0.7208 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.21, allocations: 0 / 0.7208 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002506/0.2102, allocations: 12 kB / 0.7209 GB, free: 4.836 MB / 0.5294 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.001312/0.2116, allocations: 0.8301 MB / 0.7217 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008491/0.2124, allocations: 199.7 kB / 0.7219 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2124, allocations: 3.938 kB / 0.7219 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003964/0.2128, allocations: 100 kB / 0.722 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.2131, allocations: 4.031 kB / 0.722 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/0.2171, allocations: 1.859 MB / 0.7238 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.2174, allocations: 0.6923 MB / 0.7245 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.374e-05/0.2175, allocations: 19.98 kB / 0.7245 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.017e-05/0.2176, allocations: 11.44 kB / 0.7245 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of SimCode: time 1.042e-06/0.2176, allocations: 0 / 0.7245 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/0.237, allocations: 2.016 MB / 0.7265 GB, free: 15.08 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.139/8.376, allocations: 2.188 kB / 0.7265 GB, free: 15.08 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 12.242515017045662] Failed to read output from testmodel.py, exit status != 0: 8.499454892997164 8.514769049 8.315394054 Calling exit ...