Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0009014/0.0009014, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009973/0.0009973, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9416/0.9416, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5555/0.5555, allocations: 114 MB / 373.9 MB, free: 8.723 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 0.5542 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.124e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001661/0.001682, allocations: 1.288 MB / 0.5554 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006755/0.002357, allocations: 0.5408 MB / 0.556 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.379e-05/0.002381, allocations: 4 kB / 0.556 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.802e-05/0.002399, allocations: 0 / 0.556 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.741e-05/0.002436, allocations: 0 / 0.556 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.002859, allocations: 155.2 kB / 0.5561 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.67e-05/0.002916, allocations: 19.92 kB / 0.5561 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.99e-05/0.002956, allocations: 0 / 0.5561 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.461e-05/0.003011, allocations: 19.92 kB / 0.5562 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.374e-05/0.003054, allocations: 4 kB / 0.5562 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.003068, allocations: 0 / 0.5562 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.003331, allocations: 279.3 kB / 0.5564 GB, free: 456 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.003348, allocations: 4 kB / 0.5564 GB, free: 452 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.767e-05/0.003366, allocations: 4 kB / 0.5564 GB, free: 448 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.003562, allocations: 151.5 kB / 0.5566 GB, free: 296 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.003565, allocations: 0 / 0.5566 GB, free: 296 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.213e-06/0.003566, allocations: 0 / 0.5566 GB, free: 296 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.003571, allocations: 0 / 0.5566 GB, free: 296 kB / 0.5105 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.0003673/0.003938, allocations: 286 kB / 0.5569 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.003983, allocations: 8.625 kB / 0.5569 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.232e-05/0.004015, allocations: 30.75 kB / 0.5569 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.004045, allocations: 16.89 kB / 0.5569 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.916e-05/0.004124, allocations: 105.7 kB / 0.557 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.004135, allocations: 4.375 kB / 0.557 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.004156, allocations: 4.312 kB / 0.557 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.004271, allocations: 71.7 kB / 0.5571 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.004278, allocations: 0 / 0.5571 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.004288, allocations: 0 / 0.5571 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.004293, allocations: 0 / 0.5571 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.957e-05/0.004333, allocations: 15.98 kB / 0.5571 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.004489, allocations: 132.6 kB / 0.5572 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.004687, allocations: 54.53 kB / 0.5573 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.479e-05/0.004722, allocations: 16.86 kB / 0.5573 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.004741, allocations: 0 / 0.5573 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.004765, allocations: 38.5 kB / 0.5573 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.004767, allocations: 0 / 0.5573 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0005775/0.005344, allocations: 225.6 kB / 0.5576 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.005381, allocations: 59.39 kB / 0.5576 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.005521, allocations: 97.84 kB / 0.5577 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.005532, allocations: 29.7 kB / 0.5577 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.299e-05/0.005555, allocations: 80.14 kB / 0.5578 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.005583, allocations: 27.78 kB / 0.5578 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.005613, allocations: 17.72 kB / 0.5579 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.102e-05/0.005694, allocations: 314.8 kB / 0.5582 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/0.005718, allocations: 15.98 kB / 0.5582 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.76e-05/0.005736, allocations: 11.94 kB / 0.5582 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.751e-05/0.005783, allocations: 37 kB / 0.5582 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.005784, allocations: 0 / 0.5582 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.304e-05/0.005857, allocations: 65.61 kB / 0.5583 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.005871, allocations: 8 kB / 0.5583 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.005876, allocations: 0 / 0.5583 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.005889, allocations: 0 / 0.5583 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.445e-05/0.005933, allocations: 15.98 kB / 0.5583 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.005939, allocations: 4 kB / 0.5583 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.195e-05/0.005951, allocations: 7.938 kB / 0.5583 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-06/0.005956, allocations: 0 / 0.5583 GB, free: 14.3 MB / 0.5261 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 5.541e-05/0.006012, allocations: 109.8 kB / 0.5584 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-06/0.006021, allocations: 7.938 kB / 0.5584 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.006136, allocations: 77.81 kB / 0.5585 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.006138, allocations: 4 kB / 0.5585 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.006142, allocations: 0 / 0.5585 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.006145, allocations: 0 / 0.5585 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.006414, allocations: 282.5 kB / 0.5588 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.006415, allocations: 0 / 0.5588 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.301e-05/0.006468, allocations: 15.98 kB / 0.5588 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.006471, allocations: 0 / 0.5588 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.006478, allocations: 7.875 kB / 0.5588 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.00648, allocations: 4 kB / 0.5588 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.006481, allocations: 0 / 0.5588 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.006627, allocations: 184.3 kB / 0.559 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.006648, allocations: 3.953 kB / 0.559 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.00666, allocations: 4 kB / 0.559 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.763e-05/0.006708, allocations: 8.094 kB / 0.559 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/0.006725, allocations: 7.984 kB / 0.559 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.006732, allocations: 0 / 0.559 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.712e-05/0.006759, allocations: 79.28 kB / 0.5591 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.006759, allocations: 0 / 0.5591 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001843/0.006943, allocations: 27.92 kB / 0.5591 GB, free: 13.4 MB / 0.5261 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.0004207/0.007364, allocations: 0.721 MB / 0.5598 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.68e-05/0.007461, allocations: 36.17 kB / 0.5598 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.007463, allocations: 0 / 0.5598 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.726e-05/0.00748, allocations: 20.05 kB / 0.5599 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.007662, allocations: 8.5 kB / 0.5599 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008604/0.008522, allocations: 1.306 MB / 0.5611 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.903e-05/0.008571, allocations: 63.41 kB / 0.5612 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.835e-05/0.008599, allocations: 12.3 kB / 0.5612 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.008632, allocations: 12.5 kB / 0.5612 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of SimCode: time 9.32e-07/0.008633, allocations: 0 / 0.5612 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0182/0.02683, allocations: 2.235 MB / 0.5634 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.359/7.386, allocations: 3.984 kB / 0.5634 GB, free: 9.059 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.04866172093898] Failed to read output from testmodel.py, exit status != 0: 7.4668322671204805 7.4799430319999995 7.473433575 Calling exit ...