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.001312/0.001312, 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.001438/0.001438, allocations: 217.6 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.408/1.408, allocations: 230.6 MB / 256 MB, free: 8.012 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.9061/0.9061, allocations: 145 MB / 457.4 MB, free: 15.54 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.002003/0.002003, allocations: 67.02 kB / 0.6332 GB, free: 7.312 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1736, allocations: 87.9 MB / 0.719 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002403/0.176, allocations: 1.301 MB / 0.7203 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.177, allocations: 0.6188 MB / 0.7209 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.689e-05/0.177, allocations: 4 kB / 0.7209 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.956e-05/0.1771, allocations: 3.938 kB / 0.7209 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.901e-05/0.1771, allocations: 11.91 kB / 0.7209 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005371/0.1776, allocations: 147.4 kB / 0.721 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.646e-05/0.1777, allocations: 27.92 kB / 0.7211 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.1777, allocations: 0 / 0.7211 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.136e-05/0.1778, allocations: 23.91 kB / 0.7211 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.922e-05/0.1778, allocations: 11.94 kB / 0.7211 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.1779, allocations: 3.938 kB / 0.7211 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005145/0.1784, allocations: 347.3 kB / 0.7214 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.134e-05/0.1784, allocations: 4 kB / 0.7214 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.682e-05/0.1784, allocations: 19.92 kB / 0.7215 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.1787, allocations: 151.5 kB / 0.7216 GB, free: 12.76 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1787, allocations: 4 kB / 0.7216 GB, free: 12.76 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1787, allocations: 0 / 0.7216 GB, free: 12.76 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.371e-06/0.1787, allocations: 0 / 0.7216 GB, free: 12.76 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.0004209/0.1791, allocations: 290 kB / 0.7219 GB, free: 12.44 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1791, allocations: 8.031 kB / 0.7219 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.035e-05/0.1792, allocations: 34.75 kB / 0.7219 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.1792, allocations: 12.88 kB / 0.7219 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.1793, allocations: 106.5 kB / 0.722 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.1793, allocations: 4.375 kB / 0.722 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.1794, allocations: 8.375 kB / 0.722 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.1795, allocations: 42.25 kB / 0.7221 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.1795, allocations: 11.88 kB / 0.7221 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1795, allocations: 7.938 kB / 0.7221 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1795, allocations: 0 / 0.7221 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.346e-05/0.1796, allocations: 23.97 kB / 0.7221 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.1797, allocations: 132.8 kB / 0.7223 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.1799, allocations: 62.55 kB / 0.7223 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.203e-05/0.1799, allocations: 24.86 kB / 0.7223 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.1799, allocations: 4.219 kB / 0.7223 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.18, allocations: 42.48 kB / 0.7224 GB, free: 11.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.18, allocations: 0 / 0.7224 GB, free: 11.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001082/0.181, allocations: 455.2 kB / 0.7228 GB, free: 11.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.1811, allocations: 55.39 kB / 0.7229 GB, free: 11.26 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.985e-05/0.1811, allocations: 93.86 kB / 0.723 GB, free: 11.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.1812, allocations: 29.7 kB / 0.723 GB, free: 11.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.694e-05/0.1812, allocations: 80.14 kB / 0.7231 GB, free: 11.04 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.536e-05/0.1813, allocations: 47.75 kB / 0.7231 GB, free: 10.99 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.1813, allocations: 25.72 kB / 0.7231 GB, free: 10.96 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.1814, allocations: 318.8 kB / 0.7234 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.429e-05/0.1815, allocations: 23.98 kB / 0.7235 GB, free: 10.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.01e-05/0.1815, allocations: 20.09 kB / 0.7235 GB, free: 10.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.667e-05/0.1816, allocations: 60.78 kB / 0.7235 GB, free: 10.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1816, allocations: 0 / 0.7235 GB, free: 10.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001628/0.1818, allocations: 104.1 kB / 0.7236 GB, free: 10.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1818, allocations: 4 kB / 0.7236 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1818, allocations: 4 kB / 0.7236 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.1818, allocations: 0 / 0.7236 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.1819, allocations: 23.98 kB / 0.7237 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1819, allocations: 0 / 0.7237 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.316e-05/0.182, allocations: 0 / 0.7237 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.182, allocations: 8 kB / 0.7237 GB, free: 10.39 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.059e-05/0.182, allocations: 113.8 kB / 0.7238 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.1821, allocations: 11.89 kB / 0.7238 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/0.1823, allocations: 113.6 kB / 0.7239 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1823, allocations: 0 / 0.7239 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1823, allocations: 0 / 0.7239 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1823, allocations: 0 / 0.7239 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/0.1827, allocations: 325.5 kB / 0.7242 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1827, allocations: 0 / 0.7242 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.1828, allocations: 23.92 kB / 0.7242 GB, free: 9.746 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1828, allocations: 0 / 0.7242 GB, free: 9.746 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.1828, allocations: 4 kB / 0.7242 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1828, allocations: 0 / 0.7242 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1828, allocations: 0 / 0.7242 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.1831, allocations: 223.4 kB / 0.7245 GB, free: 9.508 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.13e-05/0.1831, allocations: 7.938 kB / 0.7245 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.1831, allocations: 0 / 0.7245 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.231e-05/0.1832, allocations: 8 kB / 0.7245 GB, free: 9.492 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/0.1832, allocations: 11.92 kB / 0.7245 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-06/0.1832, allocations: 0 / 0.7245 GB, free: 9.48 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.319e-05/0.1833, allocations: 87.34 kB / 0.7246 GB, free: 9.395 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1833, allocations: 0 / 0.7246 GB, free: 9.395 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002629/0.1835, allocations: 31.88 kB / 0.7246 GB, free: 9.363 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.000628/0.1841, allocations: 0.7903 MB / 0.7254 GB, free: 8.547 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001501/0.1843, allocations: 59.91 kB / 0.7254 GB, free: 8.488 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1843, allocations: 4.156 kB / 0.7254 GB, free: 8.484 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.061e-05/0.1843, allocations: 32.47 kB / 0.7255 GB, free: 8.453 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.1846, allocations: 6.438 kB / 0.7255 GB, free: 8.449 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.1861, allocations: 1.508 MB / 0.7269 GB, free: 6.863 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.1864, allocations: 0.6884 MB / 0.7276 GB, free: 6.148 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.277e-05/0.1865, allocations: 12.06 kB / 0.7276 GB, free: 6.137 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.1865, allocations: 19.42 kB / 0.7276 GB, free: 6.117 MB / 0.545 GB Notification: Performance of SimCode: time 3.8e-07/0.1865, allocations: 0 / 0.7276 GB, free: 6.117 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03652/0.223, allocations: 2.228 MB / 0.7298 GB, free: 4.059 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.42, allocations: 3.797 kB / 0.7298 GB, free: 4.059 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.157041702001152] Failed to read output from testmodel.py, exit status != 0: 11.51951944800021 11.548122531 11.364288438 Calling exit ...