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.001255/0.001255, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001489/0.001489, allocations: 216 kB / 23.03 MB, free: 4.922 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.9196/0.9196, allocations: 145 MB / 458.2 MB, free: 15.27 MB / 366.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.002836/0.002836, allocations: 66.8 kB / 0.6339 GB, free: 6.703 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.199, allocations: 87.9 MB / 0.7197 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.003339/0.2023, allocations: 1.475 MB / 0.7211 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004496/0.2028, allocations: 132.4 kB / 0.7213 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.2028, allocations: 0 / 0.7213 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.343e-05/0.2029, allocations: 0 / 0.7213 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.845e-05/0.203, allocations: 11.92 kB / 0.7213 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.2032, allocations: 31.92 kB / 0.7213 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.2033, allocations: 43.84 kB / 0.7213 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.2034, allocations: 15.98 kB / 0.7214 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.605e-05/0.2035, allocations: 15.92 kB / 0.7214 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.326e-05/0.2035, allocations: 23.92 kB / 0.7214 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.2036, allocations: 4 kB / 0.7214 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.888e-05/0.2037, allocations: 27.97 kB / 0.7214 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.666e-05/0.2037, allocations: 15.94 kB / 0.7214 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.313e-05/0.2037, allocations: 19.86 kB / 0.7215 GB, free: 13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.2039, allocations: 67.73 kB / 0.7215 GB, free: 12.94 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.2039, allocations: 3.984 kB / 0.7215 GB, free: 12.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2039, allocations: 4 kB / 0.7215 GB, free: 12.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2039, allocations: 0 / 0.7215 GB, free: 12.93 MB / 0.545 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.0004856/0.2044, allocations: 286.1 kB / 0.7218 GB, free: 12.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.2044, allocations: 12.03 kB / 0.7218 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2e-05/0.2044, allocations: 192 / 0.7218 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.587e-05/0.2045, allocations: 34.75 kB / 0.7219 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.2056, allocations: 216.5 kB / 0.7221 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.2057, allocations: 106.5 kB / 0.7222 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.2057, allocations: 384 / 0.7222 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.2057, allocations: 8.375 kB / 0.7222 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005753/0.2063, allocations: 201.7 kB / 0.7224 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.2063, allocations: 0 / 0.7224 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.72e-05/0.2064, allocations: 8 kB / 0.7224 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.2064, allocations: 4 kB / 0.7224 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000834/0.2072, allocations: 271.6 kB / 0.7226 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.2084, allocations: 404.2 kB / 0.723 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.2095, allocations: 286.1 kB / 0.7233 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003436/0.2099, allocations: 104.8 kB / 0.7234 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.2099, allocations: 4 kB / 0.7234 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.2099, allocations: 34.56 kB / 0.7234 GB, free: 10.85 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2099, allocations: 0 / 0.7234 GB, free: 10.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.001151/0.2111, allocations: 305.3 kB / 0.7237 GB, free: 10.55 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.2112, allocations: 59.34 kB / 0.7238 GB, free: 10.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.2113, allocations: 117.8 kB / 0.7239 GB, free: 10.35 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.2113, allocations: 29.7 kB / 0.7239 GB, free: 10.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.2114, allocations: 84.14 kB / 0.724 GB, free: 10.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.2114, allocations: 15.91 kB / 0.724 GB, free: 10.21 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-05/0.2115, allocations: 21.7 kB / 0.724 GB, free: 10.19 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002873/0.2117, allocations: 314.8 kB / 0.7243 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003502/0.2121, allocations: 96.25 kB / 0.7244 GB, free: 9.777 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004351/0.2125, allocations: 95.86 kB / 0.7245 GB, free: 9.684 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006344/0.2132, allocations: 172.6 kB / 0.7247 GB, free: 9.512 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2132, allocations: 0 / 0.7247 GB, free: 9.512 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007349/0.2139, allocations: 225.3 kB / 0.7249 GB, free: 9.285 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.2139, allocations: 8 kB / 0.7249 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.2139, allocations: 4 kB / 0.7249 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.2139, allocations: 0 / 0.7249 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.2142, allocations: 35.94 kB / 0.7249 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.2142, allocations: 0 / 0.7249 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.2144, allocations: 35.91 kB / 0.725 GB, free: 9.203 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.2144, allocations: 3.938 kB / 0.725 GB, free: 9.199 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 0.0001111/0.2145, allocations: 117.8 kB / 0.7251 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.2146, allocations: 4 kB / 0.7251 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.701e-05/0.2146, allocations: 8 kB / 0.7251 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2146, allocations: 0 / 0.7251 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2146, allocations: 4 kB / 0.7251 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.2146, allocations: 0 / 0.7251 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.2149, allocations: 164.7 kB / 0.7253 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2149, allocations: 4 kB / 0.7253 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/0.2151, allocations: 31.94 kB / 0.7253 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.2151, allocations: 4 kB / 0.7253 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.2151, allocations: 0 / 0.7253 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.2151, allocations: 0 / 0.7253 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2151, allocations: 0 / 0.7253 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008295/0.216, allocations: 323.1 kB / 0.7256 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.98e-05/0.216, allocations: 11.89 kB / 0.7256 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.216, allocations: 384 / 0.7256 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.2162, allocations: 23.95 kB / 0.7256 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.2163, allocations: 8 kB / 0.7257 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.2163, allocations: 3.984 kB / 0.7257 GB, free: 8.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.183e-05/0.2164, allocations: 99.2 kB / 0.7258 GB, free: 8.332 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2164, allocations: 4 kB / 0.7258 GB, free: 8.328 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002504/0.2166, allocations: 12 kB / 0.7258 GB, free: 8.316 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.001558/0.2182, allocations: 0.8372 MB / 0.7266 GB, free: 7.453 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008211/0.219, allocations: 196 kB / 0.7268 GB, free: 7.262 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.219, allocations: 0 / 0.7268 GB, free: 7.262 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003586/0.2194, allocations: 99.88 kB / 0.7269 GB, free: 7.164 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.2197, allocations: 11.88 kB / 0.7269 GB, free: 7.152 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003925/0.2236, allocations: 1.853 MB / 0.7287 GB, free: 5.219 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.933e-05/0.2237, allocations: 71.33 kB / 0.7288 GB, free: 5.129 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.622e-05/0.2238, allocations: 19.98 kB / 0.7288 GB, free: 5.109 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.739e-05/0.2238, allocations: 15.44 kB / 0.7288 GB, free: 5.094 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.2238, allocations: 0 / 0.7288 GB, free: 5.094 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02372/0.2476, allocations: 2.176 MB / 0.7309 GB, free: 3.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.32, allocations: 14.39 kB / 0.7309 GB, free: 3.059 MB / 0.545 GB " [Timeout remaining time 649] (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: 15.120995501987636] Failed to read output from testmodel.py, exit status != 0: 11.48673315497581 11.512704299 11.303964094 Calling exit ...