Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.002052/0.002052, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001767/0.001767, allocations: 216.6 kB / 22.26 MB, free: 5.082 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.46/1.46, allocations: 230.6 MB / 256 MB, free: 8.008 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.9074/0.9074, allocations: 145 MB / 457.4 MB, free: 15.55 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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",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.002227/0.002227, allocations: 69.95 kB / 0.6332 GB, free: 7.293 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1857, allocations: 87.88 MB / 0.719 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002843/0.1885, allocations: 1.301 MB / 0.7203 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.1896, allocations: 0.6227 MB / 0.7209 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.1897, allocations: 4 kB / 0.7209 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.1897, allocations: 0 / 0.7209 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.124e-05/0.1897, allocations: 3.938 kB / 0.7209 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000639/0.1904, allocations: 150.4 kB / 0.721 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.619e-05/0.1905, allocations: 19.92 kB / 0.721 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.123e-05/0.1905, allocations: 4 kB / 0.721 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.767e-05/0.1905, allocations: 7.938 kB / 0.7211 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.3e-05/0.1906, allocations: 11.98 kB / 0.7211 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.1906, allocations: 0 / 0.7211 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006357/0.1912, allocations: 343.3 kB / 0.7214 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.095e-05/0.1912, allocations: 3.938 kB / 0.7214 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.803e-05/0.1913, allocations: 19.92 kB / 0.7214 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.1916, allocations: 147.5 kB / 0.7216 GB, free: 12.78 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1916, allocations: 0 / 0.7216 GB, free: 12.78 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1916, allocations: 0 / 0.7216 GB, free: 12.78 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.1916, allocations: 0 / 0.7216 GB, free: 12.78 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000465/0.192, allocations: 286 kB / 0.7218 GB, free: 12.46 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1921, allocations: 12.02 kB / 0.7218 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.1921, allocations: 30.75 kB / 0.7219 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.1922, allocations: 12.89 kB / 0.7219 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.1923, allocations: 102.5 kB / 0.722 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.1923, allocations: 4.375 kB / 0.722 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.1923, allocations: 4.375 kB / 0.722 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.1924, allocations: 42.19 kB / 0.722 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1924, allocations: 7.938 kB / 0.722 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.1924, allocations: 0 / 0.722 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1924, allocations: 0 / 0.722 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.074e-05/0.1925, allocations: 11.98 kB / 0.7221 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.1927, allocations: 132.7 kB / 0.7222 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.1929, allocations: 42.56 kB / 0.7222 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.9e-05/0.1929, allocations: 20.84 kB / 0.7222 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.1929, allocations: 0 / 0.7222 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.193, allocations: 38.5 kB / 0.7223 GB, free: 11.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.193, allocations: 0 / 0.7223 GB, free: 11.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0006132/0.1936, allocations: 233.2 kB / 0.7225 GB, free: 11.65 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.1936, allocations: 55.41 kB / 0.7225 GB, free: 11.58 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.95e-05/0.1937, allocations: 101.8 kB / 0.7226 GB, free: 11.47 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.1937, allocations: 25.7 kB / 0.7227 GB, free: 11.44 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.1937, allocations: 80.14 kB / 0.7227 GB, free: 11.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.1938, allocations: 31.77 kB / 0.7228 GB, free: 11.33 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.1938, allocations: 17.72 kB / 0.7228 GB, free: 11.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.194, allocations: 310.8 kB / 0.7231 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.431e-05/0.194, allocations: 19.98 kB / 0.7231 GB, free: 10.97 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.27e-05/0.194, allocations: 12 kB / 0.7231 GB, free: 10.96 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.62e-05/0.1941, allocations: 24.86 kB / 0.7231 GB, free: 10.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1941, allocations: 7.938 kB / 0.7232 GB, free: 10.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001141/0.1942, allocations: 69.77 kB / 0.7232 GB, free: 10.85 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1942, allocations: 10.03 kB / 0.7232 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1942, allocations: 0 / 0.7232 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1942, allocations: 0 / 0.7232 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.321e-05/0.1943, allocations: 15.92 kB / 0.7232 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1943, allocations: 0 / 0.7232 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.485e-05/0.1943, allocations: 8 kB / 0.7233 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-06/0.1943, allocations: 0 / 0.7233 GB, free: 10.82 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 (7): * Single equations (assignments): 7 * 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.34e-05/0.1944, allocations: 113.8 kB / 0.7234 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.1944, allocations: 3.938 kB / 0.7234 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.1946, allocations: 81.69 kB / 0.7234 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1946, allocations: 4 kB / 0.7234 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1946, allocations: 0 / 0.7234 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1946, allocations: 0 / 0.7234 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003612/0.1949, allocations: 294.4 kB / 0.7237 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1949, allocations: 0 / 0.7237 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.728e-05/0.195, allocations: 15.98 kB / 0.7237 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.195, allocations: 0 / 0.7237 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.195, allocations: 0 / 0.7237 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.195, allocations: 0 / 0.7237 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.195, allocations: 4 kB / 0.7237 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.1952, allocations: 180.3 kB / 0.7239 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.1953, allocations: 15.91 kB / 0.7239 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.1953, allocations: 0 / 0.7239 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.1954, allocations: 4 kB / 0.7239 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.1954, allocations: 7.984 kB / 0.7239 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.1954, allocations: 0 / 0.7239 GB, free: 10.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.677e-05/0.1954, allocations: 79.8 kB / 0.724 GB, free: 9.941 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1954, allocations: 0 / 0.724 GB, free: 9.941 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002488/0.1957, allocations: 23.94 kB / 0.724 GB, free: 9.918 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * 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 (6): * Single equations (assignments): 6 * 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.0006433/0.1963, allocations: 0.7327 MB / 0.7248 GB, free: 9.156 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.1964, allocations: 32.23 kB / 0.7248 GB, free: 9.125 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1964, allocations: 0 / 0.7248 GB, free: 9.125 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.419e-05/0.1965, allocations: 24 kB / 0.7248 GB, free: 9.102 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.1967, allocations: 12.53 kB / 0.7248 GB, free: 9.094 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.1981, allocations: 1.331 MB / 0.7261 GB, free: 7.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.1986, allocations: 0.6807 MB / 0.7268 GB, free: 6.973 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.469e-05/0.1986, allocations: 12.02 kB / 0.7268 GB, free: 6.961 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.1986, allocations: 11.44 kB / 0.7268 GB, free: 6.949 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.1986, allocations: 0 / 0.7268 GB, free: 6.949 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03261/0.2313, allocations: 1.747 MB / 0.7285 GB, free: 5.367 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.86, allocations: 4.734 kB / 0.7285 GB, free: 5.363 MB / 0.545 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.516527532134205] Failed to read output from testmodel.py, exit status != 0: 11.968008171999827 11.988679221 11.79396172 Calling exit ...