Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001324/0.001324, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001548/0.001548, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.393/1.393, 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/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002501/0.002501, allocations: 287.5 kB / 312.7 MB, free: 2.699 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.166/1.166, allocations: 180.6 MB / 0.5369 GB, free: 14.54 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002808/0.002808, allocations: 107.3 kB / 0.7395 GB, free: 27.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1665, allocations: 95.38 MB / 0.8326 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002616/0.1691, allocations: 1.302 MB / 0.8339 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.1702, allocations: 0.5504 MB / 0.8345 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.557e-05/0.1702, allocations: 0 / 0.8345 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.902e-05/0.1702, allocations: 4 kB / 0.8345 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.634e-05/0.1703, allocations: 7.922 kB / 0.8345 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005636/0.1708, allocations: 151.4 kB / 0.8346 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.066e-05/0.1709, allocations: 27.92 kB / 0.8346 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.24e-05/0.171, allocations: 4 kB / 0.8346 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.713e-05/0.171, allocations: 7.984 kB / 0.8346 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.914e-05/0.1711, allocations: 15.92 kB / 0.8347 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.1711, allocations: 7.938 kB / 0.8347 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004243/0.1715, allocations: 275.5 kB / 0.8349 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.1715, allocations: 3.938 kB / 0.8349 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.1715, allocations: 8 kB / 0.8349 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.1718, allocations: 147.8 kB / 0.8351 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1718, allocations: 0 / 0.8351 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1718, allocations: 0 / 0.8351 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.1718, allocations: 0 / 0.8351 GB, free: 5.828 MB / 0.5762 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.0004287/0.1722, allocations: 297.9 kB / 0.8354 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1723, allocations: 12.75 kB / 0.8354 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.902e-05/0.1723, allocations: 30.75 kB / 0.8354 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.1724, allocations: 12.89 kB / 0.8354 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.1725, allocations: 110.5 kB / 0.8355 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1725, allocations: 4.375 kB / 0.8355 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.1725, allocations: 4.375 kB / 0.8355 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.1726, allocations: 105.6 kB / 0.8356 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1727, allocations: 3.938 kB / 0.8356 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.1727, allocations: 4 kB / 0.8356 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.1727, allocations: 0 / 0.8356 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.298e-05/0.1727, allocations: 23.92 kB / 0.8357 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.1729, allocations: 128.8 kB / 0.8358 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.173, allocations: 62.55 kB / 0.8358 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.772e-05/0.1731, allocations: 24.86 kB / 0.8359 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.1731, allocations: 240 / 0.8359 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.1731, allocations: 38.55 kB / 0.8359 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.1731, allocations: 0 / 0.8359 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001083/0.1742, allocations: 459.1 kB / 0.8363 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.1742, allocations: 51.41 kB / 0.8364 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.35e-05/0.1743, allocations: 101.8 kB / 0.8365 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.1743, allocations: 29.7 kB / 0.8365 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.1744, allocations: 84.14 kB / 0.8366 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.1744, allocations: 43.62 kB / 0.8366 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.1745, allocations: 25.72 kB / 0.8367 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1746, allocations: 318.8 kB / 0.837 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.241e-05/0.1747, allocations: 20 kB / 0.837 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.844e-05/0.1747, allocations: 27.98 kB / 0.837 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.857e-05/0.1748, allocations: 55.22 kB / 0.8371 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1748, allocations: 0 / 0.8371 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001567/0.175, allocations: 101.7 kB / 0.8372 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.175, allocations: 12 kB / 0.8372 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.175, allocations: 0 / 0.8372 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.175, allocations: 0 / 0.8372 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.1751, allocations: 19.98 kB / 0.8372 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1751, allocations: 3.938 kB / 0.8372 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.605e-05/0.1751, allocations: 8 kB / 0.8372 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.1751, allocations: 0 / 0.8372 GB, free: 3.395 MB / 0.5762 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.316e-05/0.1752, allocations: 114.5 kB / 0.8373 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.1752, allocations: 11.89 kB / 0.8373 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.1755, allocations: 109.7 kB / 0.8374 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.1755, allocations: 8 kB / 0.8374 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1755, allocations: 0 / 0.8374 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1755, allocations: 0 / 0.8374 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.1759, allocations: 321.5 kB / 0.8377 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1759, allocations: 0 / 0.8377 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.176, allocations: 16 kB / 0.8378 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.176, allocations: 3.984 kB / 0.8378 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.176, allocations: 4 kB / 0.8378 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.176, allocations: 0 / 0.8378 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.176, allocations: 0 / 0.8378 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.1763, allocations: 227.3 kB / 0.838 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.1763, allocations: 7.953 kB / 0.838 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.1763, allocations: 4 kB / 0.838 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.44e-05/0.1764, allocations: 8.016 kB / 0.838 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.1764, allocations: 4 kB / 0.838 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.1764, allocations: 3.984 kB / 0.838 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.215e-05/0.1765, allocations: 83.28 kB / 0.8381 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1765, allocations: 0 / 0.8381 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002598/0.1767, allocations: 35.88 kB / 0.8381 GB, free: 2.367 MB / 0.5762 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.0006454/0.1774, allocations: 0.7827 MB / 0.8389 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001487/0.1775, allocations: 58.39 kB / 0.8389 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1775, allocations: 0 / 0.8389 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.315e-05/0.1776, allocations: 39.86 kB / 0.839 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.1778, allocations: 7.688 kB / 0.839 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.1794, allocations: 1.498 MB / 0.8405 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.998e-05/0.1794, allocations: 79.33 kB / 0.8405 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.278e-05/0.1795, allocations: 11.94 kB / 0.8405 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.836e-05/0.1795, allocations: 23.42 kB / 0.8406 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of SimCode: time 4.1e-07/0.1795, allocations: 0 / 0.8406 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03239/0.2119, allocations: 2.563 MB / 0.8431 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.31, allocations: 9.984 kB / 0.8431 GB, free: 13.36 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.355123904068023] Failed to read output from testmodel.py, exit status != 0: 11.40759479207918 11.422901572 11.248143047 Calling exit ...