Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.001263/0.001263, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001403/0.001403, allocations: 219.9 kB / 23.04 MB, free: 5.074 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.416/1.416, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.8992/0.8992, allocations: 145 MB / 458.2 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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",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.002521/0.002521, allocations: 70.36 kB / 0.6339 GB, free: 7.453 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1865, allocations: 87.88 MB / 0.7197 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002977/0.1894, allocations: 1.848 MB / 0.7215 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000298/0.1897, allocations: 127.6 kB / 0.7217 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.963e-05/0.1898, allocations: 0 / 0.7217 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.1899, allocations: 15.8 kB / 0.7217 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.122e-05/0.19, allocations: 51.55 kB / 0.7217 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001369/0.1901, allocations: 31.89 kB / 0.7218 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.1904, allocations: 179.1 kB / 0.7219 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1905, allocations: 17.3 kB / 0.7219 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.503e-05/0.1906, allocations: 59.83 kB / 0.722 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.1907, allocations: 67.7 kB / 0.7221 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.1907, allocations: 8 kB / 0.7221 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.633e-05/0.1908, allocations: 12 kB / 0.7221 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.266e-05/0.1908, allocations: 23.91 kB / 0.7221 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.507e-05/0.1909, allocations: 63.67 kB / 0.7222 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.1911, allocations: 131.4 kB / 0.7223 GB, free: 12.94 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1911, allocations: 0 / 0.7223 GB, free: 12.94 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1911, allocations: 0 / 0.7223 GB, free: 12.94 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.1911, allocations: 4 kB / 0.7223 GB, free: 12.94 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007757/0.1918, allocations: 373.7 kB / 0.7227 GB, free: 12.54 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1919, allocations: 12.03 kB / 0.7227 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.261e-05/0.1919, allocations: 4.125 kB / 0.7227 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.251e-05/0.192, allocations: 46.69 kB / 0.7227 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.192, allocations: 12.84 kB / 0.7227 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.1922, allocations: 155.4 kB / 0.7229 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.1923, allocations: 8.375 kB / 0.7229 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.1923, allocations: 4.375 kB / 0.7229 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.1926, allocations: 122.3 kB / 0.723 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1926, allocations: 0 / 0.723 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1926, allocations: 8 kB / 0.723 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1926, allocations: 4 kB / 0.723 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002997/0.1929, allocations: 91.92 kB / 0.7231 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007524/0.1936, allocations: 455.7 kB / 0.7235 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003799/0.194, allocations: 117.2 kB / 0.7236 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.1942, allocations: 61.77 kB / 0.7237 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.1942, allocations: 4 kB / 0.7237 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.1943, allocations: 42.55 kB / 0.7237 GB, free: 11.29 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.183e-06/0.1943, allocations: 0 / 0.7237 GB, free: 11.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0005982/0.1949, allocations: 177.5 kB / 0.7239 GB, free: 11.11 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.318e-05/0.195, allocations: 77.11 kB / 0.724 GB, free: 11.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.1951, allocations: 172.8 kB / 0.7242 GB, free: 10.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.1952, allocations: 29.69 kB / 0.7242 GB, free: 10.81 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.264e-05/0.1952, allocations: 116 kB / 0.7243 GB, free: 10.69 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.1953, allocations: 31.73 kB / 0.7243 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.1953, allocations: 21.67 kB / 0.7243 GB, free: 10.63 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1955, allocations: 330.8 kB / 0.7247 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.1956, allocations: 39.97 kB / 0.7247 GB, free: 10.26 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.1958, allocations: 61.62 kB / 0.7248 GB, free: 10.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.1961, allocations: 101.9 kB / 0.7249 GB, free: 10.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1961, allocations: 0 / 0.7249 GB, free: 10.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003618/0.1965, allocations: 145.5 kB / 0.725 GB, free: 9.941 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1965, allocations: 11.98 kB / 0.725 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1965, allocations: 0 / 0.725 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1965, allocations: 0 / 0.725 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.1967, allocations: 23.98 kB / 0.725 GB, free: 9.906 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1967, allocations: 0 / 0.725 GB, free: 9.906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.1968, allocations: 23.81 kB / 0.7251 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.1968, allocations: 4 kB / 0.7251 GB, free: 9.879 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.0001056/0.1969, allocations: 121.8 kB / 0.7252 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.946e-05/0.197, allocations: 15.91 kB / 0.7252 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004472/0.1974, allocations: 162.6 kB / 0.7253 GB, free: 9.566 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1974, allocations: 0 / 0.7253 GB, free: 9.566 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1974, allocations: 0 / 0.7253 GB, free: 9.566 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.1974, allocations: 3.938 kB / 0.7253 GB, free: 9.562 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.1977, allocations: 192.7 kB / 0.7255 GB, free: 9.332 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1977, allocations: 0 / 0.7255 GB, free: 9.332 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.1979, allocations: 19.98 kB / 0.7255 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1979, allocations: 4 kB / 0.7256 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.1979, allocations: 4 kB / 0.7256 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1979, allocations: 192 / 0.7256 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1979, allocations: 4 kB / 0.7256 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000446/0.1983, allocations: 322.5 kB / 0.7259 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.1984, allocations: 12.17 kB / 0.7259 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.1984, allocations: 0 / 0.7259 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.1986, allocations: 11.98 kB / 0.7259 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.1986, allocations: 15.86 kB / 0.7259 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.1986, allocations: 7.938 kB / 0.7259 GB, free: 8.922 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001149/0.1987, allocations: 135.5 kB / 0.726 GB, free: 8.789 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1987, allocations: 4 kB / 0.726 GB, free: 8.785 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002918/0.199, allocations: 27.95 kB / 0.7261 GB, free: 8.758 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.0007279/0.1998, allocations: 0.8444 MB / 0.7269 GB, free: 7.883 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003512/0.2001, allocations: 95.88 kB / 0.727 GB, free: 7.789 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2001, allocations: 0 / 0.727 GB, free: 7.789 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.2003, allocations: 51.95 kB / 0.727 GB, free: 7.738 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.2007, allocations: 46.17 kB / 0.7271 GB, free: 7.695 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.2031, allocations: 1.829 MB / 0.7289 GB, free: 5.773 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.2035, allocations: 0.7045 MB / 0.7296 GB, free: 5.043 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.818e-05/0.2036, allocations: 16.64 kB / 0.7296 GB, free: 5.027 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.651e-05/0.2036, allocations: 31.44 kB / 0.7296 GB, free: 4.996 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.2036, allocations: 0 / 0.7296 GB, free: 4.996 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02489/0.2285, allocations: 3.833 MB / 0.7333 GB, free: 1.367 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.25, allocations: 12 kB / 0.7334 GB, free: 1.355 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.941453597974032] Failed to read output from testmodel.py, exit status != 0: 11.415621826949064 11.44328783 11.246671798 Calling exit ...