Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001452/0.001452, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001825/0.001825, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.789 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.8943/0.8943, allocations: 145 MB / 457.4 MB, free: 15.28 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_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.002009/0.002009, allocations: 66.41 kB / 0.6331 GB, free: 6.676 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1865, allocations: 87.89 MB / 0.7189 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003023/0.1895, allocations: 1.463 MB / 0.7204 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.1907, allocations: 0.5649 MB / 0.7209 GB, free: 12.76 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.967e-05/0.1907, allocations: 4 kB / 0.7209 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.666e-05/0.1907, allocations: 11.92 kB / 0.7209 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.227e-05/0.1908, allocations: 11.86 kB / 0.7209 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006554/0.1915, allocations: 159.4 kB / 0.7211 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.1916, allocations: 51.64 kB / 0.7211 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.648e-05/0.1916, allocations: 4 kB / 0.7211 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.163e-05/0.1917, allocations: 27.86 kB / 0.7212 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.891e-05/0.1918, allocations: 27.84 kB / 0.7212 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.1918, allocations: 8 kB / 0.7212 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004364/0.1922, allocations: 267.5 kB / 0.7215 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.612e-05/0.1922, allocations: 15.98 kB / 0.7215 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.621e-05/0.1923, allocations: 23.86 kB / 0.7215 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.1926, allocations: 167.4 kB / 0.7217 GB, free: 11.99 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1926, allocations: 0 / 0.7217 GB, free: 11.99 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.014e-06/0.1926, allocations: 0 / 0.7217 GB, free: 11.99 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.1926, allocations: 0 / 0.7217 GB, free: 11.99 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006457/0.1932, allocations: 325.8 kB / 0.722 GB, free: 11.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.1933, allocations: 19.97 kB / 0.722 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.891e-05/0.1933, allocations: 34.75 kB / 0.722 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.1934, allocations: 8.891 kB / 0.722 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.1935, allocations: 110.5 kB / 0.7221 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.1935, allocations: 8.375 kB / 0.7221 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.1935, allocations: 4.375 kB / 0.7221 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.1938, allocations: 129.6 kB / 0.7223 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.1938, allocations: 3.938 kB / 0.7223 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1938, allocations: 4 kB / 0.7223 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1938, allocations: 4 kB / 0.7223 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000227/0.1941, allocations: 55.89 kB / 0.7223 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005565/0.1946, allocations: 283.8 kB / 0.7226 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.1949, allocations: 78.47 kB / 0.7227 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.195, allocations: 32.83 kB / 0.7227 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.195, allocations: 0 / 0.7227 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.1951, allocations: 34.56 kB / 0.7227 GB, free: 10.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.1951, allocations: 4 kB / 0.7227 GB, free: 10.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001576/0.1966, allocations: 0.4995 MB / 0.7232 GB, free: 10.17 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.1967, allocations: 51.41 kB / 0.7233 GB, free: 10.11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.347e-05/0.1968, allocations: 113.8 kB / 0.7234 GB, free: 9.988 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.1968, allocations: 25.7 kB / 0.7234 GB, free: 9.957 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.1968, allocations: 88.12 kB / 0.7235 GB, free: 9.867 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.341e-05/0.1969, allocations: 43.64 kB / 0.7235 GB, free: 9.824 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.1969, allocations: 25.72 kB / 0.7236 GB, free: 9.793 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1971, allocations: 318.8 kB / 0.7239 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.1972, allocations: 31.98 kB / 0.7239 GB, free: 9.441 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.1973, allocations: 42.59 kB / 0.7239 GB, free: 9.402 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.1976, allocations: 72.92 kB / 0.724 GB, free: 9.328 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1976, allocations: 3.938 kB / 0.724 GB, free: 9.324 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003053/0.1979, allocations: 121.7 kB / 0.7241 GB, free: 9.199 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1979, allocations: 4 kB / 0.7241 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1979, allocations: 0 / 0.7241 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.1979, allocations: 0 / 0.7241 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.1981, allocations: 31.92 kB / 0.7242 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1981, allocations: 3.938 kB / 0.7242 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.457e-05/0.1981, allocations: 11.98 kB / 0.7242 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.1981, allocations: 4 kB / 0.7242 GB, free: 9.145 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.676e-05/0.1982, allocations: 116.9 kB / 0.7243 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.1983, allocations: 4 kB / 0.7243 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003768/0.1986, allocations: 137.5 kB / 0.7244 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.1986, allocations: 3.938 kB / 0.7244 GB, free: 8.867 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1986, allocations: 3.938 kB / 0.7244 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1987, allocations: 0 / 0.7244 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005748/0.1992, allocations: 345.6 kB / 0.7248 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1992, allocations: 0 / 0.7248 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.1994, allocations: 35.91 kB / 0.7248 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1994, allocations: 3.938 kB / 0.7248 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.1994, allocations: 8 kB / 0.7248 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1994, allocations: 0 / 0.7248 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1994, allocations: 0 / 0.7248 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005199/0.1999, allocations: 243.4 kB / 0.725 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.1999, allocations: 8.094 kB / 0.725 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.2, allocations: 7.938 kB / 0.7251 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.2001, allocations: 7.984 kB / 0.7251 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.2001, allocations: 7.984 kB / 0.7251 GB, free: 8.145 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.2001, allocations: 11.94 kB / 0.7251 GB, free: 8.133 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.129e-05/0.2002, allocations: 79.28 kB / 0.7252 GB, free: 8.055 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2002, allocations: 0 / 0.7252 GB, free: 8.055 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002886/0.2005, allocations: 39.86 kB / 0.7252 GB, free: 8.016 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.000971/0.2014, allocations: 0.8204 MB / 0.726 GB, free: 7.172 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003257/0.2018, allocations: 87.92 kB / 0.7261 GB, free: 7.086 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2018, allocations: 0 / 0.7261 GB, free: 7.086 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.2019, allocations: 43.92 kB / 0.7261 GB, free: 7.043 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.2022, allocations: 12.8 kB / 0.7261 GB, free: 7.031 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.2044, allocations: 1.603 MB / 0.7277 GB, free: 5.348 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.849e-05/0.2044, allocations: 80.02 kB / 0.7278 GB, free: 5.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.615e-05/0.2045, allocations: 16.66 kB / 0.7278 GB, free: 5.234 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.188e-05/0.2046, allocations: 23.44 kB / 0.7278 GB, free: 5.211 MB / 0.545 GB Notification: Performance of SimCode: time 3.6e-07/0.2046, allocations: 0 / 0.7278 GB, free: 5.211 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03235/0.2369, allocations: 2.866 MB / 0.7306 GB, free: 2.539 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.58, allocations: 12.67 kB / 0.7306 GB, free: 2.531 MB / 0.545 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.496819281950593] Failed to read output from testmodel.py, exit status != 0: 11.685566934756935 11.702491731 11.506608132 Calling exit ...