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.001278/0.001278, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001413/0.001413, allocations: 215.6 kB / 22.25 MB, free: 5.074 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.344/1.344, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 179] 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.002379/0.002379, allocations: 286 kB / 312.7 MB, free: 2.797 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.165/1.165, allocations: 180.6 MB / 0.5369 GB, free: 12.89 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.002823/0.002823, allocations: 106.9 kB / 0.7396 GB, free: 28.51 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1606, allocations: 95.38 MB / 0.8327 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00225/0.1628, allocations: 1.311 MB / 0.834 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1639, allocations: 0.6205 MB / 0.8346 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.572e-05/0.1639, allocations: 4 kB / 0.8346 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.497e-05/0.1639, allocations: 0 / 0.8346 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.917e-05/0.1639, allocations: 7.922 kB / 0.8346 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000508/0.1645, allocations: 147.4 kB / 0.8348 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.214e-05/0.1645, allocations: 27.92 kB / 0.8348 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.1646, allocations: 3.984 kB / 0.8348 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.299e-05/0.1646, allocations: 19.92 kB / 0.8348 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.565e-05/0.1646, allocations: 15.92 kB / 0.8348 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.1647, allocations: 4 kB / 0.8348 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004955/0.1652, allocations: 343.3 kB / 0.8352 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.1652, allocations: 15.92 kB / 0.8352 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.1652, allocations: 11.94 kB / 0.8352 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.1654, allocations: 159.7 kB / 0.8354 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1655, allocations: 0 / 0.8354 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1655, allocations: 0 / 0.8354 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.1655, allocations: 0 / 0.8354 GB, free: 5.961 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.0003833/0.1658, allocations: 290 kB / 0.8356 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1659, allocations: 12.75 kB / 0.8356 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.1659, allocations: 34.75 kB / 0.8357 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/0.1659, allocations: 4.891 kB / 0.8357 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.837e-05/0.166, allocations: 110.5 kB / 0.8358 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1661, allocations: 4.375 kB / 0.8358 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.1661, allocations: 8.312 kB / 0.8358 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.1662, allocations: 50.23 kB / 0.8358 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.1662, allocations: 7.938 kB / 0.8358 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.1662, allocations: 0 / 0.8358 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.1662, allocations: 3.938 kB / 0.8359 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.056e-05/0.1663, allocations: 23.98 kB / 0.8359 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.1664, allocations: 132.8 kB / 0.836 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.1665, allocations: 58.5 kB / 0.8361 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.07e-05/0.1666, allocations: 24.84 kB / 0.8361 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.1666, allocations: 240 / 0.8361 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.1666, allocations: 42.55 kB / 0.8361 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.1666, allocations: 4 kB / 0.8361 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001041/0.1677, allocations: 451.5 kB / 0.8366 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.1677, allocations: 51.41 kB / 0.8366 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.874e-05/0.1678, allocations: 97.86 kB / 0.8367 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.1678, allocations: 29.7 kB / 0.8367 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.394e-05/0.1678, allocations: 80.14 kB / 0.8368 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.1679, allocations: 43.62 kB / 0.8368 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.642e-05/0.1679, allocations: 33.7 kB / 0.8369 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.168, allocations: 314.8 kB / 0.8372 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.19e-05/0.1681, allocations: 19.98 kB / 0.8372 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.049e-05/0.1681, allocations: 24.73 kB / 0.8372 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.08e-05/0.1682, allocations: 58.05 kB / 0.8373 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1682, allocations: 4.094 kB / 0.8373 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001409/0.1684, allocations: 102.6 kB / 0.8374 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1684, allocations: 9.703 kB / 0.8374 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.1684, allocations: 0 / 0.8374 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1684, allocations: 0 / 0.8374 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.961e-05/0.1685, allocations: 20 kB / 0.8374 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1685, allocations: 3.938 kB / 0.8374 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.452e-05/0.1685, allocations: 4 kB / 0.8374 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.1685, allocations: 11.98 kB / 0.8374 GB, free: 3.594 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.137e-05/0.1686, allocations: 118.5 kB / 0.8375 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.1686, allocations: 7.891 kB / 0.8375 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.1688, allocations: 101.7 kB / 0.8376 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1688, allocations: 0 / 0.8376 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1688, allocations: 0 / 0.8376 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1688, allocations: 3.984 kB / 0.8376 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003772/0.1692, allocations: 321.8 kB / 0.838 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1692, allocations: 0 / 0.838 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.1693, allocations: 19.98 kB / 0.838 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1693, allocations: 8 kB / 0.838 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.1693, allocations: 3.938 kB / 0.838 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.1693, allocations: 3.938 kB / 0.838 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1693, allocations: 0 / 0.838 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.1696, allocations: 223.5 kB / 0.8382 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-06/0.1696, allocations: 3.953 kB / 0.8382 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.1696, allocations: 4.031 kB / 0.8382 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.557e-05/0.1697, allocations: 4 kB / 0.8382 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/0.1697, allocations: 12.05 kB / 0.8382 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1697, allocations: 4 kB / 0.8382 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.019e-05/0.1698, allocations: 83.22 kB / 0.8383 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1698, allocations: 0 / 0.8383 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002607/0.17, allocations: 35.86 kB / 0.8383 GB, free: 2.57 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.0006267/0.1706, allocations: 0.7865 MB / 0.8391 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001539/0.1708, allocations: 65.98 kB / 0.8392 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1708, allocations: 0 / 0.8392 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.71e-05/0.1708, allocations: 27.98 kB / 0.8392 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.1711, allocations: 8 kB / 0.8392 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.1726, allocations: 1.505 MB / 0.8407 GB, free: 80 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.173, allocations: 0.6885 MB / 0.8413 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.874e-05/0.173, allocations: 7.984 kB / 0.8414 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.173, allocations: 15.44 kB / 0.8414 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of SimCode: time 9.62e-07/0.173, allocations: 0 / 0.8414 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02879/0.2018, allocations: 2.229 MB / 0.8435 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/10.25, allocations: 12.33 kB / 0.8436 GB, free: 13.27 MB / 0.5919 GB " [Timeout remaining time 650] (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: 14.188964659999328] Failed to read output from testmodel.py, exit status != 0: 10.355947423999169 10.371559965 10.203049868 Calling exit ...