Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.001403/0.001403, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001622/0.001622, allocations: 210.6 kB / 22.24 MB, free: 5.242 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.436/1.436, allocations: 230.6 MB / 256 MB, free: 7.793 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.932/0.932, allocations: 145 MB / 457.4 MB, free: 15.33 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_dp_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",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.002089/0.002089, allocations: 66.39 kB / 0.6331 GB, free: 6.773 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1896, allocations: 87.89 MB / 0.7189 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002433/0.1921, allocations: 1.289 MB / 0.7202 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1931, allocations: 0.5566 MB / 0.7207 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.286e-05/0.1932, allocations: 0 / 0.7207 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.035e-05/0.1932, allocations: 3.938 kB / 0.7207 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.668e-05/0.1932, allocations: 0 / 0.7207 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005748/0.1938, allocations: 154.5 kB / 0.7209 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.045e-05/0.1939, allocations: 27.92 kB / 0.7209 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.92e-05/0.1939, allocations: 7.922 kB / 0.7209 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.376e-05/0.1939, allocations: 11.94 kB / 0.7209 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.693e-05/0.194, allocations: 19.91 kB / 0.7209 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.194, allocations: 4 kB / 0.7209 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004223/0.1944, allocations: 259.5 kB / 0.7212 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.1944, allocations: 15.97 kB / 0.7212 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.1945, allocations: 7.938 kB / 0.7212 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.1947, allocations: 139.6 kB / 0.7213 GB, free: 12.4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1947, allocations: 3.938 kB / 0.7214 GB, free: 12.39 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.774e-06/0.1947, allocations: 3.938 kB / 0.7214 GB, free: 12.39 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.1947, allocations: 4 kB / 0.7214 GB, free: 12.39 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004373/0.1952, allocations: 290 kB / 0.7216 GB, free: 12.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.1952, allocations: 16.02 kB / 0.7217 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.954e-05/0.1953, allocations: 30.75 kB / 0.7217 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.1953, allocations: 12.89 kB / 0.7217 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.1954, allocations: 106.5 kB / 0.7218 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.1954, allocations: 4.375 kB / 0.7218 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.1954, allocations: 384 / 0.7218 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1956, allocations: 101.7 kB / 0.7219 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.1956, allocations: 7.922 kB / 0.7219 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1956, allocations: 4 kB / 0.7219 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.1956, allocations: 4 kB / 0.7219 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.538e-05/0.1957, allocations: 19.92 kB / 0.7219 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001858/0.1959, allocations: 136.7 kB / 0.7221 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.196, allocations: 54.56 kB / 0.7221 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.711e-05/0.1961, allocations: 32.84 kB / 0.7221 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.1961, allocations: 3.938 kB / 0.7221 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.1961, allocations: 30.56 kB / 0.7222 GB, free: 11.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1961, allocations: 0 / 0.7222 GB, free: 11.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001143/0.1973, allocations: 463.6 kB / 0.7226 GB, free: 10.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.1973, allocations: 51.41 kB / 0.7227 GB, free: 10.83 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.123e-05/0.1974, allocations: 101.8 kB / 0.7228 GB, free: 10.72 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.1974, allocations: 25.7 kB / 0.7228 GB, free: 10.69 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.803e-05/0.1974, allocations: 84.08 kB / 0.7229 GB, free: 10.61 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/0.1975, allocations: 47.58 kB / 0.7229 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.1975, allocations: 25.72 kB / 0.7229 GB, free: 10.53 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1977, allocations: 319 kB / 0.7232 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.328e-05/0.1977, allocations: 24 kB / 0.7233 GB, free: 10.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.276e-05/0.1978, allocations: 23.98 kB / 0.7233 GB, free: 10.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.816e-05/0.1979, allocations: 56.86 kB / 0.7233 GB, free: 10.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.1979, allocations: 0 / 0.7233 GB, free: 10.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001523/0.198, allocations: 97.55 kB / 0.7234 GB, free: 10 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.198, allocations: 4 kB / 0.7234 GB, free: 9.996 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.198, allocations: 0 / 0.7234 GB, free: 9.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1981, allocations: 4.094 kB / 0.7234 GB, free: 9.992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.1982, allocations: 27.92 kB / 0.7235 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1982, allocations: 0 / 0.7235 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.539e-05/0.1982, allocations: 4 kB / 0.7235 GB, free: 9.961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1982, allocations: 4 kB / 0.7235 GB, free: 9.957 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 (13): * Single equations (assignments): 13 * 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.545e-05/0.1983, allocations: 120.8 kB / 0.7236 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.1983, allocations: 11.89 kB / 0.7236 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.1985, allocations: 105.7 kB / 0.7237 GB, free: 9.707 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1985, allocations: 4 kB / 0.7237 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1985, allocations: 0 / 0.7237 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1985, allocations: 0 / 0.7237 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004218/0.199, allocations: 317.5 kB / 0.724 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.199, allocations: 0 / 0.724 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.1991, allocations: 20 kB / 0.724 GB, free: 9.324 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1991, allocations: 4 kB / 0.724 GB, free: 9.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.1991, allocations: 7.984 kB / 0.724 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.1991, allocations: 4 kB / 0.724 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1991, allocations: 0 / 0.724 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.1994, allocations: 218 kB / 0.7243 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.231e-05/0.1994, allocations: 11.98 kB / 0.7243 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.1994, allocations: 0 / 0.7243 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.51e-05/0.1995, allocations: 4 kB / 0.7243 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.898e-05/0.1995, allocations: 3.984 kB / 0.7243 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.1995, allocations: 11.98 kB / 0.7243 GB, free: 9.051 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.929e-05/0.1995, allocations: 83.34 kB / 0.7244 GB, free: 8.969 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1995, allocations: 0 / 0.7244 GB, free: 8.969 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002788/0.1998, allocations: 35.88 kB / 0.7244 GB, free: 8.934 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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 (11): * Single equations (assignments): 11 * 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.0006517/0.2005, allocations: 0.7941 MB / 0.7252 GB, free: 8.113 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.2006, allocations: 56.52 kB / 0.7252 GB, free: 8.059 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2006, allocations: 0 / 0.7252 GB, free: 8.059 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.309e-05/0.2007, allocations: 35.88 kB / 0.7253 GB, free: 8.023 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.2009, allocations: 14.44 kB / 0.7253 GB, free: 8.012 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.2025, allocations: 1.506 MB / 0.7267 GB, free: 6.426 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.081e-05/0.2026, allocations: 71.33 kB / 0.7268 GB, free: 6.336 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.42e-05/0.2026, allocations: 4 kB / 0.7268 GB, free: 6.332 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.2026, allocations: 23.5 kB / 0.7268 GB, free: 6.309 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.2026, allocations: 0 / 0.7268 GB, free: 6.309 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03116/0.2338, allocations: 2.571 MB / 0.7294 GB, free: 3.914 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.45, allocations: 12.42 kB / 0.7294 GB, free: 3.91 MB / 0.545 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.159476070199162] Failed to read output from testmodel.py, exit status != 0: 11.561717414297163 11.585889063 11.387797604 Calling exit ...