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.001414/0.001414, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001786/0.001786, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.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.9197/0.9197, allocations: 145 MB / 457.4 MB, free: 15.5 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.002039/0.002039, allocations: 74.45 kB / 0.6332 GB, free: 7.25 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1712, allocations: 87.89 MB / 0.719 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.003032/0.1742, allocations: 1.491 MB / 0.7205 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004245/0.1747, allocations: 144.3 kB / 0.7206 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.917e-05/0.1747, allocations: 0 / 0.7206 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.301e-05/0.1747, allocations: 4 kB / 0.7206 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.127e-05/0.1748, allocations: 3.938 kB / 0.7206 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.175, allocations: 35.89 kB / 0.7206 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.1751, allocations: 43.84 kB / 0.7207 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1752, allocations: 12 kB / 0.7207 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.644e-05/0.1753, allocations: 19.92 kB / 0.7207 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.177e-05/0.1753, allocations: 19.92 kB / 0.7207 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1753, allocations: 4 kB / 0.7207 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.1755, allocations: 35.95 kB / 0.7208 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.1755, allocations: 8 kB / 0.7208 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.033e-05/0.1755, allocations: 23.8 kB / 0.7208 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.1757, allocations: 71.73 kB / 0.7209 GB, free: 13.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1757, allocations: 0 / 0.7209 GB, free: 13.45 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1757, allocations: 4 kB / 0.7209 GB, free: 13.44 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.1757, allocations: 0 / 0.7209 GB, free: 13.44 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.0004588/0.1762, allocations: 282.1 kB / 0.7211 GB, free: 13.13 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.1762, allocations: 12.03 kB / 0.7211 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.1763, allocations: 34.75 kB / 0.7212 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.1774, allocations: 216.5 kB / 0.7214 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.1775, allocations: 106.5 kB / 0.7215 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.1775, allocations: 4.375 kB / 0.7215 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.1775, allocations: 384 / 0.7215 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006163/0.1782, allocations: 198 kB / 0.7217 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1782, allocations: 7.938 kB / 0.7217 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.1782, allocations: 0 / 0.7217 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1782, allocations: 0 / 0.7217 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008536/0.179, allocations: 279.6 kB / 0.722 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.1801, allocations: 420.2 kB / 0.7224 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.1812, allocations: 290.2 kB / 0.7226 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003502/0.1815, allocations: 96.73 kB / 0.7227 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.1816, allocations: 0 / 0.7227 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.843e-05/0.1816, allocations: 38.56 kB / 0.7228 GB, free: 11.36 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1816, allocations: 0 / 0.7228 GB, free: 11.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.001182/0.1828, allocations: 313.2 kB / 0.7231 GB, free: 11.05 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.1829, allocations: 55.41 kB / 0.7231 GB, free: 10.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.183, allocations: 121.8 kB / 0.7232 GB, free: 10.86 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.183, allocations: 29.64 kB / 0.7233 GB, free: 10.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.464e-05/0.183, allocations: 92.08 kB / 0.7233 GB, free: 10.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.1831, allocations: 7.906 kB / 0.7234 GB, free: 10.72 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-05/0.1831, allocations: 25.7 kB / 0.7234 GB, free: 10.69 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1833, allocations: 318.8 kB / 0.7237 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003545/0.1836, allocations: 99.88 kB / 0.7238 GB, free: 10.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003387/0.184, allocations: 91.88 kB / 0.7239 GB, free: 10.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006488/0.1846, allocations: 176.6 kB / 0.724 GB, free: 10 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1846, allocations: 0 / 0.724 GB, free: 10 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007392/0.1853, allocations: 217.4 kB / 0.7242 GB, free: 9.785 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1854, allocations: 4 kB / 0.7242 GB, free: 9.781 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1854, allocations: 4 kB / 0.7243 GB, free: 9.777 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1854, allocations: 0 / 0.7243 GB, free: 9.777 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/0.1857, allocations: 35.94 kB / 0.7243 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1857, allocations: 0 / 0.7243 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.1859, allocations: 31.91 kB / 0.7243 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.1859, allocations: 8 kB / 0.7243 GB, free: 9.703 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.0001095/0.186, allocations: 121.8 kB / 0.7244 GB, free: 9.574 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.1861, allocations: 0 / 0.7244 GB, free: 9.574 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.817e-05/0.1861, allocations: 8 kB / 0.7244 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1861, allocations: 0 / 0.7244 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1861, allocations: 0 / 0.7244 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1861, allocations: 0 / 0.7244 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.1864, allocations: 180.6 kB / 0.7246 GB, free: 9.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1864, allocations: 4 kB / 0.7246 GB, free: 9.336 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.1866, allocations: 35.94 kB / 0.7247 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1866, allocations: 0 / 0.7247 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.1866, allocations: 4 kB / 0.7247 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1866, allocations: 0 / 0.7247 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.1866, allocations: 4 kB / 0.7247 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007901/0.1874, allocations: 315.1 kB / 0.725 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.1874, allocations: 7.953 kB / 0.725 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.1874, allocations: 0 / 0.725 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.1877, allocations: 32.31 kB / 0.725 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.1877, allocations: 7.938 kB / 0.725 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.1877, allocations: 0 / 0.725 GB, free: 8.922 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.124e-05/0.1878, allocations: 103.2 kB / 0.7251 GB, free: 8.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1878, allocations: 0 / 0.7251 GB, free: 8.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002484/0.188, allocations: 15.94 kB / 0.7251 GB, free: 8.805 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.001112/0.1891, allocations: 0.8333 MB / 0.7259 GB, free: 7.945 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007826/0.1899, allocations: 196.2 kB / 0.7261 GB, free: 7.754 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1899, allocations: 0 / 0.7261 GB, free: 7.754 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000367/0.1903, allocations: 103.9 kB / 0.7262 GB, free: 7.652 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.1906, allocations: 6.656 kB / 0.7262 GB, free: 7.648 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/0.1943, allocations: 1.864 MB / 0.7281 GB, free: 5.707 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.1947, allocations: 0.6807 MB / 0.7287 GB, free: 5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.611e-05/0.1948, allocations: 23.98 kB / 0.7287 GB, free: 4.977 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.61e-05/0.1949, allocations: 15.42 kB / 0.7288 GB, free: 4.961 MB / 0.545 GB Notification: Performance of SimCode: time 1.182e-06/0.1949, allocations: 0 / 0.7288 GB, free: 4.961 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02949/0.2244, allocations: 2.072 MB / 0.7308 GB, free: 3.02 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.3, allocations: 11 kB / 0.7308 GB, free: 3.012 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: 14.94295189389959] Failed to read output from testmodel.py, exit status != 0: 11.406815845053643 11.43579639 11.254751044 Calling exit ...