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.001306/0.001306, allocations: 103.6 kB / 18.95 MB, free: 2.547 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.001549/0.001549, allocations: 214.8 kB / 22.25 MB, free: 4.867 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.812 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.9658/0.9658, allocations: 145 MB / 457.4 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.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: 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.00202/0.00202, allocations: 69.16 kB / 0.6331 GB, free: 6.699 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1811, allocations: 87.89 MB / 0.7189 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.003053/0.1841, allocations: 1.471 MB / 0.7204 GB, free: 13.35 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1853, allocations: 0.5736 MB / 0.7209 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.313e-05/0.1854, allocations: 0 / 0.7209 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.998e-05/0.1854, allocations: 7.938 kB / 0.7209 GB, free: 12.76 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.582e-05/0.1854, allocations: 7.922 kB / 0.7209 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.1858, allocations: 59.81 kB / 0.721 GB, free: 12.69 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.1859, allocations: 27.88 kB / 0.721 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.034e-05/0.186, allocations: 7.984 kB / 0.721 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.1861, allocations: 23.92 kB / 0.7211 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.12e-05/0.1861, allocations: 15.92 kB / 0.7211 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.1862, allocations: 4 kB / 0.7211 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.1863, allocations: 51.95 kB / 0.7211 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.1863, allocations: 0 / 0.7211 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.1864, allocations: 15.92 kB / 0.7211 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.1865, allocations: 75.72 kB / 0.7212 GB, free: 12.47 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1865, allocations: 0 / 0.7212 GB, free: 12.47 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1865, allocations: 0 / 0.7212 GB, free: 12.47 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.1865, allocations: 3.938 kB / 0.7212 GB, free: 12.47 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.0004225/0.187, allocations: 282.1 kB / 0.7215 GB, free: 12.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.187, allocations: 12.03 kB / 0.7215 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.808e-05/0.187, allocations: 30.75 kB / 0.7215 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.1872, allocations: 16.88 kB / 0.7215 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.1874, allocations: 118.5 kB / 0.7217 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.1874, allocations: 384 / 0.7217 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.1874, allocations: 8.312 kB / 0.7217 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.1875, allocations: 49.8 kB / 0.7217 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1875, allocations: 0 / 0.7217 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.1875, allocations: 4 kB / 0.7217 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1876, allocations: 0 / 0.7217 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.174e-05/0.1876, allocations: 23.92 kB / 0.7217 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.188, allocations: 224 kB / 0.722 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.775e-05/0.188, allocations: 26.58 kB / 0.722 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.505e-05/0.1881, allocations: 13.53 kB / 0.722 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006038/0.1887, allocations: 99.86 kB / 0.7221 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.1887, allocations: 30.56 kB / 0.7221 GB, free: 11.42 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.1887, allocations: 0 / 0.7221 GB, free: 11.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002462/0.189, allocations: 69.61 kB / 0.7222 GB, free: 11.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.189, allocations: 51.41 kB / 0.7222 GB, free: 11.28 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.1891, allocations: 109.8 kB / 0.7223 GB, free: 11.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.1891, allocations: 25.7 kB / 0.7224 GB, free: 11.13 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.342e-05/0.1892, allocations: 88.27 kB / 0.7224 GB, free: 11.04 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.1892, allocations: 11.89 kB / 0.7225 GB, free: 11.03 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.1892, allocations: 13.72 kB / 0.7225 GB, free: 11.01 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1894, allocations: 326.7 kB / 0.7228 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.147e-05/0.1894, allocations: 4 kB / 0.7228 GB, free: 10.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.809e-05/0.1895, allocations: 15.98 kB / 0.7228 GB, free: 10.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.752e-05/0.1896, allocations: 28.78 kB / 0.7228 GB, free: 10.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1896, allocations: 0 / 0.7228 GB, free: 10.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001209/0.1897, allocations: 57.7 kB / 0.7229 GB, free: 10.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1897, allocations: 8 kB / 0.7229 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1897, allocations: 0 / 0.7229 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1897, allocations: 0 / 0.7229 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.94e-05/0.1898, allocations: 7.984 kB / 0.7229 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1898, allocations: 3.984 kB / 0.7229 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.085e-05/0.1898, allocations: 0 / 0.7229 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.1898, allocations: 4 kB / 0.7229 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 9.173e-05/0.1899, allocations: 114.2 kB / 0.723 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.19, allocations: 8.031 kB / 0.723 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/0.1901, allocations: 65.23 kB / 0.7231 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.1901, allocations: 0 / 0.7231 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1901, allocations: 3.938 kB / 0.7231 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1901, allocations: 0 / 0.7231 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.1903, allocations: 136.6 kB / 0.7232 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1903, allocations: 0 / 0.7232 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.37e-05/0.1904, allocations: 11.98 kB / 0.7232 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1904, allocations: 0 / 0.7232 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.1904, allocations: 32 / 0.7232 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1904, allocations: 8 kB / 0.7232 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.1904, allocations: 0 / 0.7232 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.1905, allocations: 155.4 kB / 0.7234 GB, free: 9.977 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.1906, allocations: 7.953 kB / 0.7234 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.1906, allocations: 0 / 0.7234 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.618e-05/0.1906, allocations: 0 / 0.7234 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.152e-05/0.1906, allocations: 4 kB / 0.7234 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.1907, allocations: 3.984 kB / 0.7234 GB, free: 9.961 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.091e-05/0.1907, allocations: 87.28 kB / 0.7235 GB, free: 9.875 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1907, allocations: 4.031 kB / 0.7235 GB, free: 9.871 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002325/0.1909, allocations: 19.92 kB / 0.7235 GB, free: 9.852 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.0005554/0.1915, allocations: 0.7044 MB / 0.7242 GB, free: 9.121 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001284/0.1916, allocations: 23.98 kB / 0.7242 GB, free: 9.098 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1916, allocations: 0 / 0.7242 GB, free: 9.098 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.558e-05/0.1917, allocations: 15.98 kB / 0.7242 GB, free: 9.082 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.1919, allocations: 4.156 kB / 0.7242 GB, free: 9.078 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.1932, allocations: 1.259 MB / 0.7255 GB, free: 7.746 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.222e-05/0.1932, allocations: 71.28 kB / 0.7255 GB, free: 7.656 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.409e-05/0.1933, allocations: 3.984 kB / 0.7255 GB, free: 7.652 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.1933, allocations: 11.44 kB / 0.7255 GB, free: 7.641 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.1933, allocations: 32 / 0.7255 GB, free: 7.641 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.2222, allocations: 2.172 MB / 0.7277 GB, free: 5.594 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.53, allocations: 9.672 kB / 0.7277 GB, free: 5.59 MB / 0.545 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.47207401925698] Failed to read output from testmodel.py, exit status != 0: 11.638498167973012 11.668541215 11.476729432 Calling exit ...