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.001392/0.001392, 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.002/0.002, allocations: 212.3 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.801 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.002455/0.002455, allocations: 287.3 kB / 312.7 MB, free: 2.613 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.224/1.224, allocations: 180.6 MB / 0.5369 GB, free: 14.52 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.00288/0.00288, allocations: 101.8 kB / 0.7395 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.2006, allocations: 95.38 MB / 0.8326 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002438/0.203, allocations: 1.288 MB / 0.8339 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.2041, allocations: 0.5349 MB / 0.8344 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.985e-05/0.2041, allocations: 3.938 kB / 0.8344 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.929e-05/0.2041, allocations: 3.984 kB / 0.8344 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.772e-05/0.2042, allocations: 0 / 0.8344 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005611/0.2047, allocations: 162 kB / 0.8346 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.086e-05/0.2048, allocations: 23.86 kB / 0.8346 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.62e-05/0.2048, allocations: 7.938 kB / 0.8346 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.696e-05/0.2049, allocations: 4 kB / 0.8346 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.917e-05/0.2049, allocations: 7.938 kB / 0.8346 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.2049, allocations: 4 kB / 0.8346 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004806/0.2054, allocations: 271.5 kB / 0.8349 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.2054, allocations: 0 / 0.8349 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.2054, allocations: 15.91 kB / 0.8349 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.2057, allocations: 139.9 kB / 0.835 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2057, allocations: 0 / 0.835 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2057, allocations: 0 / 0.835 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2057, allocations: 3.938 kB / 0.835 GB, free: 5.844 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.0004332/0.2061, allocations: 282 kB / 0.8353 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.2062, allocations: 9.938 kB / 0.8353 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.229e-05/0.2062, allocations: 38.75 kB / 0.8354 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.2063, allocations: 4.891 kB / 0.8354 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.2064, allocations: 110.5 kB / 0.8355 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.2064, allocations: 384 / 0.8355 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.2064, allocations: 8.375 kB / 0.8355 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.2065, allocations: 67.95 kB / 0.8355 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.2065, allocations: 7.875 kB / 0.8356 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.2066, allocations: 0 / 0.8356 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.2066, allocations: 0 / 0.8356 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.924e-05/0.2066, allocations: 12 kB / 0.8356 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.2068, allocations: 124.8 kB / 0.8357 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.207, allocations: 46.61 kB / 0.8357 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.406e-05/0.207, allocations: 12.86 kB / 0.8357 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.207, allocations: 4 kB / 0.8357 GB, free: 5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.207, allocations: 42.58 kB / 0.8358 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.207, allocations: 0 / 0.8358 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0006025/0.2077, allocations: 245 kB / 0.836 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.2077, allocations: 51.41 kB / 0.8361 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.843e-05/0.2078, allocations: 97.84 kB / 0.8362 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.2078, allocations: 29.7 kB / 0.8362 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.861e-05/0.2078, allocations: 84.12 kB / 0.8363 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.2079, allocations: 19.8 kB / 0.8363 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.2079, allocations: 17.72 kB / 0.8363 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.2081, allocations: 322.8 kB / 0.8366 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.665e-05/0.2081, allocations: 12 kB / 0.8366 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.073e-05/0.2081, allocations: 8 kB / 0.8366 GB, free: 4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.269e-05/0.2082, allocations: 36.84 kB / 0.8367 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.2082, allocations: 3.938 kB / 0.8367 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000103/0.2083, allocations: 69.56 kB / 0.8367 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.2083, allocations: 4 kB / 0.8367 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2083, allocations: 0 / 0.8367 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.2083, allocations: 0 / 0.8367 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.18e-05/0.2084, allocations: 12 kB / 0.8368 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.2084, allocations: 0 / 0.8368 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.957e-05/0.2084, allocations: 4 kB / 0.8368 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.2084, allocations: 4 kB / 0.8368 GB, free: 3.859 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.969e-05/0.2085, allocations: 114.5 kB / 0.8369 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.2085, allocations: 7.938 kB / 0.8369 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.2086, allocations: 73.69 kB / 0.8369 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.2086, allocations: 0 / 0.8369 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2086, allocations: 0 / 0.8369 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2086, allocations: 0 / 0.8369 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.209, allocations: 294.4 kB / 0.8372 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.209, allocations: 4.125 kB / 0.8372 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.923e-05/0.2091, allocations: 12 kB / 0.8372 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2091, allocations: 4.031 kB / 0.8372 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.2091, allocations: 7.984 kB / 0.8373 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2091, allocations: 0 / 0.8373 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2091, allocations: 0 / 0.8373 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.2093, allocations: 180.3 kB / 0.8374 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.546e-05/0.2093, allocations: 12.02 kB / 0.8374 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.2094, allocations: 0 / 0.8374 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.626e-05/0.2094, allocations: 0 / 0.8374 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.2094, allocations: 7.984 kB / 0.8374 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.2094, allocations: 0 / 0.8374 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.15e-05/0.2095, allocations: 87.34 kB / 0.8375 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2095, allocations: 0 / 0.8375 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002345/0.2097, allocations: 23.88 kB / 0.8375 GB, free: 2.957 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.0005818/0.2103, allocations: 0.7327 MB / 0.8383 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.2104, allocations: 27.98 kB / 0.8383 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2104, allocations: 0 / 0.8383 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.204e-05/0.2105, allocations: 23.88 kB / 0.8383 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.2107, allocations: 4 kB / 0.8383 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.212, allocations: 1.332 MB / 0.8396 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.132e-05/0.212, allocations: 63.34 kB / 0.8397 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.082e-05/0.212, allocations: 12.09 kB / 0.8397 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/0.2121, allocations: 19.42 kB / 0.8397 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.2121, allocations: 0 / 0.8397 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.2418, allocations: 2.096 MB / 0.8418 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.05, allocations: 1.203 kB / 0.8418 GB, free: 14.68 MB / 0.5919 GB " [Timeout remaining time 649] (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: 15.34753640787676] Failed to read output from testmodel.py, exit status != 0: 11.149919752031565 11.17091096 10.960662473 Calling exit ...