Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001215/0.001215, 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.001455/0.001455, allocations: 218.5 kB / 22.26 MB, free: 5.117 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.356/1.356, allocations: 230.6 MB / 256 MB, free: 8.035 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.002423/0.002423, allocations: 278.9 kB / 312.7 MB, free: 2.832 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.171/1.171, allocations: 180.6 MB / 0.5369 GB, free: 13.09 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_DerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",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.002786/0.002786, allocations: 101.7 kB / 0.7396 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1677, allocations: 95.39 MB / 0.8327 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002353/0.1701, allocations: 1.293 MB / 0.834 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.1711, allocations: 0.6204 MB / 0.8346 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.181e-05/0.1711, allocations: 0 / 0.8346 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.086e-05/0.1711, allocations: 3.984 kB / 0.8346 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.801e-05/0.1712, allocations: 3.938 kB / 0.8346 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005123/0.1717, allocations: 156.1 kB / 0.8348 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.978e-05/0.1717, allocations: 11.94 kB / 0.8348 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.1718, allocations: 11.98 kB / 0.8348 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.032e-05/0.1718, allocations: 11.94 kB / 0.8348 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.39e-05/0.1719, allocations: 0 / 0.8348 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.1719, allocations: 4 kB / 0.8348 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005106/0.1724, allocations: 347.3 kB / 0.8351 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.1724, allocations: 3.938 kB / 0.8351 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.1e-05/0.1724, allocations: 8 kB / 0.8351 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.1727, allocations: 159.8 kB / 0.8353 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1727, allocations: 0 / 0.8353 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1727, allocations: 0 / 0.8353 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.1727, allocations: 0 / 0.8353 GB, free: 6.004 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003906/0.1731, allocations: 282 kB / 0.8356 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.1731, allocations: 8.75 kB / 0.8356 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.476e-05/0.1731, allocations: 38.69 kB / 0.8356 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.811e-05/0.1732, allocations: 4.891 kB / 0.8356 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.1733, allocations: 110.5 kB / 0.8357 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.1733, allocations: 4.375 kB / 0.8357 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.1733, allocations: 8.312 kB / 0.8357 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.1734, allocations: 42.25 kB / 0.8358 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1734, allocations: 3.938 kB / 0.8358 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.1734, allocations: 0 / 0.8358 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1734, allocations: 0 / 0.8358 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.708e-05/0.1735, allocations: 8 kB / 0.8358 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.1736, allocations: 128.8 kB / 0.8359 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.1738, allocations: 46.55 kB / 0.8359 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.725e-05/0.1738, allocations: 20.94 kB / 0.836 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.1739, allocations: 0 / 0.836 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.1739, allocations: 30.56 kB / 0.836 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1739, allocations: 4 kB / 0.836 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0005798/0.1745, allocations: 241.4 kB / 0.8362 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.1745, allocations: 55.41 kB / 0.8363 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.435e-05/0.1746, allocations: 101.8 kB / 0.8364 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.1746, allocations: 25.7 kB / 0.8364 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.172e-05/0.1746, allocations: 80.14 kB / 0.8365 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.1747, allocations: 27.78 kB / 0.8365 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.1747, allocations: 21.7 kB / 0.8365 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1748, allocations: 314.8 kB / 0.8368 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.677e-05/0.1749, allocations: 8 kB / 0.8368 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.468e-05/0.1749, allocations: 19.98 kB / 0.8369 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.774e-05/0.1749, allocations: 32.8 kB / 0.8369 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1749, allocations: 0 / 0.8369 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001083/0.1751, allocations: 69.62 kB / 0.837 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1751, allocations: 4 kB / 0.837 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1751, allocations: 0 / 0.837 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1751, allocations: 0 / 0.837 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.329e-05/0.1751, allocations: 12 kB / 0.837 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1751, allocations: 3.984 kB / 0.837 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.1752, allocations: 0 / 0.837 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.1752, allocations: 0 / 0.837 GB, free: 4.059 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 (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.747e-05/0.1752, allocations: 126.4 kB / 0.8371 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.1753, allocations: 3.938 kB / 0.8371 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.1754, allocations: 77.64 kB / 0.8372 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1754, allocations: 0 / 0.8372 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.1754, allocations: 8.109 kB / 0.8372 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1754, allocations: 0 / 0.8372 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.1758, allocations: 286.4 kB / 0.8375 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1758, allocations: 8.031 kB / 0.8375 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.912e-05/0.1758, allocations: 12 kB / 0.8375 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1758, allocations: 0 / 0.8375 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1758, allocations: 4 kB / 0.8375 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1758, allocations: 0 / 0.8375 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1758, allocations: 3.938 kB / 0.8375 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.176, allocations: 176.3 kB / 0.8376 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.279e-05/0.1761, allocations: 16.03 kB / 0.8377 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.1761, allocations: 0 / 0.8377 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.218e-05/0.1761, allocations: 4 kB / 0.8377 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.936e-05/0.1762, allocations: 4 kB / 0.8377 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-06/0.1762, allocations: 4 kB / 0.8377 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.429e-05/0.1762, allocations: 79.27 kB / 0.8378 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1762, allocations: 0 / 0.8378 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002368/0.1765, allocations: 23.88 kB / 0.8378 GB, free: 3.148 MB / 0.5762 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.0005393/0.177, allocations: 0.7327 MB / 0.8385 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.1771, allocations: 35.92 kB / 0.8385 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1771, allocations: 0 / 0.8385 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.662e-05/0.1771, allocations: 12 kB / 0.8385 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.1773, allocations: 10.16 kB / 0.8385 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.1786, allocations: 1.328 MB / 0.8398 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.1789, allocations: 0.6847 MB / 0.8405 GB, free: 216 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.865e-05/0.179, allocations: 7.938 kB / 0.8405 GB, free: 208 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/0.179, allocations: 15.38 kB / 0.8405 GB, free: 192 kB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/0.179, allocations: 0 / 0.8405 GB, free: 192 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02864/0.2076, allocations: 1.727 MB / 0.8422 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.959/10.17, allocations: 9.875 kB / 0.8422 GB, free: 14.61 MB / 0.5919 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.08890778699788] Failed to read output from testmodel.py, exit status != 0: 10.264498356998956 10.279004552 10.103530135 Calling exit ...