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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 107.4 kB / 16.4 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001707/0.001706, allocations: 191.7 kB / 19.35 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.8967/0.8967, allocations: 143.3 MB / 440.5 MB, free: 11.26 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 71.89 kB / 0.6038 GB, free: 11.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1684, allocations: 82.03 MB / 0.6839 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00262/0.1711, allocations: 1.284 MB / 0.6852 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.1722, allocations: 0.6191 MB / 0.6858 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.1723, allocations: 0 / 0.6858 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.091e-05/0.1723, allocations: 0 / 0.6858 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.668e-05/0.1724, allocations: 3.938 kB / 0.6858 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005899/0.173, allocations: 155.4 kB / 0.6859 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.592e-05/0.1731, allocations: 23.92 kB / 0.686 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.12e-05/0.1731, allocations: 7.984 kB / 0.686 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.71e-05/0.1731, allocations: 11.94 kB / 0.686 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.874e-05/0.1732, allocations: 7.984 kB / 0.686 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.1732, allocations: 4 kB / 0.686 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005586/0.1738, allocations: 347.3 kB / 0.6863 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.79e-05/0.1738, allocations: 7.938 kB / 0.6863 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.018e-05/0.1739, allocations: 19.92 kB / 0.6863 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.1741, allocations: 155.7 kB / 0.6865 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1742, allocations: 0 / 0.6865 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1742, allocations: 0 / 0.6865 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.1742, allocations: 0 / 0.6865 GB, free: 7.074 MB / 0.5137 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.0004853/0.1747, allocations: 371.1 kB / 0.6868 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1747, allocations: 12.03 kB / 0.6869 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.194e-05/0.1748, allocations: 30.75 kB / 0.6869 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.1748, allocations: 4.938 kB / 0.6869 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.1749, allocations: 176.3 kB / 0.6871 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.175, allocations: 384 / 0.6871 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.175, allocations: 8.375 kB / 0.6871 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.1751, allocations: 54.17 kB / 0.6871 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.1752, allocations: 3.938 kB / 0.6871 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.1752, allocations: 7.938 kB / 0.6871 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1752, allocations: 0 / 0.6871 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.67e-05/0.1753, allocations: 19.98 kB / 0.6872 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001907/0.1755, allocations: 165.7 kB / 0.6873 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.1756, allocations: 58.56 kB / 0.6874 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.845e-05/0.1756, allocations: 32.78 kB / 0.6874 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.1757, allocations: 4 kB / 0.6874 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.1757, allocations: 34.55 kB / 0.6874 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1757, allocations: 0 / 0.6874 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001226/0.1769, allocations: 0.5954 MB / 0.688 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.177, allocations: 55.41 kB / 0.6881 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.518e-05/0.1771, allocations: 89.86 kB / 0.6882 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.1771, allocations: 33.7 kB / 0.6882 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.1771, allocations: 80.14 kB / 0.6883 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.1772, allocations: 35.81 kB / 0.6883 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.1772, allocations: 37.7 kB / 0.6883 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1774, allocations: 314.8 kB / 0.6886 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.498e-05/0.1774, allocations: 19.98 kB / 0.6887 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.061e-05/0.1775, allocations: 24 kB / 0.6887 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.1776, allocations: 71.22 kB / 0.6887 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1776, allocations: 0 / 0.6887 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001598/0.1778, allocations: 97.58 kB / 0.6888 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1778, allocations: 4 kB / 0.6888 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1778, allocations: 8 kB / 0.6888 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1778, allocations: 0 / 0.6888 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1779, allocations: 19.98 kB / 0.6889 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.1779, allocations: 0 / 0.6889 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.551e-05/0.178, allocations: 4 kB / 0.6889 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.178, allocations: 4 kB / 0.6889 GB, free: 4.316 MB / 0.5137 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.629e-05/0.1781, allocations: 117.8 kB / 0.689 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/0.1781, allocations: 7.938 kB / 0.689 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.1783, allocations: 109.7 kB / 0.6891 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.1784, allocations: 8 kB / 0.6891 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.1784, allocations: 0 / 0.6891 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1784, allocations: 3.938 kB / 0.6891 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.1788, allocations: 354.5 kB / 0.6894 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1788, allocations: 0 / 0.6894 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.179, allocations: 23.98 kB / 0.6895 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.179, allocations: 0 / 0.6895 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.179, allocations: 0 / 0.6895 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1791, allocations: 0 / 0.6895 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.1791, allocations: 4 kB / 0.6895 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.1794, allocations: 227.3 kB / 0.6897 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.1794, allocations: 77.11 kB / 0.6898 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.1794, allocations: 4.031 kB / 0.6898 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.765e-05/0.1795, allocations: 4 kB / 0.6898 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.911e-05/0.1795, allocations: 7.984 kB / 0.6898 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.1796, allocations: 4 kB / 0.6898 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.58e-05/0.1796, allocations: 79.34 kB / 0.6899 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1796, allocations: 0 / 0.6899 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002751/0.1799, allocations: 35.88 kB / 0.6899 GB, free: 3.164 MB / 0.5137 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.0008045/0.1807, allocations: 0.7864 MB / 0.6907 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001783/0.1809, allocations: 67.91 kB / 0.6907 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1809, allocations: 4.156 kB / 0.6907 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.112e-05/0.181, allocations: 31.98 kB / 0.6908 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.1812, allocations: 8 kB / 0.6908 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.1829, allocations: 1.509 MB / 0.6922 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.1833, allocations: 0.6807 MB / 0.6929 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.11e-05/0.1834, allocations: 16 kB / 0.6929 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.1834, allocations: 19.42 kB / 0.6929 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of SimCode: time 8.22e-07/0.1834, allocations: 0 / 0.6929 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02775/0.2112, allocations: 2.093 MB / 0.695 GB, free: 14 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.167/8.378, allocations: 11.86 kB / 0.695 GB, free: 14 MB / 0.5294 GB " [Timeout remaining time 652] (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: 11.964332908042707] Failed to read output from testmodel.py, exit status != 0: 8.443328913999721 8.458532383 8.28110467 Calling exit ...