Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001335/0.001335, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001457/0.001457, allocations: 216 kB / 22.26 MB, free: 5.113 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.422/1.422, allocations: 230.6 MB / 256 MB, free: 8.004 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.9299/0.9299, allocations: 145 MB / 457.4 MB, free: 15.52 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_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.001987/0.001987, allocations: 62.41 kB / 0.6332 GB, free: 7.305 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1704, allocations: 87.89 MB / 0.719 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002458/0.1728, allocations: 1.293 MB / 0.7203 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.1739, allocations: 0.6149 MB / 0.7209 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.1739, allocations: 0 / 0.7209 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.919e-05/0.1739, allocations: 0 / 0.7209 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.259e-05/0.174, allocations: 7.938 kB / 0.7209 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005399/0.1745, allocations: 150 kB / 0.721 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.436e-05/0.1746, allocations: 19.92 kB / 0.721 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.1746, allocations: 0 / 0.721 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.361e-05/0.1747, allocations: 19.92 kB / 0.7211 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.645e-05/0.1747, allocations: 0 / 0.7211 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.1747, allocations: 7.938 kB / 0.7211 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005437/0.1753, allocations: 347.3 kB / 0.7214 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.1753, allocations: 7.938 kB / 0.7214 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.862e-05/0.1753, allocations: 0 / 0.7214 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.1756, allocations: 151.5 kB / 0.7215 GB, free: 12.81 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1756, allocations: 4 kB / 0.7215 GB, free: 12.81 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.265e-06/0.1756, allocations: 0 / 0.7215 GB, free: 12.81 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.1756, allocations: 0 / 0.7215 GB, free: 12.81 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.0004387/0.176, allocations: 286 kB / 0.7218 GB, free: 12.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.176, allocations: 8.031 kB / 0.7218 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.902e-05/0.1761, allocations: 38.69 kB / 0.7219 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.1761, allocations: 4.891 kB / 0.7219 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.1762, allocations: 106.5 kB / 0.722 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-06/0.1762, allocations: 384 / 0.722 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.1763, allocations: 4.375 kB / 0.722 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.1764, allocations: 46.19 kB / 0.722 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.1764, allocations: 3.938 kB / 0.722 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1764, allocations: 4 kB / 0.722 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1764, allocations: 0 / 0.722 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.929e-05/0.1764, allocations: 11.98 kB / 0.722 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000171/0.1766, allocations: 128.7 kB / 0.7222 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.1768, allocations: 42.56 kB / 0.7222 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.338e-05/0.1768, allocations: 20.86 kB / 0.7222 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.1768, allocations: 3.938 kB / 0.7222 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.1768, allocations: 38.64 kB / 0.7223 GB, free: 11.94 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.1769, allocations: 0 / 0.7223 GB, free: 11.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0005819/0.1774, allocations: 237.4 kB / 0.7225 GB, free: 11.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.1775, allocations: 51.41 kB / 0.7225 GB, free: 11.61 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.851e-05/0.1775, allocations: 97.86 kB / 0.7226 GB, free: 11.51 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.1776, allocations: 29.7 kB / 0.7227 GB, free: 11.47 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.1776, allocations: 88.12 kB / 0.7227 GB, free: 11.38 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.1776, allocations: 23.78 kB / 0.7228 GB, free: 11.36 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.1777, allocations: 21.72 kB / 0.7228 GB, free: 11.33 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1778, allocations: 314.8 kB / 0.7231 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.911e-05/0.1779, allocations: 12.06 kB / 0.7231 GB, free: 11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.296e-05/0.1779, allocations: 11.98 kB / 0.7231 GB, free: 10.99 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.384e-05/0.1779, allocations: 44.78 kB / 0.7232 GB, free: 10.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.178, allocations: 0 / 0.7232 GB, free: 10.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000112/0.1781, allocations: 65.62 kB / 0.7232 GB, free: 10.88 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1781, allocations: 5.875 kB / 0.7232 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1781, allocations: 0 / 0.7232 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1781, allocations: 0 / 0.7232 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.59e-05/0.1781, allocations: 16 kB / 0.7232 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.1782, allocations: 0 / 0.7232 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.742e-05/0.1782, allocations: 0 / 0.7232 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.1782, allocations: 4 kB / 0.7232 GB, free: 10.85 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 7.678e-05/0.1783, allocations: 121.7 kB / 0.7234 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.1783, allocations: 11.92 kB / 0.7234 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.1784, allocations: 69.7 kB / 0.7234 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1784, allocations: 0 / 0.7234 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1784, allocations: 0 / 0.7234 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1784, allocations: 0 / 0.7234 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/0.1788, allocations: 286.4 kB / 0.7237 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1788, allocations: 4 kB / 0.7237 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.364e-05/0.1788, allocations: 16.02 kB / 0.7237 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.1788, allocations: 0 / 0.7237 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.1788, allocations: 11.94 kB / 0.7237 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1788, allocations: 0 / 0.7237 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1788, allocations: 0 / 0.7237 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.179, allocations: 176.5 kB / 0.7239 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.468e-05/0.1791, allocations: 15.98 kB / 0.7239 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.1791, allocations: 4.062 kB / 0.7239 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.861e-05/0.1791, allocations: 4 kB / 0.7239 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.798e-05/0.1792, allocations: 3.984 kB / 0.7239 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.1792, allocations: 8 kB / 0.7239 GB, free: 10.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.871e-05/0.1792, allocations: 79.28 kB / 0.724 GB, free: 9.965 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1792, allocations: 0 / 0.724 GB, free: 9.965 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002447/0.1795, allocations: 19.92 kB / 0.724 GB, free: 9.945 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0005544/0.18, allocations: 0.7366 MB / 0.7248 GB, free: 9.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.1801, allocations: 23.98 kB / 0.7248 GB, free: 9.156 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1801, allocations: 0 / 0.7248 GB, free: 9.156 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.008e-05/0.1802, allocations: 23.92 kB / 0.7248 GB, free: 9.133 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.1804, allocations: 10.23 kB / 0.7248 GB, free: 9.125 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.1817, allocations: 1.328 MB / 0.7261 GB, free: 7.715 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.182, allocations: 0.6768 MB / 0.7268 GB, free: 7.012 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.103e-05/0.182, allocations: 12.09 kB / 0.7268 GB, free: 7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.1821, allocations: 19.38 kB / 0.7268 GB, free: 6.98 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/0.1821, allocations: 0 / 0.7268 GB, free: 6.98 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0286/0.2107, allocations: 1.721 MB / 0.7285 GB, free: 5.422 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.06, allocations: 15.84 kB / 0.7285 GB, free: 5.41 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_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_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.844435186001647] Failed to read output from testmodel.py, exit status != 0: 11.190876087002835 11.218469633 11.037874845 Calling exit ...