Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 107 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 200.5 kB / 19.41 MB, free: 3.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.9484/0.9484, allocations: 145.2 MB / 447.9 MB, free: 6.355 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.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 72.36 kB / 0.62 GB, free: 1.352 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1838, allocations: 86.64 MB / 0.7046 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002644/0.1865, allocations: 1.458 MB / 0.706 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.1875, allocations: 0.5657 MB / 0.7066 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.1875, allocations: 0 / 0.7066 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.1876, allocations: 3.938 kB / 0.7066 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.437e-05/0.1876, allocations: 7.938 kB / 0.7066 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.1879, allocations: 51.81 kB / 0.7066 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.689e-05/0.188, allocations: 31.86 kB / 0.7067 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.368e-05/0.1881, allocations: 0 / 0.7067 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.218e-05/0.1882, allocations: 23.91 kB / 0.7067 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.941e-05/0.1882, allocations: 7.938 kB / 0.7067 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.1883, allocations: 0 / 0.7067 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.1884, allocations: 55.95 kB / 0.7067 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.1884, allocations: 7.984 kB / 0.7067 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.89e-05/0.1884, allocations: 19.86 kB / 0.7068 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.1886, allocations: 68.02 kB / 0.7068 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1886, allocations: 4 kB / 0.7068 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1886, allocations: 0 / 0.7068 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.1886, allocations: 0 / 0.7068 GB, free: 8.344 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000528/0.1891, allocations: 351.2 kB / 0.7072 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.1892, allocations: 12.03 kB / 0.7072 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.672e-05/0.1892, allocations: 30.75 kB / 0.7072 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.22e-05/0.1892, allocations: 0.9375 kB / 0.7072 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.1894, allocations: 172.3 kB / 0.7074 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1894, allocations: 4.375 kB / 0.7074 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.1894, allocations: 4.375 kB / 0.7074 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.1895, allocations: 49.78 kB / 0.7074 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1896, allocations: 0 / 0.7074 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1896, allocations: 8 kB / 0.7074 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.1896, allocations: 4 kB / 0.7074 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.952e-05/0.1897, allocations: 15.98 kB / 0.7075 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.19, allocations: 260.8 kB / 0.7077 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.138e-05/0.1901, allocations: 26.58 kB / 0.7077 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.306e-05/0.1902, allocations: 20.91 kB / 0.7078 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008623/0.191, allocations: 477.4 kB / 0.7082 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.191, allocations: 30.56 kB / 0.7082 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.191, allocations: 0 / 0.7082 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0002546/0.1913, allocations: 65.56 kB / 0.7083 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.1913, allocations: 55.39 kB / 0.7084 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.1915, allocations: 106.1 kB / 0.7085 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.1915, allocations: 25.83 kB / 0.7085 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.1915, allocations: 96.08 kB / 0.7086 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.1915, allocations: 7.953 kB / 0.7086 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.1916, allocations: 13.72 kB / 0.7086 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1917, allocations: 322.8 kB / 0.7089 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.116e-05/0.1918, allocations: 8 kB / 0.7089 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.363e-05/0.1918, allocations: 11.92 kB / 0.7089 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.715e-05/0.1919, allocations: 28.92 kB / 0.7089 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1919, allocations: 0 / 0.7089 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001173/0.192, allocations: 57.61 kB / 0.709 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.192, allocations: 4 kB / 0.709 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.192, allocations: 0 / 0.709 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.192, allocations: 0 / 0.709 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.937e-05/0.1921, allocations: 4 kB / 0.709 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.1921, allocations: 8.062 kB / 0.709 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.429e-05/0.1921, allocations: 8.016 kB / 0.709 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.1921, allocations: 4 kB / 0.709 GB, free: 5.773 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 (2): * Single equations (assignments): 2 * 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 8.557e-05/0.1922, allocations: 117.7 kB / 0.7091 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.1923, allocations: 3.953 kB / 0.7091 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.1924, allocations: 65.14 kB / 0.7092 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.1924, allocations: 4 kB / 0.7092 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1924, allocations: 0 / 0.7092 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1924, allocations: 0 / 0.7092 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.1926, allocations: 169.6 kB / 0.7094 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1926, allocations: 0 / 0.7094 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.075e-05/0.1927, allocations: 4 kB / 0.7094 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1927, allocations: 4 kB / 0.7094 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.1927, allocations: 0 / 0.7094 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1927, allocations: 0 / 0.7094 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1927, allocations: 0 / 0.7094 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.1928, allocations: 155.5 kB / 0.7095 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.364e-05/0.1929, allocations: 85.06 kB / 0.7096 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.1929, allocations: 0 / 0.7096 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.153e-05/0.193, allocations: 11.92 kB / 0.7096 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.193, allocations: 4 kB / 0.7096 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.193, allocations: 0 / 0.7096 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.008e-05/0.1931, allocations: 87.22 kB / 0.7097 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1931, allocations: 4 kB / 0.7097 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002323/0.1933, allocations: 15.92 kB / 0.7097 GB, free: 4.957 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 (2): * Single equations (assignments): 2 * 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.000555/0.1939, allocations: 0.6929 MB / 0.7104 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001447/0.194, allocations: 23.98 kB / 0.7104 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.194, allocations: 0 / 0.7104 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.117e-05/0.1941, allocations: 24.02 kB / 0.7104 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.1943, allocations: 2.344 kB / 0.7105 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000458/0.1947, allocations: 164.1 kB / 0.7106 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.195, allocations: 0.6845 MB / 0.7113 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.534e-05/0.1951, allocations: 0 / 0.7113 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.1951, allocations: 11.44 kB / 0.7113 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of SimCode: time 2.7e-07/0.1951, allocations: 0 / 0.7113 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.2192, allocations: 1.647 MB / 0.7129 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.85/8.069, allocations: 11.23 kB / 0.7129 GB, free: 1.703 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.638596188742667] Failed to read output from testmodel.py, exit status != 0: 8.135139680001885 8.151412562 7.959807826 Calling exit ...