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.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.00184/0.00184, allocations: 97.31 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.002124/0.002124, allocations: 213.1 kB / 23.03 MB, free: 4.926 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.8 MB, free: 7.797 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.9085/0.9085, allocations: 145 MB / 458.2 MB, free: 15.29 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.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",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.00193/0.00193, allocations: 66.47 kB / 0.6339 GB, free: 6.703 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1841, allocations: 87.88 MB / 0.7197 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.00292/0.1871, allocations: 1.475 MB / 0.7211 GB, free: 13.37 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.1882, allocations: 0.5814 MB / 0.7217 GB, free: 12.78 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.233e-05/0.1882, allocations: 0 / 0.7217 GB, free: 12.78 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.294e-05/0.1883, allocations: 3.938 kB / 0.7217 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.673e-05/0.1883, allocations: 3.938 kB / 0.7217 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.1886, allocations: 67.8 kB / 0.7218 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.1887, allocations: 31.86 kB / 0.7218 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.509e-05/0.1888, allocations: 7.984 kB / 0.7218 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.1889, allocations: 19.94 kB / 0.7218 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.01e-05/0.189, allocations: 15.92 kB / 0.7218 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.189, allocations: 0 / 0.7218 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.1891, allocations: 55.94 kB / 0.7219 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.1891, allocations: 8 kB / 0.7219 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.961e-05/0.1892, allocations: 7.875 kB / 0.7219 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.1893, allocations: 79.78 kB / 0.722 GB, free: 12.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1893, allocations: 0 / 0.722 GB, free: 12.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1893, allocations: 0 / 0.722 GB, free: 12.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.1893, allocations: 4 kB / 0.722 GB, free: 12.48 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004103/0.1897, allocations: 280.3 kB / 0.7223 GB, free: 12.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.1898, allocations: 8.031 kB / 0.7223 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.031e-05/0.1898, allocations: 192 / 0.7223 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.185e-05/0.1898, allocations: 38.69 kB / 0.7223 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/0.19, allocations: 12.88 kB / 0.7223 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.1902, allocations: 122.4 kB / 0.7224 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.1902, allocations: 384 / 0.7224 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-06/0.1902, allocations: 384 / 0.7224 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.1904, allocations: 49.61 kB / 0.7225 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1904, allocations: 4 kB / 0.7225 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1904, allocations: 4 kB / 0.7225 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1904, allocations: 0 / 0.7225 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.566e-05/0.1905, allocations: 19.98 kB / 0.7225 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.1908, allocations: 223.9 kB / 0.7227 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.501e-05/0.1909, allocations: 31.2 kB / 0.7227 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.933e-05/0.1909, allocations: 16.91 kB / 0.7228 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000648/0.1916, allocations: 103.8 kB / 0.7229 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.1916, allocations: 30.56 kB / 0.7229 GB, free: 11.42 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.1916, allocations: 3.938 kB / 0.7229 GB, free: 11.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002475/0.1919, allocations: 61.62 kB / 0.723 GB, free: 11.35 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.1919, allocations: 59.39 kB / 0.723 GB, free: 11.28 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.903e-05/0.192, allocations: 114 kB / 0.7231 GB, free: 11.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.192, allocations: 25.7 kB / 0.7231 GB, free: 11.13 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.1921, allocations: 84.14 kB / 0.7232 GB, free: 11.04 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.1921, allocations: 7.891 kB / 0.7232 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.1921, allocations: 13.72 kB / 0.7232 GB, free: 11.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1923, allocations: 326.8 kB / 0.7236 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.056e-05/0.1923, allocations: 4 kB / 0.7236 GB, free: 10.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.722e-05/0.1924, allocations: 11.98 kB / 0.7236 GB, free: 10.67 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.23e-05/0.1924, allocations: 36.84 kB / 0.7236 GB, free: 10.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1924, allocations: 0 / 0.7236 GB, free: 10.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001263/0.1926, allocations: 53.64 kB / 0.7237 GB, free: 10.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1926, allocations: 4 kB / 0.7237 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1926, allocations: 0 / 0.7237 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1926, allocations: 4.375 kB / 0.7237 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.178e-05/0.1927, allocations: 11.98 kB / 0.7237 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1927, allocations: 0 / 0.7237 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.067e-05/0.1927, allocations: 0 / 0.7237 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.1927, allocations: 3.938 kB / 0.7237 GB, free: 10.55 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 (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.853e-05/0.1928, allocations: 121.8 kB / 0.7238 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.1928, allocations: 0 / 0.7238 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/0.193, allocations: 69.23 kB / 0.7239 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.193, allocations: 0 / 0.7239 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.193, allocations: 0 / 0.7239 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.193, allocations: 0 / 0.7239 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.1932, allocations: 136.6 kB / 0.724 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1932, allocations: 0 / 0.724 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.1932, allocations: 7.984 kB / 0.724 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1932, allocations: 4.031 kB / 0.724 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.1932, allocations: 0 / 0.724 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1932, allocations: 0 / 0.724 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1932, allocations: 0 / 0.724 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.1934, allocations: 159.4 kB / 0.7242 GB, free: 9.984 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.368e-05/0.1934, allocations: 11.89 kB / 0.7242 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.1935, allocations: 0 / 0.7242 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.1935, allocations: 0 / 0.7242 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.1936, allocations: 4 kB / 0.7242 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.1936, allocations: 8.016 kB / 0.7242 GB, free: 9.961 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.275e-05/0.1936, allocations: 87.28 kB / 0.7243 GB, free: 9.875 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1936, allocations: 0 / 0.7243 GB, free: 9.875 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000243/0.1939, allocations: 15.94 kB / 0.7243 GB, free: 9.859 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 (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.0005604/0.1944, allocations: 0.6928 MB / 0.725 GB, free: 9.141 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001462/0.1946, allocations: 27.92 kB / 0.725 GB, free: 9.113 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1946, allocations: 0 / 0.725 GB, free: 9.113 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.672e-05/0.1946, allocations: 20.08 kB / 0.725 GB, free: 9.094 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.1948, allocations: 0 / 0.725 GB, free: 9.094 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.1962, allocations: 1.258 MB / 0.7262 GB, free: 7.758 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.528e-05/0.1962, allocations: 67.34 kB / 0.7263 GB, free: 7.672 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.156e-05/0.1962, allocations: 3.938 kB / 0.7263 GB, free: 7.668 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.1963, allocations: 23.41 kB / 0.7263 GB, free: 7.645 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.1963, allocations: 4 kB / 0.7263 GB, free: 7.641 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.2185, allocations: 1.829 MB / 0.7281 GB, free: 5.957 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.32, allocations: 13.67 kB / 0.7281 GB, free: 5.949 MB / 0.545 GB " [Timeout remaining time 649] (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: 15.076757104019634] Failed to read output from testmodel.py, exit status != 0: 11.479695244925097 11.505056729 11.311174864 Calling exit ...