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.001523/0.001523, allocations: 103.6 kB / 18.95 MB, free: 2.812 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.001919/0.001919, allocations: 213.4 kB / 22.24 MB, free: 5.105 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.608/1.608, allocations: 230.6 MB / 256 MB, free: 7.77 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.946/0.946, allocations: 145 MB / 457.4 MB, free: 15.23 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.002012/0.002012, allocations: 62.59 kB / 0.6331 GB, free: 6.652 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1985, allocations: 87.89 MB / 0.7189 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002638/0.2011, allocations: 1.297 MB / 0.7202 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.2022, allocations: 0.5487 MB / 0.7207 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.128e-05/0.2023, allocations: 4 kB / 0.7207 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.227e-05/0.2023, allocations: 3.984 kB / 0.7207 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.845e-05/0.2023, allocations: 7.922 kB / 0.7207 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005712/0.2029, allocations: 143.4 kB / 0.7209 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.357e-05/0.203, allocations: 27.91 kB / 0.7209 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.114e-05/0.203, allocations: 8 kB / 0.7209 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.824e-05/0.2031, allocations: 11.92 kB / 0.7209 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.631e-05/0.2031, allocations: 8 kB / 0.7209 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.2031, allocations: 8 kB / 0.7209 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004412/0.2036, allocations: 271.5 kB / 0.7212 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.2036, allocations: 7.875 kB / 0.7212 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.818e-05/0.2036, allocations: 15.92 kB / 0.7212 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.2039, allocations: 135.6 kB / 0.7214 GB, free: 12.29 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.2039, allocations: 0 / 0.7214 GB, free: 12.29 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2039, allocations: 3.938 kB / 0.7214 GB, free: 12.29 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.2039, allocations: 0 / 0.7214 GB, free: 12.29 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.0004285/0.2043, allocations: 301.9 kB / 0.7216 GB, free: 11.96 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.2043, allocations: 8.031 kB / 0.7216 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.679e-05/0.2044, allocations: 34.69 kB / 0.7217 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.2044, allocations: 16.88 kB / 0.7217 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.949e-05/0.2045, allocations: 102.5 kB / 0.7218 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.2045, allocations: 8.375 kB / 0.7218 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.2046, allocations: 4.375 kB / 0.7218 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.2047, allocations: 97.66 kB / 0.7219 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.2047, allocations: 7.938 kB / 0.7219 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.2047, allocations: 0 / 0.7219 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2047, allocations: 0 / 0.7219 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.531e-05/0.2048, allocations: 23.92 kB / 0.7219 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.205, allocations: 140.7 kB / 0.7221 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.2051, allocations: 58.56 kB / 0.7221 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.482e-05/0.2051, allocations: 28.84 kB / 0.7221 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.2052, allocations: 0 / 0.7221 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.2052, allocations: 38.56 kB / 0.7222 GB, free: 11.29 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.2052, allocations: 0 / 0.7222 GB, free: 11.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001084/0.2063, allocations: 455.7 kB / 0.7226 GB, free: 10.79 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.2063, allocations: 55.34 kB / 0.7227 GB, free: 10.72 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.426e-05/0.2064, allocations: 97.86 kB / 0.7228 GB, free: 10.61 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.2064, allocations: 29.7 kB / 0.7228 GB, free: 10.58 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.2065, allocations: 88.12 kB / 0.7229 GB, free: 10.49 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.2065, allocations: 39.59 kB / 0.7229 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.2066, allocations: 29.7 kB / 0.7229 GB, free: 10.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.2067, allocations: 314.8 kB / 0.7232 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.195e-05/0.2067, allocations: 19.98 kB / 0.7233 GB, free: 10.08 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.549e-05/0.2068, allocations: 31.98 kB / 0.7233 GB, free: 10.05 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.742e-05/0.2069, allocations: 51.61 kB / 0.7233 GB, free: 9.996 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.2069, allocations: 0 / 0.7233 GB, free: 9.996 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001448/0.207, allocations: 105.7 kB / 0.7234 GB, free: 9.887 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.207, allocations: 8 kB / 0.7235 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.207, allocations: 3.938 kB / 0.7235 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.2071, allocations: 0 / 0.7235 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.2072, allocations: 16 kB / 0.7235 GB, free: 9.859 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.2072, allocations: 4.094 kB / 0.7235 GB, free: 9.855 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.633e-05/0.2072, allocations: 7.938 kB / 0.7235 GB, free: 9.848 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.2072, allocations: 3.984 kB / 0.7235 GB, free: 9.844 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 8.675e-05/0.2073, allocations: 115.4 kB / 0.7236 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.2073, allocations: 11.89 kB / 0.7236 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.2075, allocations: 105.7 kB / 0.7237 GB, free: 9.598 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2075, allocations: 4 kB / 0.7237 GB, free: 9.594 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2075, allocations: 0 / 0.7237 GB, free: 9.594 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.2075, allocations: 3.984 kB / 0.7237 GB, free: 9.59 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/0.208, allocations: 321.5 kB / 0.724 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.208, allocations: 0 / 0.724 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.2081, allocations: 19.98 kB / 0.724 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2081, allocations: 0 / 0.724 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.2081, allocations: 4 kB / 0.724 GB, free: 9.203 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2081, allocations: 0 / 0.724 GB, free: 9.203 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2081, allocations: 0 / 0.724 GB, free: 9.203 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.2083, allocations: 227.3 kB / 0.7243 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-06/0.2083, allocations: 3.953 kB / 0.7243 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.2084, allocations: 4 kB / 0.7243 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.041e-05/0.2084, allocations: 7.969 kB / 0.7243 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.582e-05/0.2085, allocations: 7.984 kB / 0.7243 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.2085, allocations: 4 kB / 0.7243 GB, free: 8.938 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.915e-05/0.2085, allocations: 79.28 kB / 0.7244 GB, free: 8.859 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2085, allocations: 0 / 0.7244 GB, free: 8.859 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002709/0.2088, allocations: 39.86 kB / 0.7244 GB, free: 8.82 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.0006496/0.2094, allocations: 0.7827 MB / 0.7252 GB, free: 8.012 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.2096, allocations: 60.41 kB / 0.7252 GB, free: 7.953 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2096, allocations: 0 / 0.7252 GB, free: 7.953 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.386e-05/0.2096, allocations: 39.86 kB / 0.7253 GB, free: 7.914 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.2099, allocations: 4 kB / 0.7253 GB, free: 7.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.2114, allocations: 1.513 MB / 0.7267 GB, free: 6.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.597e-05/0.2115, allocations: 71.41 kB / 0.7268 GB, free: 6.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.784e-05/0.2115, allocations: 11.98 kB / 0.7268 GB, free: 6.219 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.2116, allocations: 19.44 kB / 0.7268 GB, free: 6.199 MB / 0.545 GB Notification: Performance of SimCode: time 4.3e-07/0.2116, allocations: 3.938 kB / 0.7268 GB, free: 6.195 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/0.2406, allocations: 2.571 MB / 0.7294 GB, free: 3.801 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.72, allocations: 12.8 kB / 0.7294 GB, free: 3.789 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.770410792902112] Failed to read output from testmodel.py, exit status != 0: 11.823348578996956 11.839965296 11.632919305 Calling exit ...