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.001814/0.001814, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002286/0.002286, allocations: 209.9 kB / 22.24 MB, free: 4.855 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.785 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.9363/0.9363, allocations: 145 MB / 457.4 MB, free: 15.28 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="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.002067/0.002067, allocations: 70.36 kB / 0.6331 GB, free: 6.691 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1961, allocations: 87.89 MB / 0.7189 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.003655/0.1998, allocations: 1.481 MB / 0.7204 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004879/0.2003, allocations: 128.5 kB / 0.7205 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.79e-05/0.2003, allocations: 3.938 kB / 0.7205 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.768e-05/0.2003, allocations: 3.938 kB / 0.7205 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.309e-05/0.2004, allocations: 11.86 kB / 0.7205 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.2007, allocations: 35.91 kB / 0.7205 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.2008, allocations: 39.91 kB / 0.7206 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.2009, allocations: 12 kB / 0.7206 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.938e-05/0.201, allocations: 23.91 kB / 0.7206 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.765e-05/0.201, allocations: 15.92 kB / 0.7206 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.201, allocations: 4 kB / 0.7206 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.879e-05/0.2011, allocations: 35.97 kB / 0.7207 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.2012, allocations: 7.938 kB / 0.7207 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.2012, allocations: 11.94 kB / 0.7207 GB, free: 13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.2013, allocations: 75.72 kB / 0.7208 GB, free: 12.92 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.2014, allocations: 0 / 0.7208 GB, free: 12.92 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2014, allocations: 0 / 0.7208 GB, free: 12.92 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.898e-06/0.2014, allocations: 0 / 0.7208 GB, free: 12.92 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.0004952/0.2019, allocations: 290.1 kB / 0.721 GB, free: 12.61 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.2019, allocations: 8.031 kB / 0.721 GB, free: 12.6 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.2019, allocations: 38.69 kB / 0.7211 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.203, allocations: 212.5 kB / 0.7213 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.2031, allocations: 110.5 kB / 0.7214 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.2031, allocations: 4.375 kB / 0.7214 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.2032, allocations: 4.375 kB / 0.7214 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005681/0.2037, allocations: 190 kB / 0.7216 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2037, allocations: 3.938 kB / 0.7216 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.2038, allocations: 4 kB / 0.7216 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.2038, allocations: 0 / 0.7216 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000852/0.2046, allocations: 287.5 kB / 0.7219 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009947/0.2056, allocations: 396.2 kB / 0.7222 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.2068, allocations: 286.2 kB / 0.7225 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003667/0.2071, allocations: 108.8 kB / 0.7226 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.2071, allocations: 0 / 0.7226 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.2072, allocations: 38.5 kB / 0.7227 GB, free: 10.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.2072, allocations: 0 / 0.7227 GB, free: 10.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.00123/0.2084, allocations: 309.3 kB / 0.7229 GB, free: 10.54 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.2085, allocations: 51.41 kB / 0.723 GB, free: 10.47 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.2086, allocations: 121.8 kB / 0.7231 GB, free: 10.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.2086, allocations: 25.7 kB / 0.7231 GB, free: 10.31 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.962e-05/0.2087, allocations: 88.12 kB / 0.7232 GB, free: 10.22 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.2087, allocations: 19.84 kB / 0.7232 GB, free: 10.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/0.2087, allocations: 13.72 kB / 0.7233 GB, free: 10.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.2089, allocations: 322.8 kB / 0.7236 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.2093, allocations: 99.81 kB / 0.7237 GB, free: 9.762 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003512/0.2096, allocations: 91.88 kB / 0.7237 GB, free: 9.672 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00067/0.2103, allocations: 176.6 kB / 0.7239 GB, free: 9.496 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2103, allocations: 0 / 0.7239 GB, free: 9.496 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007617/0.211, allocations: 217.5 kB / 0.7241 GB, free: 9.277 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.2111, allocations: 4 kB / 0.7241 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2111, allocations: 336 / 0.7241 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.2111, allocations: 0 / 0.7241 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.2113, allocations: 31.95 kB / 0.7242 GB, free: 9.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.2113, allocations: 0 / 0.7242 GB, free: 9.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.2115, allocations: 31.91 kB / 0.7242 GB, free: 9.211 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.2116, allocations: 7.922 kB / 0.7242 GB, free: 9.203 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.0001057/0.2117, allocations: 121.8 kB / 0.7243 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.2117, allocations: 7.984 kB / 0.7243 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.438e-05/0.2117, allocations: 15.98 kB / 0.7243 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.2118, allocations: 0 / 0.7243 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.2118, allocations: 0 / 0.7243 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2118, allocations: 0 / 0.7243 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.212, allocations: 168.7 kB / 0.7245 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.212, allocations: 0 / 0.7245 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.2122, allocations: 39.94 kB / 0.7245 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.2122, allocations: 0 / 0.7245 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.2123, allocations: 0 / 0.7245 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2123, allocations: 0 / 0.7245 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2123, allocations: 0 / 0.7245 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008454/0.2131, allocations: 311.2 kB / 0.7248 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.2131, allocations: 19.83 kB / 0.7248 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.2131, allocations: 0 / 0.7248 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.2134, allocations: 35.94 kB / 0.7249 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.2134, allocations: 0 / 0.7249 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.2134, allocations: 0 / 0.7249 GB, free: 8.422 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.008e-05/0.2135, allocations: 103.5 kB / 0.725 GB, free: 8.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2135, allocations: 0 / 0.725 GB, free: 8.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002417/0.2137, allocations: 15.94 kB / 0.725 GB, free: 8.305 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.001149/0.2149, allocations: 0.8443 MB / 0.7258 GB, free: 7.438 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000787/0.2157, allocations: 195.7 kB / 0.726 GB, free: 7.246 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2157, allocations: 4 kB / 0.726 GB, free: 7.242 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003665/0.216, allocations: 95.86 kB / 0.7261 GB, free: 7.148 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.2163, allocations: 8 kB / 0.7261 GB, free: 7.141 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003793/0.2201, allocations: 1.842 MB / 0.7279 GB, free: 5.219 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.984e-05/0.2201, allocations: 67.34 kB / 0.728 GB, free: 5.133 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.154e-05/0.2202, allocations: 19.98 kB / 0.728 GB, free: 5.113 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.482e-05/0.2203, allocations: 23.42 kB / 0.728 GB, free: 5.09 MB / 0.545 GB Notification: Performance of SimCode: time 9.12e-07/0.2203, allocations: 0 / 0.728 GB, free: 5.09 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0288/0.2491, allocations: 2.551 MB / 0.7305 GB, free: 2.68 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.32, allocations: 7.781 kB / 0.7305 GB, free: 2.676 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.059145447332412] Failed to read output from testmodel.py, exit status != 0: 11.429183057043701 11.454967503 11.248428724 Calling exit ...